Difference between revisions of "Template:BS-any/doc"

From blackwiki
Jump to navigation Jump to search
imported>Peterwhy
(Update doc with parameter naming)
imported>Vanisaac
m (→‎Example: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 21: Line 21:
 
}}
 
}}
  
<includeonly>[[Category:Route diagram templates|any]]</includeonly>
+
<includeonly>{{Sandbox other||[[Category:Route diagram templates|any]]}}</includeonly>

Latest revision as of 00:26, 24 April 2020

Template for BS-table row comprising seven symbols.

  • |n=: number of icons
  • Parameter 1 ... Parameter Template:Varserif: IDs of 1st to Template:Varserifth Image (leer or leave blank for no symbol). IMPORTANT: The list of icons must come before any other parameters
  • Parameter Template:Varserif+1: kilometerage
  • Parameter Template:Varserif+2: Name
  • Parameter Template:Varserif+3: Note 1
  • Parameter Template:Varserif+4: Note 2 - right-aligned
    • designated parameter |PX=: Width of image ( e.g. PX=50px), default 20px
    • designated parameter |HI=: Use CSS class "highlight", in order to emphasize certain sections, example see Seetalbahn
    • designated parameter |O1=, ..., |OTemplate:Varserif=: ID of the Overlapping image on the 1st, 2nd, 3rd, 4th, 5th, 6th or 7th image respectively

Example

The text {{BS-any|n=5|uBHF||RP2|WASSER||0.0|Station|Highway|River|PX=25px}} produces this map row:

0.0 Station
Highway
River