Template:Documentation: Difference between revisions
Template page
More actions
Eloise Zomia (talk | contribs) No edit summary Tag: Reverted |
Eloise Zomia (talk | contribs) No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<templatestyles src="Documentation/styles.css"/><div class="lw-documentation"> | |||
<div class="lw-documentation-header"> | |||
'''Documentation''' | |||
<span class="lw-documentation-links">[{{fullurl:{{FULLPAGENAME}}/doc|action=edit}} edit] · [{{fullurl:{{FULLPAGENAME}}/doc}} view] · [{{fullurl:{{FULLPAGENAME}}|action=purge}} purge]</span> | |||
</div> | |||
= | <div class="lw-documentation-body"> | ||
{{{{FULLPAGENAME}}/doc}} | |||
</div> | |||
< | </div><noinclude> | ||
This template transcludes the <code>/doc</code> subpage of any template that calls it. | |||
= | To document a template, create its <code>/doc</code> subpage (e.g. [[Template:Main/doc]]) and place <code><nowiki>{{Documentation subpage}}</nowiki></code> at the top. | ||
{{ | [[Category:Documentation templates]] | ||
</noinclude> | |||
{{ | |||
{{ | |||
</ | |||
[[Category: | |||
Latest revision as of 19:49, 2 April 2026
This template transcludes the /doc subpage of any template that calls it.
To document a template, create its /doc subpage (e.g. Template:Main/doc) and place {{Documentation subpage}} at the top.