Template:Syntax: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(New page: <nowiki>{{</nowiki><span style="background-color: #2A2A2A;">[[{{#ifexist:Template:{{{1|}}}|Template:{{{1}}}|{{{1|Unknown}}}}}|<span style="color: #eee;">{{{3|{{{1|}}}}}}</span>]]{{{2|}}}</...)
 
m (catfix)
 
Line 14: Line 14:


<onlyinclude><includeonly><nowiki>{{</nowiki><span style="background-color: #2A2A2A;">[[{{#ifexist:Template:{{{1|}}}|Template:{{{1}}}|{{{1|Unknown}}}}}|<span style="color: #eee;">{{{2|{{{1|}}}}}}</span>]]{{{params|}}}</span><nowiki>}}</nowiki></includeonly></onlyinclude>
<onlyinclude><includeonly><nowiki>{{</nowiki><span style="background-color: #2A2A2A;">[[{{#ifexist:Template:{{{1|}}}|Template:{{{1}}}|{{{1|Unknown}}}}}|<span style="color: #eee;">{{{2|{{{1|}}}}}}</span>]]{{{params|}}}</span><nowiki>}}</nowiki></includeonly></onlyinclude>
[[Category:General Wiki Templates|{{PAGENAME}}]]
[[Category:General wiki templates|{{PAGENAME}}]]

Latest revision as of 18:20, 7 July 2008

Description
A more flexable and styled alternative to {{t}} for template syntax display (rather than linking). Designed to be used with {{param}}. For an explanation of what certain keywords mean, a key is provided here.
Syntax
{{SyntaxTemplate:ParamTemplate:ParamTemplate:Param}}
Note: This serves as its own example.
Parameters
1=
Template's page name (the template namespace may be exluded for shorthand use).
2=
Template's display name (replaces the template's name when displayed).
params=
Template's parameters listed using {{param}} for each.