Template:Documentation: Difference between revisions
Template page
More actions
Eloise Zomia (talk | contribs) Created page with "{{Documentation subpage}} == Usage == <code><nowiki>{{Reflist}}</nowiki></code> This template formats the reference list at the bottom of articles. It provides consistent styling and optional multi-column layouts for pages with many references. == Parameters == {| class="wikitable" |- ! Parameter !! Description !! Default |- | <code>colwidth</code> || Column width in em units. References will flow into multiple columns on wide screens. Use <code>full</code> to force si..." |
Eloise Zomia (talk | contribs) No edit summary |
||
| (2 intermediate revisions 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.