模板:Vertical Rail Route Map/doc:修订间差异
来自RIA | Wiki
更多操作
无编辑摘要 |
无编辑摘要 |
||
| 第41行: | 第41行: | ||
== 模板数据 == | == 模板数据 == | ||
{{TemplateData_header}} | {{TemplateData_header}} | ||
<templatedata> | <templatedata> | ||
{ | |||
"params": { | |||
"line-color": { | |||
"label": "line-color", | |||
"description": "线路颜色值,支持CSS颜色。", | |||
"example": "#C03A2E", | |||
"type": "string" | |||
}, | |||
"text-color": { | |||
"label": "text-color", | |||
"description": "标题文字颜色,支持CSS颜色。可选,默认为白色。", | |||
"example": "white", | |||
"default": "white", | |||
"type": "string" | |||
}, | |||
"title-text1": { | |||
"label": "title-text1", | |||
"description": "标题文字内容1,位于线路图顶部色框左上角。", | |||
"example": "北京", | |||
"type": "string" | |||
}, | |||
"title-bigtext": { | |||
"label": "title-bigtext", | |||
"description": "标题大字内容,位于线路图顶部色框左侧。", | |||
"example": "1", | |||
"type": "string" | |||
}, | |||
"title-text2": { | |||
"label": "title-text2", | |||
"description": "标题文字内容2,位于线路图顶部色框内大字右侧。", | |||
"example": "号线", | |||
"type": "string" | |||
}, | |||
"title-english": { | |||
"label": "title-english", | |||
"description": "标题文字英文内容,位于线路图顶部色框内大字左下角。", | |||
"example": "Beijing Line '''1'''", | |||
"type": "string" | |||
}, | |||
"background-text": { | |||
"label": "background-text", | |||
"description": "线路图背景文字,即整个线路图右下角背景的半透明大字。", | |||
"example": "1", | |||
"type": "string" | |||
}, | |||
"length": { | |||
"label": "background-text", | |||
"description": "两个车站中心点间距的一半,仅支持数值,可选,默认为40。", | |||
"example": "40", | |||
"default": "40", | |||
"type": "string" | |||
}, | |||
"trans1": { | |||
"label": "trans1", | |||
"description": "第n站的换乘线路,需要自己调用各类其他标示线路的模板。", | |||
"type": "string" | |||
}, | |||
"type1": { | |||
"label": "type1", | |||
"description": "第n站的车站类型,有若干固定取值,详见页面“模板:HHR Route Map Node/doc#参数”的type参数。", | |||
"type": "string" | |||
}, | |||
"station-zh-name1": { | |||
"label": "station-zh-name1", | |||
"description": "第n站的车站中文名。", | |||
"type": "string" | |||
}, | |||
"station-en-name1": { | |||
"label": "station-en-name1", | |||
"description": "第n站的车站英文名。", | |||
"type": "string" | |||
} | |||
}, | |||
"description": "本模板用于使用CSS生成莉亚铁路的竖版线路图。" | |||
} | |||
</templatedata> | </templatedata> | ||
2026年2月7日 (六) 15:14的版本
本模板用于使用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”。
- length
- 两个车站中心点间距的一半,仅支持数值,可选,默认为40。(单位为px,不用输入)
由于某些玄学bug,如果使用默认值,请不要在源代码中保留“length=”这样一个空值,而应该把整个参数入口删除。
- transn
- 第n站的换乘线路,需要自己调用{{HRMS}}模板或其他标示线路的模板。
- typen
- 第n站的车站类型,有若干固定取值,详见模板:HHR Route Map Node/doc#参数的type参数。
- station-zh-namen
- 第n站的车站中文名。
- station-en-namen
- 第n站的车站英文名。
其他信息
另参见:
模板: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 | 线路图背景文字,即整个线路图右下角背景的半透明大字。
| 字符串 | 可选 |
| background-text | length | 两个车站中心点间距的一半,仅支持数值,可选,默认为40。
| 字符串 | 可选 |
| trans1 | trans1 | 第n站的换乘线路,需要自己调用各类其他标示线路的模板。 | 字符串 | 可选 |
| type1 | type1 | 第n站的车站类型,有若干固定取值,详见页面“模板:HHR Route Map Node/doc#参数”的type参数。 | 字符串 | 可选 |
| station-zh-name1 | station-zh-name1 | 第n站的车站中文名。 | 字符串 | 可选 |
| station-en-name1 | station-en-name1 | 第n站的车站英文名。 | 字符串 | 可选 |