更多操作
创建页面,内容为“<includeonly>{{#switch: {{{2}}} | #default = <font color = "{{津陵轨道交通颜色|{{{1|}}}}}">█</font> [[津陵轨道交通{{{1|}}}号线|{{{1|}}}号线]] | long = <font color = "{{津陵轨道交通颜色|{{{1|}}}}}">█</font> [[津陵轨道交通{{{1|}}}号线]] | short = <font color = "{{津陵轨道交通颜色|{{{1|}}}}}">█</font> [[津陵轨道交通{{{1|}}}号线|津陵{{{1|}}}号线]] | uc = <font color = "CCCCCC">█</font> 津陵轨道交…” |
小无编辑摘要 |
||
(未显示同一用户的2个中间版本) | |||
第1行: | 第1行: | ||
<includeonly>{{#switch: {{{2}}} | #default = <font color = "{{津陵轨道交通颜色|{{{1|}}}}}">█</font> [[津陵轨道交通{{{1|}}}号线|{{{1|}}}号线]] | long = <font color = "{{津陵轨道交通颜色|{{{1|}}}}}">█</font> [[津陵轨道交通{{{1|}}}号线]] | short = <font color = "{{津陵轨道交通颜色|{{{1|}}}}}">█</font> [[津陵轨道交通{{{1|}}}号线|津陵{{{1|}}}号线]] | uc = <font color = "CCCCCC">█</font> [[津陵轨道交通{{{1|}}}线|<span style="color: #CCCCCC;">{{{1|}}} | <includeonly>{{#switch: {{{2}}} | #default = <font color = "{{津陵轨道交通颜色|{{{1|}}}}}">█</font> [[津陵轨道交通{{{1|}}}号线|{{{1|}}}号线]] | long = <font color = "{{津陵轨道交通颜色|{{{1|}}}}}">█</font> [[津陵轨道交通{{{1|}}}号线]] | short = <font color = "{{津陵轨道交通颜色|{{{1|}}}}}">█</font> [[津陵轨道交通{{{1|}}}号线|津陵{{{1|}}}号线]] | uc = <font color = "CCCCCC">█</font> [[津陵轨道交通{{{1|}}}线|<span style="color: #CCCCCC;">{{{1|}}}号线</span>]]<font size = 2>(在建)</font> | blink = [[津陵轨道交通{{{1|}}}号线|<span style="display: inline-block; height: 1.2em; width: 1.5em; line-height: 1.25em; font-size: 100%; text-align: center; color: {{#ifeq: {{{1}}}|2|black|white}}; border-radius: 2px; background-color: {{津陵轨道交通颜色|{{{1|}}}|s}}">{{{1|}}}</span>]] }}</includeonly><noinclude>{{/doc}}</noinclude> |
2025年1月17日 (五) 10:40的最新版本
本模板提供模块化的津陵轨道交通各线线路名称与路线标志。
代码格式
{{津陵轨道交通线路标志|<线路名称>|<样式>}}
用法
本模板基于{{津陵轨道交通颜色}},可提供带有颜色和链接的线路名称。
- 第一个参数中填写线路编号
- 第二个参数中填写需要显示的样式,包括
样式名称 | 用法 | 效果 | 建议用途 |
---|---|---|---|
不填(默认) | {{津陵轨道交通线路标志|1}} | █ 1号线 | 用于车站列表、线路图等 |
long | {{津陵轨道交通线路标志|2|long}} | █ 津陵轨道交通2号线 | 用于其他系统线路的车站列表(名称为津陵轨道交通) |
short | {{津陵轨道交通线路标志|3|short}} | █ 津陵3号线 | 用于其他系统线路的车站列表(仅名称为津陵) |
uc | {{津陵轨道交通线路标志|4|uc}} | █ 4号线(在建) | 用于车站列表,显示未开通信息 |
blink | {{津陵轨道交通线路标志|5|blink}} | 5 | 用于线路车站模板的换乘标识 |