m (Don't redlink talk page) Tag: 2017 source edit |
m (Simplify link magic by using Special:EditPage instead) Tag: 2017 source edit |
||
Line 3: | Line 3: | ||
Pass the name of a template as the first argument. The <code>Template:</code> prefix may be omitted. | Pass the name of a template as the first argument. The <code>Template:</code> prefix may be omitted. | ||
(And main namespace articles will need the <code>:</code> prefix.)<br/> | (And main namespace articles will need the <code>:</code> prefix.)<br/> | ||
If that template has parameters with certain names, they will be set to the values stored in this template (see | If that template has parameters with certain names, they will be set to the values stored in this template (see [[Special:EditPage/{{FULLPAGENAME}}|this template's source]]).<br/> | ||
For example, <code><nowiki>{{</nowiki>{{lcfirst:{{PAGENAME}}}}|showcase<nowiki>}}</nowiki></code> will use {{t|showcase}} as the formatter. | For example, <code><nowiki>{{</nowiki>{{lcfirst:{{PAGENAME}}}}|showcase<nowiki>}}</nowiki></code> will use {{t|showcase}} as the formatter. | ||
(Though in most cases you can simply write <code><nowiki>{{</nowiki>{{lcfirst:{{PAGENAME}}}}<nowiki>}}</nowiki></code> as it defaults to {{t|showcase}}.) | (Though in most cases you can simply write <code><nowiki>{{</nowiki>{{lcfirst:{{PAGENAME}}}}<nowiki>}}</nowiki></code> as it defaults to {{t|showcase}}.) |
Latest revision as of 05:08, 2 August 2024
This template is used to generate the documentation for subpages of {{format run data}}.