Template:Documentation: Difference between revisionsGive feedback
Jump to navigation
Jump to search
No edit summary |
m 15 revisions imported |
||
| (7 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
<templatestyles src="Documentation/styles.css" /> | |||
<div class="template-documentation"><!-- | |||
--><div class="documentation-header"><!-- | |||
| | --><div class="documentation-title"> {{#switch:{{NAMESPACE}}|Template=Template documentation|#default=Documentation}} <span class="plainlinks documentation-links"> {{#if:{{{contents|}}}|[[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]] [[{{fullurl:{{FULLPAGENAME}}|action=purge}} purge]]|{{#ifexist:{{FULLPAGENAME}}/doc|[[[{{FULLPAGENAME}}/doc|view]]] [[{{fullurl:{{FULLPAGENAME}}/doc|action=edit}} edit]] [[{{fullurl:{{FULLPAGENAME}}/doc|action=history}} history]] [[{{fullurl:{{FULLPAGENAME}}|action=purge}} purge]]|[[[{{FULLPAGENAME}}/doc|create]]]}}}} | ||
| | </span></div><!-- | ||
--></div> | |||
{{#if:{{{contents|}}}|{{{contents}}}|{{#ifexist:{{FULLPAGENAME}}/doc|{{:{{FULLPAGENAME}}/doc}}|{{{1|No documentation available.}}}}}}}<!-- | |||
--></div> | |||
Latest revision as of 17:12, 25 August 2026
This template uses CSS found at Documentation/styles.css.
Usage
[edit source]By default, this template displays the /doc subpage if it exists, or shows a link to create one if it does not.
<noinclude>
{{Documentation}}
</noinclude>
For custom documentation, use the contents parameter to override the /doc subpage.
<noinclude>
{{Documentation
| contents = <!-- Custom documentation -->
}}
</noinclude>