模板:Vertical Rail Route Map/doc:修订间差异
更多操作
无编辑摘要 |
|||
| (未显示同一用户的5个中间版本) | |||
| 第22行: | 第22行: | ||
; 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参数。 | ||
| 第33行: | 第35行: | ||
== 其他信息 == | == 其他信息 == | ||
本模板的一部分逻辑实现在[[模块:Vertical Rail Route Map Stations]]中。 | |||
另参见:<br> | 另参见:<br> | ||
[[模板:Vertical Rail Route Map]]<br> | [[模板:Vertical Rail Route Map]]<br> | ||
| 第100行: | 第103行: | ||
"description": "线路图字体。可选,留空(默认)情况下与浏览器字体相同。", | "description": "线路图字体。可选,留空(默认)情况下与浏览器字体相同。", | ||
"example": "sans-serif", | "example": "sans-serif", | ||
"type": "string" | |||
}, | |||
"float": { | |||
"label": "float", | |||
"description": "路线图在整个页面的什么位置。可选,不浮动则留空或填none,浮动在左侧填或left,浮动在右侧填right。", | |||
"example": "right", | |||
"type": "string" | "type": "string" | ||
}, | }, | ||
| 第108行: | 第117行: | ||
"default": "40", | "default": "40", | ||
"type": "number" | "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": { | "trans1": { | ||
"label": "trans1", | "label": "trans1", | ||
"description": " | "description": "第1站的换乘线路,需要自己调用各类其他标示线路的模板。若无,请留空。", | ||
"type": "content" | "type": "content" | ||
}, | }, | ||
| 第119行: | 第138行: | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"station-zh- | "station-zh-name2": { | ||
"label": "station-zh- | "label": "station-zh-name2", | ||
"description": " | "description": "第2站的车站中文名。", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"station-en- | "station-en-name2": { | ||
"label": "station-en- | "label": "station-en-name2", | ||
"description": " | "description": "第2站的车站英文名。", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
| 第139行: | 第158行: | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"station-zh- | "station-zh-name3": { | ||
"label": "station-zh- | "label": "station-zh-name3", | ||
"description": " | "description": "第3站的车站中文名。", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"station-en- | "station-en-name3": { | ||
"label": "station-en- | "label": "station-en-name3", | ||
"description": " | "description": "第3站的车站英文名。", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
| 第159行: | 第178行: | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"station-zh- | "station-zh-name4": { | ||
"label": "station-zh- | "label": "station-zh-name4", | ||
"description": " | "description": "第4站的车站中文名。", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"station-en- | "station-en-name4": { | ||
"label": "station-en- | "label": "station-en-name4", | ||
"description": " | "description": "第4站的车站英文名。", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
| 第179行: | 第198行: | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"station-zh- | "station-zh-name5": { | ||
"label": "station-zh- | "label": "station-zh-name5", | ||
"description": " | "description": "第5站的车站中文名。", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"station-en- | "station-en-name5": { | ||
"label": "station-en- | "label": "station-en-name5", | ||
"description": " | "description": "第5站的车站英文名。", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
| 第199行: | 第218行: | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"station-zh- | "station-zh-name6": { | ||
"label": "station-zh- | "label": "station-zh-name6", | ||
"description": " | "description": "第6站的车站中文名。", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"station-en- | "station-en-name6": { | ||
"label": "station-en- | "label": "station-en-name6", | ||
"description": " | "description": "第6站的车站英文名。", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
| 第219行: | 第238行: | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"station-zh- | "station-zh-name7": { | ||
"label": "station-zh- | "label": "station-zh-name7", | ||
"description": " | "description": "第7站的车站中文名。", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"station-en- | "station-en-name7": { | ||
"label": "station-en- | "label": "station-en-name7", | ||
"description": " | "description": "第7站的车站英文名。", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
| 第239行: | 第258行: | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"station-zh- | "station-zh-name8": { | ||
"label": "station-zh- | "label": "station-zh-name8", | ||
"description": " | "description": "第8站的车站中文名。", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"station-en- | "station-en-name8": { | ||
"label": "station-en- | "label": "station-en-name8", | ||
"description": " | "description": "第8站的车站英文名。", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
| 第259行: | 第278行: | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"station-zh- | "station-zh-name9": { | ||
"label": "station-zh- | "label": "station-zh-name9", | ||
"description": " | "description": "第9站的车站中文名。", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"station-en- | "station-en-name9": { | ||
"label": "station-en- | "label": "station-en-name9", | ||
"description": " | "description": "第9站的车站英文名。", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
| 第279行: | 第298行: | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"station-zh- | "station-zh-name10": { | ||
"label": "station-zh- | "label": "station-zh-name10", | ||
"description": " | "description": "第10站的车站中文名。如果需要更多车站,请至源代码中添加station-zh-name11(或更多)参数,最多支持99个。", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"station-en- | "station-en-name10": { | ||
"label": "station-en- | "label": "station-en-name10", | ||
"description": " | "description": "第10站的车站英文名。如果需要更多车站,请至源代码中添加station-en-name11(或更多)参数,最多支持99个。", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
| 第297行: | 第316行: | ||
"label": "type10", | "label": "type10", | ||
"description": "第10站的车站类型。如果需要更多车站,请至源代码中添加type11(或更多)参数,最多支持99个。", | "description": "第10站的车站类型。如果需要更多车站,请至源代码中添加type11(或更多)参数,最多支持99个。", | ||
"type": "string" | "type": "string" | ||
} | } | ||
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个。 | 字符串 | 可选 |