版本差异对比:Template:Government/doc

对比版本 #76982 与版本 #76983 的 MediaWiki 双栏 Wikitext 差异

+1 行-0 行
第 12 行:
第 12 行:
| format = template
| format = template
| template = Government
| template = Government
+| delimiter= 
| named args = no
| named args = no
|where = id = "{{{Government|}}}" OR en = "{{{Government|}}}" OR cn = "{{{Government|天朝}}}" <> 0}}
|where = id = "{{{Government|}}}" OR en = "{{{Government|}}}" OR cn = "{{{Government|天朝}}}" <> 0}}

2020年9月9日(三)12:42 的版本

预览右侧版本

这是:的模板文档。

当直接浏览时,使用变量可能会失效,请不要-{zh-hans:使用硬编码来代替;zh-hant:写死}-页面名或地址。

这个模板用于各种政体,生成图标和文字。

现在这是一个图标性质的模板,根据政府改革中的图标关键字,转换成百科图像文件名。需要通过其他模板或者Cargo调用此模板。参见:,。

Cargo查询的例子: {{#cargo_query: tables=government_reforms |fields=icon,cn,type | format = template | template = Government | delimiter=  | named args = no |where = id = "{}" OR en = "{}" OR cn = "{gov celestial empire.png 天朝}" <> 0}}