Template:Documentation/doc: Difference between revisions

From Workers & Resources: Soviet Republic Official Wiki
workers-resources-fandom>Abominação
mNo edit summary
workers-resources-fandom>Abominação
mNo edit summary
Line 1: Line 1:
<noinclude>{{documentationpage}}</noinclude>{{Template credits|nuka=true}}{{Template dependencies|css=[[MediaWiki:Common.css]]}}
<noinclude>{{documentationpage}}</noinclude>{{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.


Line 12: Line 12:
Name of the documentation page to be displayed.
Name of the documentation page to be displayed.
}}
}}
{{Copyright Nukapedia|Template:Documentation}}

Revision as of 02:56, 1 September 2022

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.