Template:Improve documentation/doc
{{#ifeq:doc |doc
|
{{#ifeq:show |show
| {{#invoke:Message box|mbox}} }}{{#if: | | {{#ifexist:Template:Improve documentation | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
{{#invoke:Message box|ombox}}{{#ifeq:{{ safesubst:#if: {{safesubst:#invoke:Ns has subpages|main}}
| {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Template:Improve documentation/doc}}|1}} | {{ safesubst:#if:|{{{1}}}|Template:Improve documentation/doc}}
}}|Wikipedia:Template messages||{{#ifexpr:{{#if:Template|0|1}}+{{#ifeq:no|yes|0|1}}
|{{#if:Templates with missing or incorrect documentation |{{#ifexist:Category: Templates with missing or incorrect documentation ||}} |[[Category:{{#if: |{{{5}}}|}}]]}}{{#if: |[[Category:{{{4}}}]]}}}}}}
Usage
For use on template/module documentation pages whose content is missing, insufficient, incomplete and/or inaccurate.
Example: {{{{#if: |subst:}}Improve documentation{{#if:date=December 2024 ||date=December 2024}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||…}}}}
The template adds pages to Category:Templates with missing or incorrect documentation.
TemplateData
<templatedata> { "params": { "talk": {}, "date": {} }, "description": "Tags templates with inadequate or nonexistent documentations.", "format": "block" } </templatedata>
See also
- {{Documentation}}
- Wikipedia:Template documentation
- {{#if: |}}{{#if: |
|{{#if:|
}} }}{{#if: |}}{{#if: |}}{{#if: | |{{}}{{#if: |subst:}}{{#if: |}}{{#if: || {{#if: |{}}[[:{{#ifeq:O|: |Ombox |{{#switch:
| = Template:{{#if:Ombox|Ombox|Improve documentation/doc}}
| #default = {{#if:Ombox|Ombox|Template:Improve documentation/doc}}
}}}}|}}{{#if: |{}}{{#if:Ombox|Ombox|{{#ifeq:Template|Template|Improve documentation/doc|Template:Improve documentation/doc}}}}{{#if: |}}}{{#if: | |]]{{#if: |}}}}}{{#if: |}}{{#if: |}}{{#if: |}}{{#ifeq:¬|¬ | ||{{{2}}}}}{{#ifeq:¬|¬ | ||{{{3}}}}}{{#ifeq:¬|¬ | ||{{{4}}}}}{{#ifeq:¬|¬ | ||{{{5}}}}}{{#ifeq:¬|¬ | ||{{{6}}}}}{{#ifeq:¬|¬ | ||{{{7}}}}}{{#ifeq:¬|¬ | ||{{{8}}}}}{{#ifeq:¬|¬ | ||{{{9}}}}}{{#ifeq:¬|¬ | ||{{{10}}}}}{{#ifeq:¬|¬ | ||{{{11}}}}}{{#if: ||…}}{{#if: |}}{{#if: | |}}}}{{#if: |}}{{#if: |
}}{{#if: |}} the template transcluded into this one. It provides the basic framework.