テンプレート:Iconify/doc

提供:ck3wiki
< テンプレート:Iconify
2020年10月20日 (火) 15:47時点におけるMishary (トーク | 投稿記録)による版 (ページの作成:「<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS L…」)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
ナビゲーションに移動 検索に移動
This is the documentation page for テンプレート:Iconify.
When it is viewed directly, links using variables may appear broken; do not replace these with hardcoded page names or URLs.

This template can be used to add icons as generated by Template:Icon in front of words.

Use this template to standardise the order of elements in bonuses. It also suppresses alt text for improved accessibility.

Parameters

Parameter Description Required Default
1 The icon to use. For a list of icons see Template:Icon. required none
2 Width of the icon optional 24px
3 Quantity to add between the icon and text optional none
4 Name of template to apply to quantity (e.g. {{green}}) optional none
5
or text
Text to display optional same as first parameter

Examples

Wiki text Produces
{{iconify|Ambitious}}  Ambitious
{{iconify|Ambitious|36px}}  Ambitious
{{iconify|intrigue||+4}}  +4 intrigue
{{iconify|intrigue||−4|red}}  −4 intrigue
{{iconify|prestige||+1|green|monthly prestige}}  +1 monthly prestige

List of available icons

メイン記事へ: Template:Icon#List of available icons