টেমপ্লেট:RoutemapRoute

উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে
পরিভ্রমণে ঝাঁপ দিন অনুসন্ধানে ঝাঁপ দিন


টেমপ্লেট নথি[দেখুন] [সম্পাদনা] [ইতিহাস] [শোধন]

A template created for use within transport route-maps using the 'BS' templates.

Fields[সম্পাদনা]

Parameters[সম্পাদনা]

  • 1: first text item
  • 2: second text item
    • A dash will be shown between the two text items, provided that both are non-blank; if either or both are blank, the dash is omitted
  • enclosed: when |enclosed=no, brackets are suppressed, otherwise they are shown
  • Licon: icon to show before the text
  • Ricon: icon to show after the text
    • Icon parameters are position- and case-insensitive. Valid values, and the icons displayed, are as follows (further information at Template:RoutemapRouteIcon/doc):
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

Notes[সম্পাদনা]

  • All parameters are optional.
  • Parameter values are case-insensitive
  • Parameter order is not important, but where two 'text items' are specified, the first will always be displayed on the left.
RoutemapRoute template – Example usage
WikiSyntax Display
  {{RoutemapRoute|Licon=Left|[[Minehead]]|[[Taunton]]|Ricon=Right}}     (Left arrow Minehead – Taunton Right arrow)  
{{RoutemapRoute|[[Taunton]]|[[Minehead]]|Licon=U|Ricon=D}} (Up arrow Taunton – Minehead Down arrow)
{{RoutemapRoute|Licon=L|[[Minehead]]||}} (Left arrow Minehead)
{{RoutemapRoute|[[Taunton]]|[[Minehead]]}} (Taunton – Minehead)
{{RoutemapRoute|Licon=R|Ricon=L||}} Right arrow  Left arrow
Add enclosed=no to suppress brackets:
{{RoutemapRoute|[[Taunton]]|Ricon=R|||enclosed=no}} Taunton Right arrow
{{RoutemapRoute|Ricon=L|||enclosed=no}}  Left arrow