Template:TemplateLink2
Jump to navigation
Jump to search
[[Example]]
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
| This template uses Lua: |
Usage
[edit source]{{2;|bracket|templatename}}
|bracket ~ choose a type of bracket between on of this - curly, square. square = [[ ]]
curly = {{ }}
|templatename ~ template's name
Examples
[edit source]| Parameter | Renders | {{2;|main|Lua}}
|
|---|---|---|
| [[Lua]] | ||
{{2;|main|interwiki=mw|Template link|template name}}(links to MediaWiki)
| ||
[[Template link|template name]]
| ||
{{2;|interwiki=wikt|curly|Link|page name}}(Links to Wiktionary)
| ||
[[Link|page name]]
|
Parameters
[edit source]|1= (required)
- Choose brackets in between square or curly.
|interwiki= (optional)
- Interwiki template target.
|2= (required)
- Template name, don't include the template namespace, if not found returns error.
|3= (optional)
- How to use the template. Use this({{!}})or
<nowiki>...|...</nowiki>in the case of piped character.