跳转到内容

Template:RoutemapRoute/doc

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

这是本页的一个历史版本,由MerlIwBot留言 | 贡献2012年7月7日 (六) 13:31 (机器人添加:be:Шаблон:RoutemapRoute编辑。这可能和当前版本存在着巨大的差异。

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

Fault-finding:

  • 文字顯示參數{{{1}}}或{{{2}}}錯誤地顯示在模板之外的場合下,
    在模板收結之前再多加豎杆號 | 直到模板顯示正常為止。
模板 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=no 以取消括号:
{{RoutemapRoute|[[沙田 (香港)|沙田]]|Ricon=R|||enclosed=no}} 沙田 Right arrow
{{RoutemapRoute|Ricon=L|||enclosed=no}}  Left arrow