模板:Vertical Rail Route Map:修订间差异
更多操作
无编辑摘要 |
标签:撤销 |
||
| (未显示2个用户的14个中间版本) | |||
| 第1行: | 第1行: | ||
<templatestyles src="Template: | <templatestyles src="Template:Vertical Rail Route Map/style.css" /> | ||
<div style="{{#switch: {{{float|none}}} | <div style="display: inline-block; font-family: {{{font|sans-serif}}};{{#switch: {{{float|none}}} | ||
| left = float: left; margin-right: 1em; | | left = float: left; margin-right: 1em; | ||
| right = float: right; margin-left: 1em; | | right = float: right; margin-left: 1em; | ||
| none = float: none; | | none = float: none; | ||
}}"> | }} "> | ||
{| style=" | {| style="width: 100%;" | ||
{{!}} rowspan="2" style="text-align: left; vertical-align: middle; background-color: {{{line-color|#7f7f7f}}}; color: {{{text-color|#ffffff}}}; box-shadow:5px 0 {{{line-color|#7f7f7f}}}; min-width: min-content;"{{!}}<div style="padding :12px 20px;">{{{title-text1|北京}}}<br><span style="font-size:5em; line-height:0.9; font-weight:999 !important;">{{{title-bigtext|1}}}</span>{{{title-text2|号线}}}<br>{{{title-english|Beijing Line '''1'''}}}</div> | {{!}} rowspan="2" style="text-align: left; vertical-align: middle; background-color: {{{line-color|#7f7f7f}}}; color: {{{text-color|#ffffff}}}; box-shadow:5px 0 {{{line-color|#7f7f7f}}}; min-width: min-content;"{{!}}<div style="padding :12px 20px;">{{{title-text1|北京}}}<br><span style="font-size:5em; line-height:0.9; font-weight:999 !important;">{{{title-bigtext|1}}}</span>{{{title-text2|号线}}}<br>{{{title-english|Beijing Line '''1'''}}}</div> | ||
{{!}} style="text-align: right; vertical-align: top; background-color: {{{line-color|#7f7f7f}}}; color: {{{text-color|#ffffff}}}; box-shadow:0 5px {{{line-color|#7f7f7f}}}; max-width: min-content;"{{!}} <div style="padding :12px 20px;"><span style="font-weight:999 !important;">↑</span>上行 | {{!}} style="text-align: right; vertical-align: top; background-color: {{{line-color|#7f7f7f}}}; color: {{{text-color|#ffffff}}}; box-shadow:0 5px {{{line-color|#7f7f7f}}}; max-width: min-content;"{{!}} <div style="padding :12px 20px;"><span style="font-weight:999 !important;">↑</span>上行 | ||
| 第11行: | 第11行: | ||
{{!}} style="text-align: right; vertical-align: bottom; background-color: {{{line-color|#7f7f7f}}}; color: {{{text-color|#ffffff}}}; box-shadow:0 -5px {{{line-color|#7f7f7f}}}; max-width: min-content;"{{!}} <div style="padding :12px 20px;"><span style="font-weight:999 !important;">↓</span>下行 | {{!}} style="text-align: right; vertical-align: bottom; background-color: {{{line-color|#7f7f7f}}}; color: {{{text-color|#ffffff}}}; box-shadow:0 -5px {{{line-color|#7f7f7f}}}; max-width: min-content;"{{!}} <div style="padding :12px 20px;"><span style="font-weight:999 !important;">↓</span>下行 | ||
{{!}}} | {{!}}} | ||
{| class="route-map-table | {| class="route-map-table" | ||
{{#if:{{{type1|}}}| | {{#if:{{{type1|}}}| | ||
{{!}}{{{trans1|}}} | {{!}}{{{trans1|}}} | ||
2026年3月5日 (四) 12:04的最新版本
北京
1号线 Beijing Line 1 |
↑上行
|
↓下行
|
| 1 |
本模板用于使用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个。 | 字符串 | 可选 |