Template:Doc/start: Difference between revisions

From CrossCode Wiki
Jump to navigation Jump to search
m (1 revision imported: Imported from default loadout)
(Add support for Category:Module documentation)
Line 1: Line 1:
<includeonly><!--
<onlyinclude><!--


-->{{#vardefine: nodoc | {{{nodoc}}} }}<!--
-->{{#vardefine: docType | {{<!--
-->{{#vardefine: baddoc | {{{baddoc}}} }}<!--
  -->#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">&#91;[{{fullurl:{{FULLPAGENAME}}|action=purge}} purge]&#93;</div></div><!--
--><div class="plainlinks" style="float: right; margin-left: 5px">&#91;[{{fullurl:{{FULLPAGENAME}}|action=purge}} purge]&#93;</div></div><!--


-->{{#if: {{{nodoc|}}} | '''This template has no documentation. If you know how to use this template, please add some.'''<!--
-->{{#if: {{{nodoc|}}} | '''This {{#var:docType}} has no documentation. If you know how to use this {{#var:docType}}, please add some.'''<!--
-->{{#ifeq: {{SUBPAGENAME}} | doc | | [[Category:Templates with no documentation|{{BASEPAGENAME}}]]}} |<!--
-->{{#ifeq: {{SUBPAGENAME}} | doc | | [[Category:{{#var:docType}}s with no documentation|{{BASEPAGENAME}}]]}} |<!--
-->{{#if: {{{baddoc|}}} | '''This template's documentation has been marked as bad. Please improve or add to it.'''<!--
-->{{#if: {{{baddoc|}}} | '''This {{#var:docType}}'s documentation has been marked as bad. Please improve or add to it.'''<!--
-->{{#ifeq: {{SUBPAGENAME}} | doc | | [[Category:Templates with bad documentation|{{BASEPAGENAME}}]]}}<!--
-->{{#ifeq: {{SUBPAGENAME}} | doc | | [[Category:{{#var:docType}}s with bad documentation|{{BASEPAGENAME}}]]}}<!--
-->}} }}</includeonly><noinclude>[[Category:Documentation templates]]</noinclude>
-->}} }}</onlyinclude></div>[[Category:Documentation templates]]

Revision as of 16:23, 11 April 2021