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: Difference between revisions

No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Redbox|{{FULLPAGENAME}}|{{Documentation/Documentation}}}}
{{Redbox|{{FULLPAGENAME}}|{{Documentation/Documentation}}|width=95%}}
<p style="margin-left: 25px">The documentation above was transcluded from [[{{FULLPAGENAME}}/Documentation]]. {{Edit|{{FULLPAGENAME}}/Documentation|action=edit}}</p>
<p style="margin-left: 25px">The documentation above was transcluded from [[{{FULLPAGENAME}}/Documentation]]. {{Edit|{{FULLPAGENAME}}/Documentation|action=edit}}</p>
<!-- We have to do this template's documentation "manually" to avoid a template loop.-->
<!-- We have to do this template's documentation "manually" to avoid a template loop.-->
<includeonly><onlyinclude>
<includeonly><onlyinclude>
[[Category:Template]]{{#ifexist:{{FULLPAGENAME}}/Documentation
[[Category:Template]]{{#ifexist:{{FULLPAGENAME}}/Documentation
|{{Box|{{FULLPAGENAME}}|{{ {{FULLPAGENAME}}/Documentation}}}}
|{{Redbox|{{FULLPAGENAME}}|{{ {{FULLPAGENAME}}/Documentation}}}}
<p style="margin-left: 25px">The documentation above was transcluded from [[{{FULLPAGENAME}}/Documentation]]. {{Edit|{{FULLPAGENAME}}/Documentation|action=edit}}</p>
<p style="margin-left: 25px">The documentation above was transcluded from [[{{FULLPAGENAME}}/Documentation]]. {{Edit|{{FULLPAGENAME}}/Documentation|action=edit}}</p>
|{{Redbox|{{Template|{{PAGENAME}}}} has [[:Category:Templates without Documentation|no documentation]]. {{Edit|{{FULLPAGENAME}}/Documentation|Create}}|error|color=red|width=5%}}[[Category:Templates without Documentation|Documentation]]
|{{Redbox|No Documentation|{{Template|{{PAGENAME}}}} has [[:Category:Templates without Documentation|no documentation]]. {{Edit|{{FULLPAGENAME}}/Documentation|Create}}|error|color=red|width=95%}}[[Category:Templates without Documentation|Documentation]]
  }}</onlyinclude></includeonly>
  }}</onlyinclude></includeonly>

Latest revision as of 18:53, 3 February 2024

Template:Documentation

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.

The documentation above was transcluded from Template:Documentation/Documentation.