Template:RoutemapRoute

(重定向自Template:Rmr
文档图示 模板文档[查看] [编辑] [历史] [清除缓存]
  • 為輔助Wikipedia:铁路系统标示的{{BS}}系列模板而設計的指示方向模板。
  • 參數輸入順序不重要,但有兩個"地方名"的位置需要明確放置, 第一個投入的名字會顯示在左邊。
  • 只要兩個文字顯示參數都被輸入了,兩者中間就會以一條連字號連接起來。
  • 加入參數 enclosed=yes 可用圓括弧包含著整個模板。
  • 參數Ricon及Licon的可用輸入值及所顯示的箭嘴符號:
u, up Up arrow d, dn, down Down arrow l, left Left arrow r, right Right arrow ur, ne, c1 UpperRight arrow lr, se, c2 LowerRight arrow ll, sw, c3 LowerLeft arrow ul, nw, c4 UpperLeft arrow
模板 RoutemapRoute – 使用例
维基語法 显示
  {{RoutemapRoute|Licon=Left|[[沙田 (香港)|沙田]]|[[大围]]|Ricon=Right}}     Left arrow 沙田 – 大围 Right arrow  
{{RoutemapRoute|[[沙田 (香港)|沙田]]|[[大围]]|Licon=U|Ricon=D}} Up arrow 沙田 – 大围 Down arrow
{{RoutemapRoute|Licon=L|[[大围]]||}} Left arrow 大围
{{RoutemapRoute|[[沙田 (香港)|沙田]]|[[大围]]}} 沙田 – 大围
{{RoutemapRoute|Licon=R|Ricon=L||}} Right arrow  Left arrow
加入 enclosed=yes 以增加括号:
{{RoutemapRoute|[[沙田 (香港)|沙田]]|Ricon=R|||enclosed=yes}} (沙田 Right arrow)
{{RoutemapRoute|Ricon=L|||enclosed=yes}} Left arrow)

重定向

{{Rmr}}