Template:T/doc
From JoJo's Bizarre Encyclopedia - JoJo Wiki
< Template:T
Jump to navigation
Jump to search
Revision as of 19:52, 26 July 2020 by Paisley Park (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is the Documentation subpage of Template:T This page's sole purpose is to explain how the Template should be used. Do not use it for other purposes. |
Lua}} This template makes use of the following Lua modules: Module:T |
This template creates a template link with a variable number of example parameters (0-infinite), which can be used to show example inputs.
Usage
The following parameters are supported:
- (Any number >= 2)
- Will be shown as a parameter for the template.
- prefix
- Will be added as a prefix before the template name.
- style
- If set to code, will be wrapped in
<code></code>
tags.
Examples
{{t|nihongo}}
→ {{nihongo}}{{t|:Main Page}}
→ {{:Main Page}}{{t|nihongo|Item1|Item2|Item3|Item4|Item5|...}}
→ {{nihongo|<Item1>|<Item2>|<Item3>|<Item4>|<Item5>|<...>}}{{t|nihongo|Item1|3=someparam=value}}
→ {{nihongo|<Item1>|someparam=<value>}}{{t|nihongo|prefix=subst}}
→ {{subst:nihongo}}{{t|T|prefix=#invoke}}
→ {{#invoke:T}}{{t|nihongo|style=code}}
→{{nihongo}}
- Manga ▾
- Media ▾
- Characters ▾
- World ▾
- Archives ▾
- Misc ▾
- Wiki ▾
Retrieved from "http://jojowiki.com/index.php?title=Template:T/doc&oldid=425739"