コンテンツにスキップ

英文维基 | 中文维基 | 日文维基 | 草榴社区

Template:BSsplit/doc

This is a variant of {{BSkm}}.

使用方法

[編集]

This template displays two lines of text in a text field of a route diagram created with {{BS-map}}. The text will inherit the alignment of the parent cell, but can be overridden by applying the parameter align=left” or “align=right”.

The third parameter (alternatively “L=”) defines a shared wikilink for both lines of text (no [[ or ]] are needed).

The fourth parameter (alternatively “4=”) will change both lines to italic text. Any character or text can be used.

The separating line can be forced to appear by providing an argument for the parameter “line=anything”.

使用例

[編集]
Input:
{{BSsplit|opened 1900|closed 1969}}
Result:
eBHF
opened 1900
closed 1969
Station
 
Input:
{{BSsplit|open|9 am–3 pm|align=left}}
Result:
pBHF
open
9 am–3 pm
Station
 
Input:
{{BSsplit|Llanfairpwllgwyngyllgogerychwyrn-|drobwllllantysiliogogogoch|ランヴァイル・プルグウィンギル・ゴゲリフウィルンドロブル・ランティシリオゴゴゴホ}}
Result:
HST
Llanfairpwllgwyngyllgogerychwyrn-
drobwllllantysiliogogogoch
 
Input:
{{BSsplit|DC|AC|line=yes}}
Result:
STR+GRZq
DC
AC
 
Input:
{{BSsplit|Zone A|free-fare|4=it|line=yes}}
Result:
STR+GRZq
Zone A
free-fare

Note: Text in the Time/Dist. column is normally right-aligned.


関連項目

[編集]

See project:ROUTE#Fractional text display template for usage instruction.