(→可用的图标) |
|||
(未显示2个用户的15个中间版本) | |||
第3行: | 第3行: | ||
This template can be used for embedding icons in the EU4 wiki, thus making them more colorful, easy to read and standardized. The available icons link to the concept they represent. | This template can be used for embedding icons in the EU4 wiki, thus making them more colorful, easy to read and standardized. The available icons link to the concept they represent. | ||
<div class="toclimit-2">__TOC__</div> | <div class="toclimit-2">__TOC__</div> | ||
== | == 参数 == | ||
;1 | ;1 | ||
: | : 第一个参数是必须的,表明这个图标的内容 | ||
;2 | ;2 | ||
: | : 第二个参数是图标的尺寸,预设值是 28px | ||
== | == 用法 == | ||
; | ; 格式: | ||
:<code><nowiki>{{icon| | :<code><nowiki>{{icon| 识别符}}</nowiki>}</code> or <code><nowiki>{{icon| 识别符| 尺寸}}</nowiki></code> | ||
输入识别符显示对应图标,一切可用识别符可在下表中查阅。 | |||
规范: | |||
图标应插入在表述事物之前,而不是之后。 | |||
无论与中/英文并列使用均需要在前后分别空出一个半角空格。但遇到前一个字符是中文符号或是一行开始时无需在前,只需在后空出一个半角空格。 | |||
;举例: | |||
:<code><nowiki>{{icon|soi}}</nowiki>}</code>将会得到{{icon|soi}}. | |||
== 改善模版 == | |||
该模版为高流量模版,且大幅影响百科显示效果,故已进行保护。若您对该模版有任何意见或建议请在[[{{TALKSPACE}}:{{PAGENAME}}|讨论页面]]提出。 | |||
== 可用的图标 == | |||
{| class="toccolours" | {| class="toccolours" | ||
! text-align="center" | Contents | ! text-align="center" | Contents | ||
|- | |- | ||
| | | | ||
[[#Miscellaneous|4.1 | [[#Miscellaneous|4.1 杂项]]<br> | ||
[[#Expansions|4.2 | [[#Expansions|4.2 拓展包]]<br> | ||
[[#Units|4.3 Units]]<br> | [[#Units|4.3 单位]]<br> | ||
[[#Units|4.4 中文wiki补充]]<br> | |||
|} | |} | ||
=== | === 杂项 === | ||
<div style="width:250px; float:left; margin-right: 10px;"> | <div style="width:250px; float:left; margin-right: 10px;"> | ||
{|class="wikitable" width=250px | {|class="wikitable" width=250px | ||
!colspan=2| | !colspan=2| 杂项 | ||
|- | |- | ||
| yes || width=30px | {{icon|yes}} | | yes || width=30px | {{icon|yes}} | ||
第48行: | 第53行: | ||
{{clear}} | {{clear}} | ||
=== | === 拓展包 === | ||
{{box wrapper}} | {{box wrapper}} | ||
{| class="wikitable" style="width:250px; margin-right:1em" | {| class="wikitable" style="width:250px; margin-right:1em" | ||
! colspan=2 | | ! colspan=2 | 拓展包 | ||
|- | |- | ||
| ck2 || width=30px | {{icon|ck2}} | | ck2 || width=30px | {{icon|ck2}} | ||
第71行: | 第76行: | ||
{| class="wikitable" style="width:250px; margin-right:1em" | {| class="wikitable" style="width:250px; margin-right:1em" | ||
! colspan=2 | | ! colspan=2 | 拓展包 | ||
|- | |- | ||
| cm || width=30px | {{icon|cm}} | | cm || width=30px | {{icon|cm}} | ||
第91行: | 第96行: | ||
{{end box wrapper}} | {{end box wrapper}} | ||
=== | === 单位 === | ||
{{box wrapper}} | {{box wrapper}} | ||
{|class="wikitable" style="width:250px; margin-right:1em" | {|class="wikitable" style="width:250px; margin-right:1em" | ||
!colspan=2| | !colspan=2| 单位 | ||
|- | |- | ||
| archer, archers || width=30px | {{icon|archers}} | | archer, archers 弓箭手 || width=30px | {{icon|archers}} | ||
|- | |- | ||
| camel cav, camel cavalry || {{icon|camel cavalry}} | | camel cav, camel cavalry 骆驼兵|| {{icon|camel cavalry}} | ||
|- | |- | ||
| heavy cav, heavy cavalry || {{icon|heavy cavalry}} | | heavy cav, heavy cavalry 重骑兵|| {{icon|heavy cavalry}} | ||
|- | |- | ||
| heavy inf, heavy infantry || {{icon|heavy infantry}} | | heavy inf, heavy infantry 重步兵|| {{icon|heavy infantry}} | ||
|- | |- | ||
| horse archer, horse archers || {{icon|horse archers}} | | horse archer, horse archers 弓骑兵|| {{icon|horse archers}} | ||
|- | |- | ||
| light cav, light cavalry || {{icon|light cavalry}} | | light cav, light cavalry 轻骑兵|| {{icon|light cavalry}} | ||
|- | |- | ||
| light inf, light infantry || {{icon|light infantry}} | | light inf, light infantry 轻步兵|| {{icon|light infantry}} | ||
|- | |- | ||
| pikemen || {{icon|pikemen}} | | pikemen 长枪兵|| {{icon|pikemen}} | ||
|- | |- | ||
| ship, ships || {{icon|ships}} | | ship, ships 船 运输船|| {{icon|ships}} | ||
|- | |- | ||
| war elephant, war elephants || {{icon|war elephants}} | | war elephant, war elephants 战象|| {{icon|war elephants}} | ||
|} | |} | ||
第175行: | 第180行: | ||
|- | |- | ||
| gold || {{icon|gold}} | | gold || {{icon|gold}} | ||
|- | |||
| piety || {{icon|piety}} | |||
|- | |||
| prestige || {{icon|prestige}} | |||
|} | |} | ||
{{end box wrapper}} | {{end box wrapper}} | ||
2020年5月14日 (四) 22:54的最新版本
This template can be used for embedding icons in the EU4 wiki, thus making them more colorful, easy to read and standardized. The available icons link to the concept they represent.
参数
- 1
- 第一个参数是必须的,表明这个图标的内容
- 2
- 第二个参数是图标的尺寸,预设值是 28px
用法
- 格式:
{{icon|识别符}}}
or{{icon|识别符|尺寸}}
输入识别符显示对应图标,一切可用识别符可在下表中查阅。
规范: 图标应插入在表述事物之前,而不是之后。 无论与中/英文并列使用均需要在前后分别空出一个半角空格。但遇到前一个字符是中文符号或是一行开始时无需在前,只需在后空出一个半角空格。
改善模版
该模版为高流量模版,且大幅影响百科显示效果,故已进行保护。若您对该模版有任何意见或建议请在讨论页面提出。
可用的图标
Contents |
---|