模板:Vertical Rail Route Map/doc:修订间差异
更多操作
创建页面,内容为“本模板用于使用CSS生莉亚铁路的竖版线路图。 {{Vertical Rail Route Map | line-color = #C03A2E }} == 参数 == ; line-color : 线路颜色值,支持CSS颜色。 ; text-color : 标题文字颜色,支持CSS颜色。可选,默认为白色。 ; title-text1 : 标题文字内容1,位于线路图顶部色框左上角,示例中的“北京”。 ; title-bigtext : 标题大字内容,位于线路图顶部色框左侧,示例中最大的“1”…” |
无编辑摘要 |
||
| (未显示同一用户的16个中间版本) | |||
| 第1行: | 第1行: | ||
本模板用于使用CSS生成莉亚铁路的竖版线路图。 | |||
{{Vertical Rail Route Map | {{Vertical Rail Route Map | ||
| line-color = #C03A2E | | line-color = #C03A2E | ||
| 第18行: | 第18行: | ||
; background-text | ; background-text | ||
: 线路图背景文字,即整个线路图右下角背景的半透明大字,示例中的“1”。 | : 线路图背景文字,即整个线路图右下角背景的半透明大字,示例中的“1”。 | ||
; font | |||
: 线路图字体。可选,留空(默认)情况下与浏览器字体相同。 | |||
; length | ; length | ||
: 两个车站中心点间距的一半,仅支持数值,可选,默认为40。(单位为px,不用输入)<br>由于某些玄学bug,如果使用默认值,请不要在源代码中保留“length=”这样一个空值,而应该把整个参数入口删除。 | : 两个车站中心点间距的一半,仅支持数值,可选,默认为40。(单位为px,不用输入)<br>由于某些玄学bug,如果使用默认值,请不要在源代码中保留“length=”这样一个空值,而应该把整个参数入口删除。 | ||
; float | |||
: 路线图在整个页面的什么位置。可选,不浮动则留空或填none,浮动在左侧填或left,浮动在右侧填right。 | |||
---- | ---- | ||
; trans''n'' | ; trans''n'' | ||
: 第n站的换乘线路,需要自己调用{{tl|HRMS}} | : 第n站的换乘线路,需要自己调用{{tl|HRMS}}模板或其他标示线路的模板。若无,请留空。 | ||
; type''n'' | ; type''n'' | ||
: 第n站的车站类型,有若干固定取值,详见[[模板:HHR Route Map Node/doc#参数]]的type参数。 | : 第n站的车站类型,有若干固定取值,详见[[模板:HHR Route Map Node/doc#参数]]的type参数。 | ||
| 第31行: | 第35行: | ||
== 其他信息 == | == 其他信息 == | ||
本模板的一部分逻辑实现在[[模块:Vertical Rail Route Map Stations]]中。 | |||
另参见:<br> | 另参见:<br> | ||
[[模板:Vertical Rail Route Map]]<br> | [[模板:Vertical Rail Route Map]]<br> | ||
| 第39行: | 第44行: | ||
[[模板:HHR Route Map Symbol]]<br> | [[模板:HHR Route Map Symbol]]<br> | ||
[[模板:HHR Route Map StationName]] | [[模板:HHR Route Map StationName]] | ||
== 模板数据 == | |||
{{TemplateData_header}} | |||
<templatedata> | |||
{ | |||
"params": { | |||
"line-color": { | |||
"label": "line-color", | |||
"description": "线路颜色值,支持CSS颜色。", | |||
"example": "#C03A2E", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"text-color": { | |||
"label": "text-color", | |||
"description": "标题文字颜色,支持CSS颜色。可选,默认为白色。", | |||
"example": "white", | |||
"default": "white", | |||
"type": "string" | |||
}, | |||
"title-text1": { | |||
"label": "title-text1", | |||
"description": "标题文字内容1,位于线路图顶部色框左上角。", | |||
"example": "北京", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"title-bigtext": { | |||
"label": "title-bigtext", | |||
"description": "标题大字内容,位于线路图顶部色框左侧。", | |||
"example": "1", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"title-text2": { | |||
"label": "title-text2", | |||
"description": "标题文字内容2,位于线路图顶部色框内大字右侧。", | |||
"example": "号线", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"title-english": { | |||
"label": "title-english", | |||
"description": "标题文字英文内容,位于线路图顶部色框内大字左下角。", | |||
"example": "Beijing Line '''1'''", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"background-text": { | |||
"label": "background-text", | |||
"description": "线路图背景文字,即整个线路图右下角背景的半透明大字。", | |||
"example": "1", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"font": { | |||
"label": "font", | |||
"description": "线路图字体。可选,留空(默认)情况下与浏览器字体相同。", | |||
"example": "sans-serif", | |||
"type": "string" | |||
}, | |||
"float": { | |||
"label": "float", | |||
"description": "路线图在整个页面的什么位置。可选,不浮动则留空或填none,浮动在左侧填或left,浮动在右侧填right。", | |||
"example": "right", | |||
"type": "string" | |||
}, | |||
"length": { | |||
"label": "length", | |||
"description": "两个车站中心点间距的一半,仅支持数值,可选,默认为40。", | |||
"example": "40", | |||
"default": "40", | |||
"type": "number" | |||
}, | |||
"station-zh-name1": { | |||
"label": "station-zh-name1", | |||
"description": "第1站的车站中文名。", | |||
"type": "string" | |||
}, | |||
"station-en-name1": { | |||
"label": "station-en-name1", | |||
"description": "第1站的车站英文名。", | |||
"type": "string" | |||
}, | |||
"trans1": { | |||
"label": "trans1", | |||
"description": "第1站的换乘线路,需要自己调用各类其他标示线路的模板。若无,请留空。", | |||
"type": "content" | |||
}, | |||
"type1": { | |||
"label": "type1", | |||
"description": "第1站的车站类型,有若干固定取值,详见页面“模板:HHR Route Map Node/doc#参数”的type参数。", | |||
"type": "string" | |||
}, | |||
"station-zh-name2": { | |||
"label": "station-zh-name2", | |||
"description": "第2站的车站中文名。", | |||
"type": "string" | |||
}, | |||
"station-en-name2": { | |||
"label": "station-en-name2", | |||
"description": "第2站的车站英文名。", | |||
"type": "string" | |||
}, | |||
"trans2": { | |||
"label": "trans2", | |||
"description": "第2站的换乘线路。", | |||
"type": "content" | |||
}, | |||
"type2": { | |||
"label": "type2", | |||
"description": "第2站的车站类型。", | |||
"type": "string" | |||
}, | |||
"station-zh-name3": { | |||
"label": "station-zh-name3", | |||
"description": "第3站的车站中文名。", | |||
"type": "string" | |||
}, | |||
"station-en-name3": { | |||
"label": "station-en-name3", | |||
"description": "第3站的车站英文名。", | |||
"type": "string" | |||
}, | |||
"trans3": { | |||
"label": "trans3", | |||
"description": "第3站的换乘线路。", | |||
"type": "content" | |||
}, | |||
"type3": { | |||
"label": "type3", | |||
"description": "第3站的车站类型。", | |||
"type": "string" | |||
}, | |||
"station-zh-name4": { | |||
"label": "station-zh-name4", | |||
"description": "第4站的车站中文名。", | |||
"type": "string" | |||
}, | |||
"station-en-name4": { | |||
"label": "station-en-name4", | |||
"description": "第4站的车站英文名。", | |||
"type": "string" | |||
}, | |||
"trans4": { | |||
"label": "trans4", | |||
"description": "第4站的换乘线路。", | |||
"type": "content" | |||
}, | |||
"type4": { | |||
"label": "type4", | |||
"description": "第4站的车站类型。", | |||
"type": "string" | |||
}, | |||
"station-zh-name5": { | |||
"label": "station-zh-name5", | |||
"description": "第5站的车站中文名。", | |||
"type": "string" | |||
}, | |||
"station-en-name5": { | |||
"label": "station-en-name5", | |||
"description": "第5站的车站英文名。", | |||
"type": "string" | |||
}, | |||
"trans5": { | |||
"label": "trans5", | |||
"description": "第5站的换乘线路。", | |||
"type": "content" | |||
}, | |||
"type5": { | |||
"label": "type5", | |||
"description": "第5站的车站类型。", | |||
"type": "string" | |||
}, | |||
"station-zh-name6": { | |||
"label": "station-zh-name6", | |||
"description": "第6站的车站中文名。", | |||
"type": "string" | |||
}, | |||
"station-en-name6": { | |||
"label": "station-en-name6", | |||
"description": "第6站的车站英文名。", | |||
"type": "string" | |||
}, | |||
"trans6": { | |||
"label": "trans6", | |||
"description": "第6站的换乘线路。", | |||
"type": "content" | |||
}, | |||
"type6": { | |||
"label": "type6", | |||
"description": "第6站的车站类型。", | |||
"type": "string" | |||
}, | |||
"station-zh-name7": { | |||
"label": "station-zh-name7", | |||
"description": "第7站的车站中文名。", | |||
"type": "string" | |||
}, | |||
"station-en-name7": { | |||
"label": "station-en-name7", | |||
"description": "第7站的车站英文名。", | |||
"type": "string" | |||
}, | |||
"trans7": { | |||
"label": "trans7", | |||
"description": "第7站的换乘线路。", | |||
"type": "content" | |||
}, | |||
"type7": { | |||
"label": "type7", | |||
"description": "第7站的车站类型。", | |||
"type": "string" | |||
}, | |||
"station-zh-name8": { | |||
"label": "station-zh-name8", | |||
"description": "第8站的车站中文名。", | |||
"type": "string" | |||
}, | |||
"station-en-name8": { | |||
"label": "station-en-name8", | |||
"description": "第8站的车站英文名。", | |||
"type": "string" | |||
}, | |||
"trans8": { | |||
"label": "trans8", | |||
"description": "第8站的换乘线路。", | |||
"type": "content" | |||
}, | |||
"type8": { | |||
"label": "type8", | |||
"description": "第8站的车站类型。", | |||
"type": "string" | |||
}, | |||
"station-zh-name9": { | |||
"label": "station-zh-name9", | |||
"description": "第9站的车站中文名。", | |||
"type": "string" | |||
}, | |||
"station-en-name9": { | |||
"label": "station-en-name9", | |||
"description": "第9站的车站英文名。", | |||
"type": "string" | |||
}, | |||
"trans9": { | |||
"label": "trans9", | |||
"description": "第9站的换乘线路。", | |||
"type": "content" | |||
}, | |||
"type9": { | |||
"label": "type9", | |||
"description": "第9站的车站类型。", | |||
"type": "string" | |||
}, | |||
"station-zh-name10": { | |||
"label": "station-zh-name10", | |||
"description": "第10站的车站中文名。如果需要更多车站,请至源代码中添加station-zh-name11(或更多)参数,最多支持99个。", | |||
"type": "string" | |||
}, | |||
"station-en-name10": { | |||
"label": "station-en-name10", | |||
"description": "第10站的车站英文名。如果需要更多车站,请至源代码中添加station-en-name11(或更多)参数,最多支持99个。", | |||
"type": "string" | |||
}, | |||
"trans10": { | |||
"label": "trans10", | |||
"description": "第10站的换乘线路。如果需要更多车站,请至源代码中添加trans11(或更多)参数,最多支持99个。", | |||
"type": "content" | |||
}, | |||
"type10": { | |||
"label": "type10", | |||
"description": "第10站的车站类型。如果需要更多车站,请至源代码中添加type11(或更多)参数,最多支持99个。", | |||
"type": "string" | |||
} | |||
}, | |||
"description": "本模板用于使用CSS生成莉亚铁路的竖版线路图。", | |||
"format": "block" | |||
} | |||
</templatedata> | |||
2026年3月3日 (二) 21:09的最新版本
本模板用于使用CSS生成莉亚铁路的竖版线路图。
北京
1号线 Beijing Line 1 |
↑上行
|
↓下行
|
| 1 |
参数
- line-color
- 线路颜色值,支持CSS颜色。
- text-color
- 标题文字颜色,支持CSS颜色。可选,默认为白色。
- title-text1
- 标题文字内容1,位于线路图顶部色框左上角,示例中的“北京”。
- title-bigtext
- 标题大字内容,位于线路图顶部色框左侧,示例中最大的“1”。
- title-text2
- 标题文字内容2,位于线路图顶部色框内大字右侧,示例中的“号线”。
- title-english
- 标题文字英文内容,位于线路图顶部色框内大字左下角,示例中的“Beijing Line 1”。
- background-text
- 线路图背景文字,即整个线路图右下角背景的半透明大字,示例中的“1”。
- font
- 线路图字体。可选,留空(默认)情况下与浏览器字体相同。
- length
- 两个车站中心点间距的一半,仅支持数值,可选,默认为40。(单位为px,不用输入)
由于某些玄学bug,如果使用默认值,请不要在源代码中保留“length=”这样一个空值,而应该把整个参数入口删除。 - float
- 路线图在整个页面的什么位置。可选,不浮动则留空或填none,浮动在左侧填或left,浮动在右侧填right。
- transn
- 第n站的换乘线路,需要自己调用{{HRMS}}模板或其他标示线路的模板。若无,请留空。
- typen
- 第n站的车站类型,有若干固定取值,详见模板:HHR Route Map Node/doc#参数的type参数。
- station-zh-namen
- 第n站的车站中文名。
- station-en-namen
- 第n站的车站英文名。
其他信息
本模板的一部分逻辑实现在模块:Vertical Rail Route Map Stations中。
另参见:
模板:Vertical Rail Route Map
模板:Vertical Rail Route Map Node
模板:HHR Route Map
模板:HHR Route Map Node
模板:HHR Route Map Title
模板:HHR Route Map Symbol
模板:HHR Route Map StationName
模板数据
本模板用于使用CSS生成莉亚铁路的竖版线路图。
| 参数 | 描述 | 类型 | 状态 | |
|---|---|---|---|---|
| line-color | line-color | 线路颜色值,支持CSS颜色。
| 字符串 | 推荐 |
| text-color | text-color | 标题文字颜色,支持CSS颜色。可选,默认为白色。
| 字符串 | 可选 |
| title-text1 | title-text1 | 标题文字内容1,位于线路图顶部色框左上角。
| 字符串 | 推荐 |
| title-bigtext | title-bigtext | 标题大字内容,位于线路图顶部色框左侧。
| 字符串 | 推荐 |
| title-text2 | title-text2 | 标题文字内容2,位于线路图顶部色框内大字右侧。
| 字符串 | 推荐 |
| title-english | title-english | 标题文字英文内容,位于线路图顶部色框内大字左下角。
| 字符串 | 推荐 |
| background-text | background-text | 线路图背景文字,即整个线路图右下角背景的半透明大字。
| 字符串 | 推荐 |
| font | font | 线路图字体。可选,留空(默认)情况下与浏览器字体相同。
| 字符串 | 可选 |
| float | float | 路线图在整个页面的什么位置。可选,不浮动则留空或填none,浮动在左侧填或left,浮动在右侧填right。
| 字符串 | 可选 |
| length | length | 两个车站中心点间距的一半,仅支持数值,可选,默认为40。
| 数字 | 可选 |
| station-zh-name1 | station-zh-name1 | 第1站的车站中文名。 | 字符串 | 可选 |
| station-en-name1 | station-en-name1 | 第1站的车站英文名。 | 字符串 | 可选 |
| trans1 | trans1 | 第1站的换乘线路,需要自己调用各类其他标示线路的模板。若无,请留空。 | 内容 | 可选 |
| type1 | type1 | 第1站的车站类型,有若干固定取值,详见页面“模板:HHR Route Map Node/doc#参数”的type参数。 | 字符串 | 可选 |
| station-zh-name2 | station-zh-name2 | 第2站的车站中文名。 | 字符串 | 可选 |
| station-en-name2 | station-en-name2 | 第2站的车站英文名。 | 字符串 | 可选 |
| trans2 | trans2 | 第2站的换乘线路。 | 内容 | 可选 |
| type2 | type2 | 第2站的车站类型。 | 字符串 | 可选 |
| station-zh-name3 | station-zh-name3 | 第3站的车站中文名。 | 字符串 | 可选 |
| station-en-name3 | station-en-name3 | 第3站的车站英文名。 | 字符串 | 可选 |
| trans3 | trans3 | 第3站的换乘线路。 | 内容 | 可选 |
| type3 | type3 | 第3站的车站类型。 | 字符串 | 可选 |
| station-zh-name4 | station-zh-name4 | 第4站的车站中文名。 | 字符串 | 可选 |
| station-en-name4 | station-en-name4 | 第4站的车站英文名。 | 字符串 | 可选 |
| trans4 | trans4 | 第4站的换乘线路。 | 内容 | 可选 |
| type4 | type4 | 第4站的车站类型。 | 字符串 | 可选 |
| station-zh-name5 | station-zh-name5 | 第5站的车站中文名。 | 字符串 | 可选 |
| station-en-name5 | station-en-name5 | 第5站的车站英文名。 | 字符串 | 可选 |
| trans5 | trans5 | 第5站的换乘线路。 | 内容 | 可选 |
| type5 | type5 | 第5站的车站类型。 | 字符串 | 可选 |
| station-zh-name6 | station-zh-name6 | 第6站的车站中文名。 | 字符串 | 可选 |
| station-en-name6 | station-en-name6 | 第6站的车站英文名。 | 字符串 | 可选 |
| trans6 | trans6 | 第6站的换乘线路。 | 内容 | 可选 |
| type6 | type6 | 第6站的车站类型。 | 字符串 | 可选 |
| station-zh-name7 | station-zh-name7 | 第7站的车站中文名。 | 字符串 | 可选 |
| station-en-name7 | station-en-name7 | 第7站的车站英文名。 | 字符串 | 可选 |
| trans7 | trans7 | 第7站的换乘线路。 | 内容 | 可选 |
| type7 | type7 | 第7站的车站类型。 | 字符串 | 可选 |
| station-zh-name8 | station-zh-name8 | 第8站的车站中文名。 | 字符串 | 可选 |
| station-en-name8 | station-en-name8 | 第8站的车站英文名。 | 字符串 | 可选 |
| trans8 | trans8 | 第8站的换乘线路。 | 内容 | 可选 |
| type8 | type8 | 第8站的车站类型。 | 字符串 | 可选 |
| station-zh-name9 | station-zh-name9 | 第9站的车站中文名。 | 字符串 | 可选 |
| station-en-name9 | station-en-name9 | 第9站的车站英文名。 | 字符串 | 可选 |
| trans9 | trans9 | 第9站的换乘线路。 | 内容 | 可选 |
| type9 | type9 | 第9站的车站类型。 | 字符串 | 可选 |
| station-zh-name10 | station-zh-name10 | 第10站的车站中文名。如果需要更多车站,请至源代码中添加station-zh-name11(或更多)参数,最多支持99个。 | 字符串 | 可选 |
| station-en-name10 | station-en-name10 | 第10站的车站英文名。如果需要更多车站,请至源代码中添加station-en-name11(或更多)参数,最多支持99个。 | 字符串 | 可选 |
| trans10 | trans10 | 第10站的换乘线路。如果需要更多车站,请至源代码中添加trans11(或更多)参数,最多支持99个。 | 内容 | 可选 |
| type10 | type10 | 第10站的车站类型。如果需要更多车站,请至源代码中添加type11(或更多)参数,最多支持99个。 | 字符串 | 可选 |