模板:Encourage檢視原始碼檢視歷史
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
語法
{{Encourage |title = |stripe = |bgcolor = |stripecolor = |fontcolor = |align = |link = }} |
荣誉名称(必须填写) 直条数量(0或1或2) 背景颜色(默认为金色) 直条颜色(默认为红色) 字体颜色(默认为黑色) 对齐方式(默认为右侧) 分类链接(默认为荣誉名称) |
使用方法
在榮譽模板中加入以下編碼:
{{Encourage |title = 維基執行編輯 |stripe = 1 }}
即可得出右面的樣式:
維基執行編輯 |
{{Encourage |title = 维基执行主编 |stripe = 2 |bgcolor = silver |stripecolor = gold |fontcolor = red |align = left }}
可以得到如下樣式:
維基執行主編 |
The above documentation is transcluded from Template:Encourage/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |