1行目:
1行目:
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
−
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.
+
このテンプレートを使用して、[[Template:Icon]]で生成されたアイコンを単語の前に追加できます。
−
== Parameters ==
+
このテンプレートを使用して、ボーナス要素の順序を標準化します。また、代替(Alt)テキストを非表示にして、アクセシビリティを向上させます。
+
+
== パラメーター ==
{| class="wikitable"
{| class="wikitable"
−
! Parameter
+
! パラメーター
−
! Description
+
! 説明
−
! Required
+
! 必要性
−
! Default
+
! デフォルト値
|-
|-
−
| 1 || The icon to use. For a list of icons see [[Template:Icon]]. || '''required''' || none
+
| 1 || 使用するアイコン。アイコンの一覧は[[Template:Icon]]を参照のこと。 || '''必須''' || なし
|-
|-
−
| 2 || Width of the icon || optional || 24px
+
| 2 || アイコン幅 || なくても良い || 24px
|-
|-
−
| 3 || Quantity to add between the icon and text || optional || none
+
| 3 || アイコンとテキストの間に追加する数量 || なくても良い|| なし
|-
|-
−
| 4 || Name of template to apply to quantity (e.g. {{[[Template:Green|green]]}}) || optional || none
+
| 4 || 数量に適用するテンプレートの名前(例:{{[[Template:Green|green]]}}) || なくても良い|| なし
|-
|-
−
| 5<br>''or'' text || Text to display || optional || same as first parameter
+
| 5<br>「もしくは」テキスト || 表示させるテキスト || なくても良い || はじめのパラメータと同じ
|}
|}
−
== Examples ==
+
== 例 ==
{| class="wikitable"
{| class="wikitable"
−
! Wiki text
+
! ウィキテキスト
−
! Produces
+
! 生成結果
|-
|-
| <code><nowiki>{{iconify|Ambitious}}</nowiki></code> || {{iconify|Ambitious}}
| <code><nowiki>{{iconify|Ambitious}}</nowiki></code> || {{iconify|Ambitious}}
37行目:
38行目:
| <code><nowiki>{{iconify|intrigue||−4|red}}</nowiki></code> || {{iconify|intrigue||−4|red}}
| <code><nowiki>{{iconify|intrigue||−4|red}}</nowiki></code> || {{iconify|intrigue||−4|red}}
|-
|-
−
| <code><nowiki>{{iconify|prestige||+1|green|monthly prestige}}</nowiki></code> || {{iconify|prestige||+1|green|monthly prestige}}
+
| <code><nowiki>{{iconify|prestige||+1|green|月々の威信}}</nowiki></code> || {{iconify|prestige||+1|green|月々の威信}}
|}
|}
−
== List of available icons ==
+
== 使用可能なアイコン一覧 ==
{{main|Template:Icon#List of available icons}}
{{main|Template:Icon#List of available icons}}