Template:IncludeTable: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
*{{{1|template3atable/{{PAGENAME}}}}}{{#var:sub}} | *{{{1|template3atable/{{PAGENAME}}}}}{{#var:sub}} | ||
*[[ | *[[{{{1|template:table/{{PAGENAME}}}}}{{#var:sub}}]] | ||
*[[{{Template:IncludeTable/Link|1={{{1}}}|2={{#var:sub}}|3={{FULLPAGENAME}}}}]] | *[[{{Template:IncludeTable/Link|1={{{1}}}|2={{#var:sub}}|3={{FULLPAGENAME}}}}]] | ||
Line 37: | Line 37: | ||
<pre>{{includeTable|1= |sub=}}</pre> | <pre>{{includeTable|1= |sub=}}</pre> | ||
==Example== | ==Example== | ||
<pre>{{includeTable|1=Table/IS:crossSection}}</pre>delivers | <pre>{{includeTable|1=Template:Table/IS:crossSection}}</pre>delivers | ||
{{includeTable|1=Table/IS:crossSection}} | {{includeTable|1=Template:Table/IS:crossSection}} | ||
<pre>{{includeTable|1=Table/IS:crossSection|2=VII}}</pre>delivers | <pre>{{includeTable|1=Table/IS:crossSection|2=VII}}</pre>delivers | ||
{{includeTable|1=Table/IS:crossSection|2=VII}} | {{includeTable|1=Template:Table/IS:crossSection|2=VII}} | ||
[[category:TableTemplate|*]] | [[category:TableTemplate|*]] | ||
</noinclude> | </noinclude> |
Revision as of 14:39, 14 October 2022
Usage
Template to uniformely include swapped content.
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=Template:Table/IS:crossSection}}
delivers
2 da?
Variable definieren
Sub:
Link
- Template:Table/IS:crossSection
Link fertig
View/edit list on the separate source page.
{{Template:Table/IS:crossSection
{{includeTable|1=Table/IS:crossSection|2=VII}}
delivers
2 da?
/VII
Variable definieren
Sub:
/VII
Link
- Template:Table/IS:crossSection/VII
Link fertig
View/edit list on the separate source page.
{{Template:Table/IS:crossSection