跳转到内容

Template:RoutemapRoute/doc

维基百科,自由的百科全书

这是本页的一个历史版本,由Xiplus留言 | 贡献2020年2月27日 (四) 09:35 (標記高風險模板使用量為2386)编辑。这可能和当前版本存在着巨大的差异。

  • 為輔助Wikipedia:铁路系统标示的{{BS}}系列模板而設計的指示方向模板。
  • 參數輸入順序不重要,但有兩個"地方名"的位置需要明確放置, 第一個投入的名字會顯示在左邊。
  • 只要兩個文字顯示參數都被輸入了,兩者中間就會以一條連字號連接起來。
  • 加入參數 enclosed=yes 可用圓括弧包含著整個模板。
  • 參數Ricon及Licon的可用輸入值及所顯示的箭嘴符號:
u, up Up arrow d, dn, down Down arrow l, left Left arrow r, right Right 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}}