Template:Doc/start: Difference between revisions

From CrossCode Wiki
Jump to navigation Jump to search
m (Format template source)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude><!--
<onlyinclude><!--


-->{{#vardefine: docType | {{<!--
-->{{#vardefine: docType | {{#switch: {{SUBJECTSPACE}}<!--
-->#switch: {{SUBJECTSPACE}}<!--
-->| Template = template<!--
-->| Template = template<!--
-->| Module  = module<!--
-->| Module  = module<!--
Line 13: Line 12:
--><div class="doc"><!--
--><div class="doc"><!--
--><div class="doc-header"><!--
--><div class="doc-header"><!--
-->[[File:Template-{{#if: {{{nodoc|}}} | no | {{#if: {{{baddoc|}}} | bad }} }}info.png|50px|bottom|link=]] <!--
-->[[File:Template-{{#if: {{{nodoc|}}} | no | {{#if: {{{baddoc|}}} | bad }} }}info.svg|50px|bottom|link=]] <!--
--><span style="font-weight: bold; font-size: 125%;"><!--
--><span style="font-weight: bold; font-size: 125%;"><!--
-->Documentation<!--
-->{{#switch: {{SUBJECTSPACE}}<!--
-->| Template = Template Documentation<!--
-->| Module  = Module Documentation<!--
-->| #default = Documentation<!--
-->}}<!--
--></span><!--
--></span><!--
--><div class="plainlinks" style="float: right; margin-left: 5px"><!--
--><div class="plainlinks" style="float: right; margin-left: 5px"><!--
-->{{#ifeq: {{SUBPAGENAME}} | doc | | {{#ifexist: {{FULLPAGENAME}}/doc |<!--
-->&#91;[[{{FULLPAGENAME}}/doc|view]]&#93; <!--
-->&#91;[{{fullurl:{{FULLPAGENAME}}/doc|action=edit}} edit]&#93; <!--
-->&#91;[{{fullurl:{{FULLPAGENAME}}/doc|action=history}} history]&#93; <!--
--><nowiki/>}} }}<!--
-->&#91;[{{fullurl:{{FULLPAGENAME}}|action=purge}} purge]&#93;<!--
-->&#91;[{{fullurl:{{FULLPAGENAME}}|action=purge}} purge]&#93;<!--
--></div><!--
--></div><!--
Line 23: Line 31:


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

Latest revision as of 10:17, 22 May 2021

File:Template-info.svg Template Documentation