模板:Resize/doc
外觀
箇係 {{Resize}} 模板嗰說明文件頁面。 箇隻文件不係為直接瀏覽寫正嗰。要係佢用哩跨維基計畫連結嗰話,有滴子連結可能會顯示損毀。莫搦箇滴子連結替換為硬编码嗰頁面名稱或網址。 |
Template to aid switching the font-size used for a text string.
- Syntax
{{resize|N|text}}
or {{resize|text}}
N specifies a size, such as "90%", "1.2em", etc. For the default case (the second above), N is set to "90%".
- Examples
{{resize|1.2em|This text is 0.2em larger than normal}}
|
This text is 0.2em larger than normal |
{{resize|80%|This text is 80% normal size}}
|
This text is 80% normal size |
{{resize|This text defaults to 90% normal size}}
|
This text defaults to 90% normal size |
Alternate
[編寫源代碼]{{smaller|Text}} = {{resize|Text}} (i.e. Text will appear at 90% normal size.)