Module:Rail-interchange multi/doc: Difference between revisions

Content deleted Content added
Created page with '{{Module rating|alpha}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> This...'
 
Line 6:
== Usage ==
 
This module only takes one numbered parameter and one named parameter {{para|div}}. Each transclusion of {{Tl|rint}} is separated by a plus sign <code>+</code>, and there is a backslash <code>\</code> between the first and second parameters. If the first parameter of an icon is the same as the first parameter of the first icon (and it takes a second parameter) then it can be omitted.
 
=== One row of icons ===
 
If {{para|div|yes}} then a <code>&lt;div&gt;</code> tag will be wrapped around the symbols.
 
&#123;&#123;#invoke:Rail-interchange multi|row|''location1''/''symbol1''+''location2''/''symbol2''+''…''}}
 
=== Two rows of icons (with <code>&lt;div&gt;</code> tags) ===
 
{{para|div}} does not do anything here, as the display is reliant upon using <code>&lt;div&gt;</code> tags.
 
&#123;&#123;#invoke:Rail-interchange multi|doublerow|''location1''/''symbol1''+''location2''/''symbol2''+''location3''/''symbol3''+''location4''/''symbol4''+''…''}}