维多利亚3
ParaWikis
502 Bad Gateway
502 Bad Gateway
openresty
最近更改
随机页面
加入QQ群
工具
链入页面
相关更改
特殊页面
页面信息
页面值
×
欢迎访问维多利亚3百科!
注册一个账号
,一起参与编写吧!这里是
当前的工程
。
全站已采用新UI,任何使用上的问题请点击
这里
。欢迎所有对百科感兴趣的同学加入QQ群:
497888338
。
阅读
查看源代码
查看历史
讨论
查看“Module:Iconify/doc”的源代码
←
Module:Iconify/doc
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
<includeonly>{{lua|Module:Arguments}}Documentation [[Module:Iconify/doc]]</includeonly> This module is similar to {{template|Iconify}} but for modules. == Parameters == {| class="wikitable" ! Parameter !! Description !! Required !! Default |- | icon || Text/main file name || '''required''' || ''none'' |- | group || image/file "group"/prefix || optional || ''none'' |- | width || Width of the icon * If preceded by an 'x', sets height instead of width | optional || ''24px'' |- | text || modifies text output if used: * link: adds hyperlink to text * nosp: removes space between icon and text * ''any other'': removes text, i.e. icon only | optional || ''none'' |- | mod | modifier text between icon and output text * Do not combine with <code>nosp</code> in <code>text</code> | optional || ''none'' |- | image || alternate image file definition || optional || ''group icon.png'' |- | link || alternate link || optional || ''icon'' |} Notes <code>icon</code> is made lowercase, changes dashes - to underscores _, and removes any single quotes/apostrophes ' for the file name, however those changes are not made for the text or link usage. <code>group</code> is used exactly as typed, however the first character counts as capitalized even if lowercase, as with all wiki files and pages, e.g. Method and method are considered the same. == Usage == <code>iconify(icon="Poor Laws",group="Law")</code> gives {{Iconify|Poor Laws|Law}} <code>iconify(icon="University",group="Building",width="36px",text="0")</code> gives {{iconify|University|Building||36px|0}} <code><nowiki>iconify(icon="Morale",group="Military",mod="{{green|+10%}}")</nowiki></code> gives {{iconify|Morale|Military|mod={{green|+10%}}}} <noinclude>[[Category:Module documentation]]</noinclude><includeonly>[[Category:Modules]]</includeonly>
本页使用的模板:
Template:Green
(
查看源代码
)
Template:Iconify
(
查看源代码
)
Template:Template
(
查看源代码
)
Template:Tlx
(
查看源代码
)
Template:绿字
(
查看源代码
)
返回
Module:Iconify/doc
。
×
登录
密码
记住登录
加入维多利亚3百科
忘记密码?
其他方式登录