Template:IncludeTable

From railML 2 Wiki
Revision as of 19:34, 13 October 2022 by RailML Coord Documentation (talk | contribs) (Created page with "<includeonly>{{#vardefine:sub|{{#if:{{{2|}}}|/{{{2}}}|#if:{{{sub|}}}|/{{{sub}}}<nowiki />}}<nowiki />}}<nowiki />}}<noinclude> </noinclude>{{{1|table/{{PAGENAME}}}{{#var:sub...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

Template to uniformely include swapped content.

Why is this necessary?

Please, employ it in combination with Template:TableDocu. Stick to the name schema described here.

Parameters

  • 1 (default:table/{{PAGENAME}}): The place of the swapped object
  • 2/sub: If several swapped objects exist for the page, a number has to be given. E.g. 1 will be expanded to /1, so if applied on page XYZ, {{includeTable|sub=69}} will expand to Template:Table/XYZ/69.

Copying templates

{{includeTable}}
{{includeTable|1= |sub=}}

Example

{{includeTable|1=Table/IS:crossSection}}

delivers

}}[[{Template:1|View/edit list on the separate source page.]]
{{Table/IS:crossSection