模板:地區/doc

< Template:地区(重新導向自Template:State/doc
這是Template:地區的模板文檔
當直接瀏覽時,使用變量可能會失效,請不要寫死頁面名或地址。
This template uses the following modules:
Module:State

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
{{地区|231|nob=yes}} 喬治亞Georgia [231]
{{地区|114514|五更琉shu|pokewiz}} 五更琉shupokewiz [114514]

See also