Template:T/doc: Difference between revisions

From DynamicPageList3 Manual
Content deleted Content added
imported>FrozenPlum
m Adapt docs
imported>FrozenPlum
m Forgot categories (plus I need extra edits to test for 502s after disabling loops)
 
Line 20:
<includeonly>
<!-- Template categories/interwikis here -->
[[Category:Internal link templatesTemplates]]
[[Category:Formatting templates]]
</includeonly><noinclude>
<!-- Documentation categories/interwikis here -->
[[Category:Template documentation]]
</noinclude>

Latest revision as of 00:00, 2 April 2022

This is the documentation page, it should be transcluded into the main template page. See Template:Documentation for more information
Description
A template link with a variable number of example parameters (0–20), which can be used to show example inputs.
Syntax
{{T|parameter1|parameter2|parameter3|parameter4|...|parameter20|prefix=...}}
Sample code
{{T|DPL}} gives...
{{DPL}}
{{T|Gamepedia Help Wiki:Placeholder|Item1|Item2|Item3|Item4|Item5|...}} gives...
{{DPL|Item1|Item2|Item3|Item4|Item5|...}}
{{T|Gamepedia Help Wiki:Placeholder|param1{{=}}Item1}} gives...
{{DPL|param1=Item1}}
{{T|DPL|prefix=subst}} gives...
{{subst: DPL}}
{{T|DPL|style=code}} gives...
{{DPL}}