打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

RIA Wiki 已更新到 1.41!部分 CSS 在新版本下可能有不同的表现,请编辑者注意检查和修改。 目前wiki关闭了自行注册账号的功能,如需注册账号,请查阅Help:注册账号

模板:Vertical Rail Route Map/doc:修订间差异

来自RIA | Wiki
秋月白留言 | 贡献
创建页面,内容为“本模板用于使用CSS生莉亚铁路的竖版线路图。 {{Vertical Rail Route Map | line-color = #C03A2E }} == 参数 == ; line-color : 线路颜色值,支持CSS颜色。 ; text-color : 标题文字颜色,支持CSS颜色。可选,默认为白色。 ; title-text1 : 标题文字内容1,位于线路图顶部色框左上角,示例中的“北京”。 ; title-bigtext : 标题大字内容,位于线路图顶部色框左侧,示例中最大的“1”…”
 
秋月白留言 | 贡献
无编辑摘要
 
(未显示同一用户的16个中间版本)
第1行: 第1行:
本模板用于使用CSS生莉亚铁路的竖版线路图。
本模板用于使用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

模板数据

这是用于新版可视化编辑器及其他工具的模板数据文档。

Vertical Rail Route Map模板数据

本模板用于使用CSS生成莉亚铁路的竖版线路图。

模板参数

此模板首选参数换行的代码块格式。

参数描述类型状态
line-colorline-color

线路颜色值,支持CSS颜色。

示例值
#C03A2E
字符串推荐
text-colortext-color

标题文字颜色,支持CSS颜色。可选,默认为白色。

默认值
white
示例值
white
字符串可选
title-text1title-text1

标题文字内容1,位于线路图顶部色框左上角。

示例值
北京
字符串推荐
title-bigtexttitle-bigtext

标题大字内容,位于线路图顶部色框左侧。

示例值
1
字符串推荐
title-text2title-text2

标题文字内容2,位于线路图顶部色框内大字右侧。

示例值
号线
字符串推荐
title-englishtitle-english

标题文字英文内容,位于线路图顶部色框内大字左下角。

示例值
Beijing Line '''1'''
字符串推荐
background-textbackground-text

线路图背景文字,即整个线路图右下角背景的半透明大字。

示例值
1
字符串推荐
fontfont

线路图字体。可选,留空(默认)情况下与浏览器字体相同。

示例值
sans-serif
字符串可选
floatfloat

路线图在整个页面的什么位置。可选,不浮动则留空或填none,浮动在左侧填或left,浮动在右侧填right。

示例值
right
字符串可选
lengthlength

两个车站中心点间距的一半,仅支持数值,可选,默认为40。

默认值
40
示例值
40
数字可选
station-zh-name1station-zh-name1

第1站的车站中文名。

字符串可选
station-en-name1station-en-name1

第1站的车站英文名。

字符串可选
trans1trans1

第1站的换乘线路,需要自己调用各类其他标示线路的模板。若无,请留空。

内容可选
type1type1

第1站的车站类型,有若干固定取值,详见页面“模板:HHR Route Map Node/doc#参数”的type参数。

字符串可选
station-zh-name2station-zh-name2

第2站的车站中文名。

字符串可选
station-en-name2station-en-name2

第2站的车站英文名。

字符串可选
trans2trans2

第2站的换乘线路。

内容可选
type2type2

第2站的车站类型。

字符串可选
station-zh-name3station-zh-name3

第3站的车站中文名。

字符串可选
station-en-name3station-en-name3

第3站的车站英文名。

字符串可选
trans3trans3

第3站的换乘线路。

内容可选
type3type3

第3站的车站类型。

字符串可选
station-zh-name4station-zh-name4

第4站的车站中文名。

字符串可选
station-en-name4station-en-name4

第4站的车站英文名。

字符串可选
trans4trans4

第4站的换乘线路。

内容可选
type4type4

第4站的车站类型。

字符串可选
station-zh-name5station-zh-name5

第5站的车站中文名。

字符串可选
station-en-name5station-en-name5

第5站的车站英文名。

字符串可选
trans5trans5

第5站的换乘线路。

内容可选
type5type5

第5站的车站类型。

字符串可选
station-zh-name6station-zh-name6

第6站的车站中文名。

字符串可选
station-en-name6station-en-name6

第6站的车站英文名。

字符串可选
trans6trans6

第6站的换乘线路。

内容可选
type6type6

第6站的车站类型。

字符串可选
station-zh-name7station-zh-name7

第7站的车站中文名。

字符串可选
station-en-name7station-en-name7

第7站的车站英文名。

字符串可选
trans7trans7

第7站的换乘线路。

内容可选
type7type7

第7站的车站类型。

字符串可选
station-zh-name8station-zh-name8

第8站的车站中文名。

字符串可选
station-en-name8station-en-name8

第8站的车站英文名。

字符串可选
trans8trans8

第8站的换乘线路。

内容可选
type8type8

第8站的车站类型。

字符串可选
station-zh-name9station-zh-name9

第9站的车站中文名。

字符串可选
station-en-name9station-en-name9

第9站的车站英文名。

字符串可选
trans9trans9

第9站的换乘线路。

内容可选
type9type9

第9站的车站类型。

字符串可选
station-zh-name10station-zh-name10

第10站的车站中文名。如果需要更多车站,请至源代码中添加station-zh-name11(或更多)参数,最多支持99个。

字符串可选
station-en-name10station-en-name10

第10站的车站英文名。如果需要更多车站,请至源代码中添加station-en-name11(或更多)参数,最多支持99个。

字符串可选
trans10trans10

第10站的换乘线路。如果需要更多车站,请至源代码中添加trans11(或更多)参数,最多支持99个。

内容可选
type10type10

第10站的车站类型。如果需要更多车站,请至源代码中添加type11(或更多)参数,最多支持99个。

字符串可选