Difference between revisions of "Template:Documentation"
From PCGamingWiki, the wiki about fixing PC games
(description fix) |
(reverted to this version for now; invoke seems to be broken) |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly><div style="clear: both; border: 1px solid #aaaaaa; margin: 1em; margin-top: 3em;"><div style="background: #d7e3f4; margin: 0em; padding: 0.5em; font-weight: bold; font-size: 85%;">Documentation for the above template (sometimes hidden from view).</div><div style="padding: 1em;">{{:{{FULLPAGENAME}}/Documentation}}</div><div style="background: #d7e3f4; padding: 0.5em; margin: 0em; font-size: 85%; text-align: right;">Visit [[{{FULLPAGENAME}}/Documentation]] to edit this text. ([[Template:Documentation|How does this work]]?)</div></div></includeonly><noinclude>{{Documentation}}</noinclude> |
− | |||
− | |||
− | {{Documentation}}</noinclude> |
Revision as of 05:08, 6 May 2014
Documentation for the above template (sometimes hidden from view).
- Description
This template transcludes each templates documentation page onto it.
Every template should include this template on its page, in the following manner:
<noinclude>{{Documentation}}</noinclude>
The contents, should look similar to:
;Description ;Arguments * {{Code|}} - ;Syntax <pre><nowiki>{{ }}</nowiki></pre> <includeonly>[[Category:TEMPLATETYPE templates]]</includeonly> <noinclude>[[Category:Documentation templates]]</noinclude>
- Syntax
{{Documentation}}
Visit Template:Documentation/Documentation to edit this text. (How does this work?)