Template:地区

[阅读] [编辑]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}} Lua错误:无法创建进程:proc_open(/dev/null): Failed to open stream: Operation not permittedLua错误:无法创建进程:proc_open(/dev/null): Failed to open stream: Operation not permitted [1]
{{地区|321|noid=yes}} Lua错误:无法创建进程:proc_open(/dev/null): Failed to open stream: Operation not permittedLua错误:无法创建进程:proc_open(/dev/null): Failed to open stream: Operation not permitted
{{地区|231|nob=yes}} Lua错误:无法创建进程:proc_open(/dev/null): Failed to open stream: Operation not permittedLua错误:无法创建进程:proc_open(/dev/null): Failed to open stream: Operation not permitted [231]
{{地区|114514|五更琉shu|pokewiz}} 五更琉shupokewiz [114514]

See also