跳至內容

模板:Xx-smaller block

維基文庫,自由的圖書館

{{{1}}}

文件圖示 模板文件[檢視] [編輯] [歷史] [清除快取]

Usage

[編輯]

General form

[編輯]

This template renders one or more blocks of text in the respective smaller or larger font.

e.g. {{Xx-smaller block|{{lorem ipsum}}}} yields

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo.

To modify the size of a few words within a block of text, use the appropriate inline template (<span>)—this will modify the span without breaking up the text, and without interfering in block-level properties like line spacing.


See also

[編輯]
字體大小模板
模板 Block模板 大小 示例
{{xx-smaller}} {{xx-smaller block}} 58% 維基文庫
{{x-smaller}} {{x-smaller block}} 69% 維基文庫
{{small}} small 維基文庫
{{smaller}} {{smaller block}} 83% 維基文庫
{{fine}} {{fine block}} 92% Template:Fine
100% 維基文庫
{{larger}} {{larger block}} 120% 維基文庫
{{big}} 120% 維基文庫
{{++}} 120% 維基文庫
{{large}} large 維基文庫
{{x-larger}} {{x-larger block}} 144% 維基文庫
{{huge}} 180% 維基文庫
{{xx-larger}} {{xx-larger block}} 182% 維基文庫
{{xxx-larger}} {{xxx-larger block}} 207% 維基文庫
{{xxxx-larger}} {{xxxx-larger block}} 249% 維基文庫
{{font-size}}
{{font-size-x}}
{{font|size=}}