模板:Rail line box CargoExt:修订间差异
来自RIA | Wiki
更多操作
无编辑摘要 |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
{{Rail line box | |||
| system = | | system = Error:Unknown Extension "Cargo" | ||
| line = {{{line|{{{2|}}}}}} | | line = at "Template:Rail_line_box_CargoExt", line {{{line|{{{2|3}}}}}}, column {{{station|{{{3|25}}}}}}. | ||
| station = {{#if: {{{station|{{{3|25}}}}}}|Please contact the system administrator to celebrate april fools day.}} | |||
| | | bgc-system = #FF0000 | ||
| color-system = #0000FF | |||
| color-line = #BF0000 | |||
}} | |||
| | |||
| color- | |||
| color-station = #202122 | | color-station = #202122 | ||
| inline = {{{inline | | inline = {{{inline|}}} | ||
}}<noinclude> | |||
}} | |||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
2026年3月31日 (二) 23:59的版本
Error:Unknown Extension "Cargo"
at "Template:Rail_line_box_CargoExt", line 3, column 25.
Please contact the system administrator to celebrate april fools day.
本模板用于生成零洲主世界轨道交通统一编号的编号。
参数
- system, 1
- 线路所属系统的标识符,推荐为 1 位大写拉丁字母。
- line, 2
- 线路编号, 推荐为 1 到 3 位阿拉伯数字和/或拉丁字母。
- station, 3
- 车站编号,推荐为 1 到 3 位阿拉伯数字。
- inline
- 设置为 yes 时,模板会以行内形式输出内容。
- name
- 设置为 yes 时,会在图标右边自动添加带有链接的线路名称。
示例
基本用法,包括路局代码、线路代码和车站编号:
| 源代码 | 显示 |
|---|---|
{{Rail line box CargoExt|R|F|1}}
|
Error:Unknown Extension "Cargo" at "Template:Rail_line_box_CargoExt", line F, column 1. Please contact the system administrator to celebrate april fools day. |
只标明线路:
| 源代码 | 显示 |
|---|---|
{{Rail line box CargoExt|R|F}}
|
Error:Unknown Extension "Cargo" at "Template:Rail_line_box_CargoExt", line F, column 25. Please contact the system administrator to celebrate april fools day. |
行内使用:
| 源代码 | 显示 |
|---|---|
{{Rail line box CargoExt|R|F|1|inline=yes}}是社营风南线下行第一站的标识。
|
Error:Unknown Extension "Cargo"at "Template:Rail_line_box_CargoExt", line F, column 1.Please contact the system administrator to celebrate april fools day.是社营风南线下行第一站的标识。 |
带链接:
| 源代码 | 显示 |
|---|---|
{{Rail line box CargoExt|R|F|name=yes}}
|
Error:Unknown Extension "Cargo" at "Template:Rail_line_box_CargoExt", line F, column 25. Please contact the system administrator to celebrate april fools day. |
※这是本模板新增的特性,原模板中并没有此功能。
其他信息
本模板仅用于简化已有线路调用{{Rail_line_box}}的文本量,牺牲了灵活性。如果仅需要少量使用,请调用原模板。
本模板的使用需要调用特殊:Cargo表/RailUID中的数据,所以正常使用之前请先确保该Cargo表中有对应的数据。