维多利亚3
ParaWikis
502 Bad Gateway
502 Bad Gateway
openresty
最近更改
随机页面
加入QQ群
工具
链入页面
相关更改
特殊页面
页面信息
页面值
×
欢迎访问维多利亚3百科!
注册一个账号
,一起参与编写吧!这里是
当前的工程
。
全站已采用新UI,任何使用上的问题请点击
这里
。欢迎所有对百科感兴趣的同学加入QQ群:
497888338
。
阅读
查看源代码
查看历史
讨论
查看“Template:Decree/doc”的源代码
←
Template:Decree/doc
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> __NOTOC__ '''Decree''' can be used to create info tooltips or table rows for each decree. == Parameters == {| class="wikitable" ! Parameter !! Description !! Required !! Default |- | 1 || English localized decree name || '''Required''' || ''none'' |- | index | Tooltip index, for tooltip-in-a-tooltip use * 1, 2, or 3 * Set to nothing to prevent tooltip | ''Optional'' || ''1'' |- | table | Formats output as a table row instead of tooltip, if set to anything | ''Optional'' || ''none'' |} Parameter 1 must be the proper English localized name of the decree: {| class=wikitable |- | Emergency Relief | Greener Grass Campaign |- | Encourage Agricultural Industry | Promote National Values |- | Encourage Manufacturing Industry | Promote Social Mobility |- | Encourage Resource Industry | Road Maintenance |- | Enlistment Efforts | Violent Suppression |} == Tooltip usage == This template can be used in paragraphs by wrapping the paragraph in a <nowiki><div></div></nowiki> or <nowiki><span></span></nowiki> tag, otherwise it breaks the paragraph layout. It can be used in wiki lists or table cells without issue otherwise. == Table usage == This template outputs into the following table format. The template should be put in the first column and it generates the remaining columns for its row. {| class = "mildtable plainlist sortable" ! width="30%"| Name !! Required technology !! Conditions !! Modifiers |- | <code>Template goes here</code> |} Each decree in the table requires its own use of the template in a new row. == Examples == <code><nowiki>{{Decree|Enlistment Efforts}}</nowiki></code> results in <div>{{Decree|Enlistment Efforts}}</div> Note the line break; wrapping the paragraph in <nowiki><span></span></nowiki> results in: <div><code><nowiki>{{Decree|Enlistment Efforts}}</nowiki></code> results in {{Decree|Enlistment Efforts}}</div> Setting the index to nothing prevents a tooltip and sets just a basic icon display: <code><nowiki>{{Decree|Enlistment Efforts|index=}}</nowiki></code> results in {{Decree|Enlistment Efforts|index=}} Table usage appears as follows {| class = "mildtable plainlist sortable" ! width="30%"| Name !! Required technology !! Conditions !! Modifiers |- | <code><nowiki>{{Decree|Enlistment Efforts|table=1}}</nowiki></code> results in |- | {{Decree|Enlistment Efforts|table=1}} |}
本页使用的模板:
Template:Decree
(
查看源代码
)
Template:Template doc page viewed directly
(
查看源代码
)
返回
Template:Decree/doc
。
×
登录
密码
记住登录
加入维多利亚3百科
忘记密码?
其他方式登录