Template:Doc/start: Difference between revisions
Jump to navigation
Jump to search
(Add “view”, “edit”, and “history” links) |
m (Use File:Template-info.svg) |
||
(One intermediate revision by the same user not shown) | |||
Line 12: | 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. | -->[[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%;"><!-- | ||
-->{{#switch: {{SUBJECTSPACE}}<!-- | -->{{#switch: {{SUBJECTSPACE}}<!-- | ||
Line 21: | Line 21: | ||
--></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 |<!-- | ||
-->[[[{{FULLPAGENAME}}/doc|view]]] <!-- | -->[[[{{FULLPAGENAME}}/doc|view]]] <!-- | ||
-->[[{{fullurl:{{FULLPAGENAME}}/doc|action=edit}} edit]] <!-- | -->[[{{fullurl:{{FULLPAGENAME}}/doc|action=edit}} edit]] <!-- | ||
-->[[{{fullurl:{{FULLPAGENAME}}/doc|action=history}} history]] <!-- | -->[[{{fullurl:{{FULLPAGENAME}}/doc|action=history}} history]] <!-- | ||
--><nowiki/>}} | --><nowiki/>}} }}<!-- | ||
-->[[{{fullurl:{{FULLPAGENAME}}|action=purge}} purge]]<!-- | -->[[{{fullurl:{{FULLPAGENAME}}|action=purge}} purge]]<!-- | ||
--></div><!-- | --></div><!-- | ||
Line 31: | 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}}]]}}<!-- | ||
-->}} }}<!-- | -->}} }}<!-- |