Template:Doc/start: Difference between revisions
Jump to navigation
Jump to search
MDFW>SungHerSong m (Text replacement - "<noinclude>Category:Documentation Templates</noinclude>" to "{{Doc/end}}") |
MDFW>Adkuate mNo edit summary |
||
Line 1: | Line 1: | ||
<onlyinclude><!-- | <onlyinclude> | ||
<!-- | |||
{{#vardefine: nodoc | {{{nodoc}}} }} | |||
{{#vardefine: baddoc | {{{baddoc}}} }} | |||
--> | |||
{{#if: {{{1|}}} | {{#ifeq: {{SUBPAGENAME}} | doc | | <div style="height: 1em; clear: both; margin-top: 5px;"></div> }} }} | |||
-- | <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> | |||
{{#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}}]]}} | | |||
{{#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}}]]}} | |||
}} }}</onlyinclude>{{Doc/end}} | |||
Revision as of 08:24, August 16, 2023
Documentation
[purge]