Category:TableTemplate: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
(Created page with "This category lists template pages containing swapped tables. ==Why is this necessary?== If complex layout elements are nested into each other, at some point the rendering may...")
 
Line 6: Line 6:
**[[Template:Table/IS:crossSection]] for {{tag|is|crossSection}}
**[[Template:Table/IS:crossSection]] for {{tag|is|crossSection}}
**If several tables occur, use numbers like <nowiki>Template:Table/<page name>/1, Template:Table/<page name>/2</nowiki>
**If several tables occur, use numbers like <nowiki>Template:Table/<page name>/1, Template:Table/<page name>/2</nowiki>
* Categorize the swapped tables with <nowiki>[[Category:TableTemplet]]</nowiki>
* Include the table with [[Template:Includetable]]
* Include the table with [[Template:Includetable]]
* On the template page, use<pre><noinclude>{{tableDocu}}</noinclude></pre>to make the purpose of the template easy to understand.
* On the template page, use<pre><noinclude>{{tableDocu}}</noinclude></pre>to make the purpose of the template easy to understand.


[[category:template]]
[[category:template]]

Revision as of 18:17, 13 October 2022

This category lists template pages containing swapped tables.

Why is this necessary?

If complex layout elements are nested into each other, at some point the rendering may fail. In many cases a remedy is to place a table on an extra page and transclude it.

Hints for keeping clarity

  • Stick to the name scheme Template:Table/<page name>[/<sequence number>], e.g.
  • Include the table with Template:Includetable
  • On the template page, use
    <noinclude>{{tableDocu}}</noinclude>
    to make the purpose of the template easy to understand.