Module:Sandbox/BrandonXLF/1/doc: Difference between revisions

Content deleted Content added
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 1:
{{notice|Please do not delete this module or its doc page.}}
{{lmd|All parameters}} Calls a template while giving it all the arguments the current page receives.
 
=== Parameters ===
Arguments directly given to the module are prioritized over ones given to the current page unless {{para|_pf|yes}}.
<code>''(floor#)''</code> - Sets the name of a floor
 
<code>''(floor#)''_''(part#)''_''(param)''</code> - Sets a parameter for a row of a floor where <code>''(param)''</code> is:
== Usage ==
* <code>name</code> - The name of the row, e.g. "Westbound track"
 
* <code>desc</code> - The description for the row
=== Syntax ===
* '''Services'''
 
** <code>dir</code> - The direction of the service(s) for the track (<code>right</code> or <code>left</code>)
{{mlix|All parameters|main|_t{{=}}|_pt{{=}}|''x''}}
** <code>service</code> - The service running on the track
 
** <code>service''(service#)''</code> - Additional services running on the track
=== Parameters ===
** <code>dest</code> - The destination for the service
 
** <code>dest''(service#)''</code> - Destinations for the additional services
* {{para|_t}} The template to call.
** <code>note</code> - Note about the services
* {{para|_pf|yes}} Forces parent arguments to override the arguments given to the module.
** <code>note''(service#)''</code> - Notes about the additional services
* {{para|''x''}} ''x'' represents any parameter, parameter ''x'' will be send to the template that is called.
* '''Platform'''
 
** <code>platform</code> - The type of platform
=== Default ===
** <code>accessible</code> - Set if the platform is {{access icon|alt=}} [[accessible]]
 
** <code>note</code> - Note about the platform
* To set all parameters as defaults set {{para|_pf|yes}}.
* To set individual parameters as default use {{para|''x''|{{param|''x''|''default''|nested=yes}}}}.