Template:Doc/start: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 4: | Line 4: | ||
{{#vardefine: baddoc | {{{baddoc}}} }} | {{#vardefine: baddoc | {{{baddoc}}} }} | ||
--> | --> | ||
{{#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> }} }}<!-- | ||
<div class="doc"> | --><div class="doc"><div class="doc-header">[[File:Template-{{#if: {{{nodoc|}}} | no | {{#if: {{{baddoc|}}} | bad }} }}info.png|50px|bottom|link=]] <span style="font-weight: bold; font-size: 125%;">Documentation</span><div class="plainlinks" style="float: right; margin-left: 5px">[[{{fullurl:{{FULLPAGENAME}}|action=purge}} purge]]</div></div><!-- | ||
<div class="doc-header"> | |||
[[File:Template-{{#if: {{{nodoc|}}} | no | {{#if: {{{baddoc|}}} | bad }} }}info.png|50px|bottom|link=]] <span style="font-weight: bold; font-size: 125%;">Documentation</span> | |||
<div class="plainlinks" style="float: right; margin-left: 5px">[[{{fullurl:{{FULLPAGENAME}}|action=purge}} purge]]</div></div> | |||
{{#if: {{{nodoc|}}} | '''This template has no documentation. If you know how to use this template, please add some.''' | -->{{#if: {{{nodoc|}}} | '''This template has no documentation. If you know how to use this template, please add some.''' | ||
{{#ifeq: {{SUBPAGENAME}} | doc | | [[Category:Templates with no documentation|{{BASEPAGENAME}}]]}} | | {{#ifeq: {{SUBPAGENAME}} | doc | | [[Category:Templates with no documentation|{{BASEPAGENAME}}]]}} | | ||
{{#if: {{{baddoc|}}} | '''This template's documentation has been marked as bad. Please improve or add to it.''' | {{#if: {{{baddoc|}}} | '''This template'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:Templates with bad documentation|{{BASEPAGENAME}}]]}} | ||
}} }}</onlyinclude>{{Doc/end}} | }} }}</onlyinclude>{{Doc/end}} |