Template:地区

自由之民讨论 | 贡献2021年9月26日 (日) 00:26的版本 (建立内容为“<includeonly>{{#cargo_query: | table = state_names | fields = 1, 2, id | format = template | template = word | where = state_names.1 = "{{{1|5000}}}" OR state_nam…”的新页面)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
[阅读] [编辑]Template-info.png 模板文档

Lua错误:无法创建进程:proc_open(/dev/null): Failed to open stream: Operation not permitted This template provides a way to read the name of a state based off the ID and formats the output accordingly.

Parameters

{{地区|123|noid = yes}}

Parameter Info Required Notes
1 integer Required The ID of the state.
2 string Optional Overrides the auto-fetched name of the state if set.
noid boolean Optional If true, doesn't display the ID of the state after the name.
nob boolean Optional If true, state name won't be bolded.

Usage examples

Code Result
{{地区|1}} 科西嘉Corsica [1]
{{地区|321|noid=yes}} 果阿Goa [321]
{{地区|231|nob=yes}} 格鲁吉亚Georgia [231]
{{地区|114514|五更琉shu|pokewiz}} 没有结果

See also