模板:RoutemapRoute

被永久保护的模板
维基百科,自由的百科全书
文档图示 模板文档[查看] [编辑] [历史] [清除缓存]
  • 为辅助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}}