Template:Documentation/doc: Difference between revisions

From Workers & Resources: Soviet Republic Official Wiki
workers-resources-fandom>Abominação
(Created to set up an example of it's style.)
 
workers-resources-fandom>Abominação
mNo edit summary
Line 1: Line 1:
<noinclude>{{documentationpage}}</noinclude>{{Template dependencies|css=[[MediaWiki:Common.css]]}}
<noinclude>{{documentationpage}}</noinclude>{{Template credits|nuka=true}}{{Template dependencies|css=[[MediaWiki:Common.css]]}}
Template for use on [[:Category:Templates|template pages]] to separate documentation from the actual template. Includes a /doc subpage.
Template for use on [[:Category:Templates|template pages]] to separate documentation from the actual template. Includes a /doc subpage.



Revision as of 00:40, 31 August 2022

Template:Template credits

Template for use on template pages to separate documentation from the actual template. Includes a /doc subpage.

Usage

Simply place the following where you want the documentation to appear:

{{documentation}}

You need to make sure that the documentation is not transcluded along with the template wherever the template is used (usually by enclosing the above in <noinclude></noinclude> or <onlyinclude></onlyinclude> tags).

Parameters

Neutral
(default: "{{FULLPAGENAME}}/doc")
<unnamed 1>
Name of the documentation page to be displayed.