香港鐵路大典
註冊
無編輯摘要
無編輯摘要
 
第1行: 第1行:
<includeonly>style="{{#ifeq:{{{左|}}}|0||border-left:solid {{{左|2}}}px black;}}{{#ifeq:{{{|}}}|0||border-right:solid {{{右|2}}}px black;}}{{#ifeq:{{{|}}}|0||border-top:solid {{{上|2}}}px black;}}{{#ifeq:{{{|}}}|0||border-bottom:solid {{{下|2}}}px black;font-size:90%;}}font-size:90%;" align="center"</includeonly><noinclude>{{Template:Platstyle/doc}}[[Category:港鐵模板]]</noinclude>
+
<includeonly>style="{{#ifeq:{{{左|}}}|0||border-left:solid {{{左|2}}}px black;}}{{#ifeq:{{{|}}}|0||border-right:solid {{{右|2}}}px black;}}{{#ifeq:{{{|}}}|0||border-top:solid {{{上|2}}}px black;}}{{#ifeq:{{{|}}}|0||border-bottom:solid {{{下|2}}}px black;font-size:90%;}}font-size:90%;" align="center"</includeonly><noinclude>{{Template:Platstyle/doc}}[[Category:港鐵模板]]</noinclude>

於 2009年8月20日 (四) 12:53 的最新修訂

輸出

{{Platstyle}}

style="border-left:solid 2px black;border-right:solid 2px black;border-top:solid 2px black;border-bottom:solid 2px black;font-size:90%;font-size:90%;" align="center"

{{Platstyle|上=0}}

style="border-left:solid 2px black;border-right:solid 2px black;border-bottom:solid 2px black;font-size:90%;font-size:90%;" align="center"

{{Platstyle|下=0}}

style="border-left:solid 2px black;border-right:solid 2px black;border-top:solid 2px black;font-size:90%;" align="center"

{{Platstyle|左=0}}

style="border-right:solid 2px black;border-top:solid 2px black;border-bottom:solid 2px black;font-size:90%;font-size:90%;" align="center"

{{Platstyle|右=0}}

style="border-left:solid 2px black;border-top:solid 2px black;border-bottom:solid 2px black;font-size:90%;font-size:90%;" align="center"

{{Cellborder|上=1}}

style="border-top:solid 1px black;font-size:90%;" align="center"

{{Cellborder|下=1}}

style="border-bottom:solid 1px black;font-size:90%;" align="center"

{{Cellborder|左=1}}

style="border-left:solid 1px black;font-size:90%;" align="center"

{{Cellborder|右=1}}

style="border-right:solid 1px black;font-size:90%;" align="center"

使用方式

模板會自動替文字字型縮小至90%並置中

{|
|{{Cellborder|下=1}}|下層大堂
|-
|{{Platstyle|上=0}}|側式月台
|-
|[[File:rail.png]]
|-
|[[File:rail.png]]
|-
|{{Platstyle}}|島式月台
|-
|[[File:rail.png]]
|-
|[[File:rail.png]]
|-
|{{Platstyle|下=0}}|側式月台
|}
下層大堂
側式月台
Rail
Rail
島式月台
Rail
Rail
側式月台