Anonymous
×
Create a new article
Write your page title here:
We currently have 55 articles on SR5 Foundry VTT System Wiki. Type your article name above or click on one of the titles below and start writing!



SR5 Foundry VTT System Wiki

Template:Documentation/Documentation: Difference between revisions

(Created page with "<includeonly>Category:Template</includeonly><noinclude>Category:Template Documentation</noinclude> {{Template|Documentation}} is used within the template namespace to automate the detection and presentation of documentation. ==Usage== It accepts {{Parameter|none}}. It should be included at the top of every template's main page — Boilerplate:Template does this automatically. Any categories meant to apply to the template itself should be included in the...")
 
No edit summary
Tag: Reverted
Line 1: Line 1:
<includeonly>[[Category:Template]]</includeonly><noinclude>[[Category:Template Documentation]]</noinclude>
<includeonly>[[Category:Template]]</includeonly><noinclude>[[Category:Template Documentation]]</noinclude>
{{Template|Documentation}} is used within the template namespace to automate the detection and presentation of documentation.
{{Template|Documentation}} is used within the template namespace to automate the detection and presentation of documentation.
==Usage==
===Usage===
It accepts {{Parameter|none}}. It should be included at the top of every template's main page &mdash; [[Boilerplate:Template]] does this automatically.
It accepts {{Parameter|none}}. It should be included at the top of every template's main page &mdash; [[Boilerplate:Template]] does this automatically.


Any categories meant to apply to the template itself should be included in the documentation subpage, wrapped inside {{Code|<nowiki><includeonly /></nowiki>}} tags, rather than directly in the body of the template.<!-- This documentation is a bad example, as it has to be specially formatted to prevent template loops.-->
Any categories meant to apply to the template itself should be included in the documentation subpage, wrapped inside {{Code|<nowiki><includeonly /></nowiki>}} tags, rather than directly in the body of the template.<!-- This documentation is a bad example, as it has to be specially formatted to prevent template loops.-->
==Return==
===Return===
As it relies on the presence or existence of other pages, working examples cannot be provided.
As it relies on the presence or existence of other pages, working examples cannot be provided.

Revision as of 23:54, 17 November 2023

Template:Documentation is used within the template namespace to automate the detection and presentation of documentation.

Usage

It accepts no parameters. It should be included at the top of every template's main page — Boilerplate:Template does this automatically.

Any categories meant to apply to the template itself should be included in the documentation subpage, wrapped inside <includeonly /> tags, rather than directly in the body of the template.

Return

As it relies on the presence or existence of other pages, working examples cannot be provided.