Template:Doc/start: Difference between revisions
Jump to navigation
Jump to search
m (1 revision imported: Imported from default loadout) |
(Add support for Category:Module documentation) |
||
Line 1: | Line 1: | ||
< | <onlyinclude><!-- | ||
-->{{#vardefine: | -->{{#vardefine: docType | {{<!-- | ||
--> | -->#switch: {{SUBJECTSPACE}}<!-- | ||
-->| Template = template<!-- | |||
-->| Module = module<!-- | |||
-->| User = user template<!-- | |||
-->| #default = template<!-- | |||
-->}} }}<!-- | |||
-->{{#if: {{{1|}}} | {{#ifeq: {{SUBPAGENAME}} | doc | | <div style="height: 1em; clear: both; margin-top: 5px;"></div> }} }}<!-- | -->{{#if: {{{1|}}} | {{#ifeq: {{SUBPAGENAME}} | doc | | <div style="height: 1em; clear: both; margin-top: 5px;"></div> }} }}<!-- | ||
Line 11: | Line 16: | ||
--><div class="plainlinks" style="float: right; margin-left: 5px">[[{{fullurl:{{FULLPAGENAME}}|action=purge}} purge]]</div></div><!-- | --><div class="plainlinks" style="float: right; margin-left: 5px">[[{{fullurl:{{FULLPAGENAME}}|action=purge}} purge]]</div></div><!-- | ||
-->{{#if: {{{nodoc|}}} | '''This | -->{{#if: {{{nodoc|}}} | '''This {{#var:docType}} has no documentation. If you know how to use this {{#var:docType}}, please add some.'''<!-- | ||
-->{{#ifeq: {{SUBPAGENAME}} | doc | | [[Category: | -->{{#ifeq: {{SUBPAGENAME}} | doc | | [[Category:{{#var:docType}}s with no documentation|{{BASEPAGENAME}}]]}} |<!-- | ||
-->{{#if: {{{baddoc|}}} | '''This | -->{{#if: {{{baddoc|}}} | '''This {{#var:docType}}'s documentation has been marked as bad. Please improve or add to it.'''<!-- | ||
-->{{#ifeq: {{SUBPAGENAME}} | doc | | [[Category: | -->{{#ifeq: {{SUBPAGENAME}} | doc | | [[Category:{{#var:docType}}s with bad documentation|{{BASEPAGENAME}}]]}}<!-- | ||
-->}} }}</ | -->}} }}</onlyinclude></div>[[Category:Documentation templates]] |