m (Add note about transclusion syntax for main namespace) Tag: 2017 source edit |
m (Simplify link magic by using Special:EditPage instead) Tag: 2017 source edit |
||
(3 intermediate revisions by the same user not shown) | |||
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 [[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}}.) | ||
Please use {{link or redlink not wanted|Template_talk:Format_run_data|the top-level template's Talk page}} for any discussion of these data to ensure your comments won't be overlooked. | |||
Live preview of this data: | Live preview of this data: |
Latest revision as of 05:08, 2 August 2024
This template is used to generate the documentation for subpages of {{format run data}}.