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

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

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

来自RIA | Wiki
秋月白留言 | 贡献
(InPageEdit-preference-summary-default)
标签手工回退
秋月白留言 | 贡献
撤销秋月白讨论)的版本62793
标签撤销
 
(未显示2个用户的15个中间版本)
第1行: 第1行:
<templatestyles src="Template:HHR Route Map Node/style.css" />
<templatestyles src="Template:Vertical Rail Route Map/style.css" />
{| style="font-family: {{{font|sans-serif}}}; min-width: 455px;" class="{{#switch: {{{float|}}} | right | floatright = floatright | left | floatleft = floatleft}}"
<div style="display: inline-block; font-family: {{{font|sans-serif}}};{{#switch: {{{float|none}}}
        | left = float: left; margin-right: 1em;
        | right = float: right; margin-left: 1em;
        | none = float: none;
    }} ">
{| 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>上行
第6行: 第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 {{#if: {{{float|}}}|{{{float|}}}}}" style="font-family: {{{font|sans-serif}}};"
{| class="route-map-table"
{{#if:{{{type1|}}}|
{{#if:{{{type1|}}}|
{{!}}{{{trans1|}}}
{{!}}{{{trans1|}}}
第511行: 第516行:
     user-select: none;
     user-select: none;
">{{{background-text|1}}}</span>
">{{{background-text|1}}}</span>
{{!}}}
{{!}}}</div>
<noinclude>
<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

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

模板数据

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

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个。

字符串可选