Template:Documentation: Difference between revisions
portalsofphereon>FANDOM m (1 revision: Starter Wiki Refresh) |
portalsofphereon>Olaroll No edit summary |
||
Line 6: | Line 6: | ||
|- |
|- |
||
| View or edit [[{{{1|Template:{{PAGENAMEE}}/doc}}}|this documentation]]. ([[Template:Documentation|About template documentation]]) |
| View or edit [[{{{1|Template:{{PAGENAMEE}}/doc}}}|this documentation]]. ([[Template:Documentation|About template documentation]]) |
||
|- |
|||
| Editors can experiment in this template's [{{fullurl:{{FULLPAGENAMEE}}/Draft|action=edit}} sandbox] and [{{fullurl:{{FULLPAGENAMEE}}/testcases}} test case] pages. |
|||
|} |
|||
<div style="margin:0 1em;"> |
<div style="margin:0 1em;"> |
||
{{{{{1|{{PAGENAME}}/doc}}}}}</div></includeonly><noinclude>{{Documentation}}[[Category:Template documentation| ]]</noinclude> |
{{{{{1|{{PAGENAME}}/doc}}}}}</div></includeonly><noinclude>{{Documentation}}[[Category:Template documentation| ]]</noinclude> |
Revision as of 21:30, 5 September 2019
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation)
For templates, insert Click "create" at the top of the page and the documentation page will be opened with some pre-formatting. Documentation pages will automatically be added to Category:Documentation templates. Optional parametersThis parameters can either be added to the typeSets the "type" of documentation this is, e.g. template, module, message, etc. This will be used as part of some messages the template might display, as well as categorisation. The type is automatic based on the title, so it shouldn't generally need to be set. nodocIf a template has no documentation and you don't know how to use it, add nodoc=1 to the documentation template on the documentation page. The documentation's background will become red to make it more noticeable, and the page will be added to Category:Page with no documentation, if it's a template. This is automatically set if the documentation page doesn't exist, so this generally isn't necessary to set.|Documentation]] |