m (Add note about transclusion syntax for main namespace) Tag: 2017 source edit |
m (Make "see source" a link to edit the page) |
||
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 source).<br/> | If that template has parameters with certain names, they will be set to the values stored in this template (see {{plainlinks|{{fullurl:{{FULLPAGENAME}}|action=edit}}|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}}.) |
Revision as of 08:46, 1 August 2024
This template is used to generate the documentation for subpages of {{format run data}}.