Difference between revisions of "Template:Documentation file"
(added Category:File namespace templates) |
m (1 revision: Trying again with text/plain changed to CONTENT_FORMAT_TEXT) |
(No difference)
|
Latest revision as of 00:20, 2 November 2013
{{
{{#switch: {{#if: | | {{#if: | {{#ifeq:| | talk | }} | {{#ifeq:template|template talk | talk | template }} }} }}
| main | = ambox | talk = tmbox | user = ombox | project = ombox | file | image = imbox | mediawiki = ombox | template = ombox | help = ombox | category = cmbox | book = ombox | extension = ombox | other | #default = ombox
}}
| type = notice
| image =
| imageright =
| class =
| style =
| textstyle =
| text = This file is used in the documentation of the MediaWiki software. Please refrain from deleting it unless absolutely necessary and ideally only after finding (or uploading) a suitable replacement.
This tag, {{{{#if:|subst:}}Documentation file{{#if:|
|{{{2}}}
}}{{#if:|
|{{{3}}}
}}{{#if:|
|{{{4}}}
}}{{#if:|
|{{{5}}}
}}{{#if:|
|{{{6}}}
}}{{#if:|
|{{{7}}}
}}{{#if:|
|{{{8}}}
}}{{#if:|
|{{{9}}}
}}{{#if:|
|{{{10}}}
}}{{#if:|
|{{{11}}}
}}{{#if:|
|...
}}}}, should be removed if this file is no longer actively being used in any MediaWiki documentation.'
| small =
| smallimage =
| smallimageright =
| smalltext =
| subst =
| date =
| name =
}}{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|File | file | other }} }}
| file | image =
| other | #default = }} {{#ifeq: Documentation file | sandbox | <div style="clear:both" /> Template:Template sandbox notice
}}|
|| ¬ = {{#switch: Template | Template = 50px Template documentation | Module = 50px Module documentation | File = Summary | #default = Documentation }} | #default = ¬ }}{{ #if: == Purpose ==
This template adds the above notice to the page, and places the image in Category:Files used by MediaWiki documentation.
Usage
{{Documentation file}}
See also
|
|
{{
#if: {{#ifexist:
{{#if:
|
| {{#switch: Template
|
| File
| MediaWiki
| Category = Template talk
| #default = Template
}}:{{#switch: Documentation file | sandbox | testcases = Documentation file | #default = Documentation file }}/doc
}} | yes }} | [[[{{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template
}}:{{#switch: Documentation file | sandbox | testcases = Documentation file | #default = Documentation file }}/doc
}}|view]]] [[{{fullurl:{{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template
}}:{{#switch: Documentation file | sandbox | testcases = Documentation file | #default = Documentation file }}/doc
}}|action=edit}} edit]] [[{{fullurl:{{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template
}}:{{#switch: Documentation file | sandbox | testcases = Documentation file | #default = Documentation file }}/doc
}}|action=history}} history]] [
}}:{{#switch: Documentation file | sandbox | testcases = Documentation file | #default = Documentation file }}/doc
}}| action=edit&preload={{ #if: | | {{#ifeq: Template | File | Template:Documentation/preload-filespace | Template:Documentation/preload }} }} }} create]] }} }}</div>
}} {{#switch: {{#if:== Purpose ==
This template adds the above notice to the page, and places the image in Category:Files used by MediaWiki documentation.
Usage
{{Documentation file}}
See also
- Template:Extension file
- Template:Linked image
- Template:UnusedImage
- Template:Required image|1|0}}{{#if:|1|0}}{{#ifexist:|1|0}}{{#ifexist:{{#switch: Template
| | File | MediaWiki | Category = Template talk | #default = Template
}}:{{#switch: Documentation file | sandbox | testcases = Documentation file | #default = Documentation file }}/doc|1|0}} | 0000 | 0100 | 0010 | 0101 = | 0001 | 0011 = {{ {{#switch: Template
| | File | MediaWiki | Category = Template talk | #default = Template
}}:{{#switch: Documentation file | sandbox | testcases = Documentation file | #default = Documentation file }}/doc }} | 0110 | 0111 = {{ }} | 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110 | 1111 = == Purpose ==
This template adds the above notice to the page, and places the image in Category:Files used by MediaWiki documentation.
Usage
{{Documentation file}}
See also
}}
</div>{{#if:
{{#ifeq: | off | | {{#ifexist: {{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template
}}:{{#switch: Documentation file | sandbox | testcases = Documentation file | #default = Documentation file }}/doc
}} | yes }}{{ #switch: Template | User | Template = yes }} }}|
{{#if:none | none | [[File:{{#switch: | warning = Cmbox deletion.png | editnotice = Imbox notice.png | system | #default = Imbox notice.png }}|40x40px|link=|alt=]]}} |
}}
{{#if:
| | {{#if: {{#ifexist: {{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Documentation file | sandbox | testcases = Documentation file | #default = Documentation file }}/doc }} | yes }} | The above documentation is transcluded from [[{{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Documentation file | sandbox | testcases = Documentation file | #default = Documentation file }}/doc }}]]. ([{{fullurl:{{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Documentation file | sandbox | testcases = Documentation file | #default = Documentation file }}/doc }}|action=edit}} edit] | [{{fullurl:{{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Documentation file | sandbox | testcases = Documentation file | #default = Documentation file }}/doc }}|action=history}} history]) }}:{{#switch: Documentation file | sandbox | testcases = Documentation file | #default = Documentation file }}/sandbox | [[{{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Documentation file | sandbox | testcases = Documentation file | #default = Documentation file }}/sandbox|sandbox]] ([{{fullurl: {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Documentation file | sandbox | testcases = Documentation file | #default = Documentation file }}/sandbox | action=edit }} edit] | diff) | sandbox ([{{fullurl: {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Documentation file | sandbox | testcases = Documentation file | #default = Documentation file }}/sandbox | action=edit&preload=Template:Documentation/preload-sandbox }} create] | [{{fullurl: {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Documentation file | sandbox | testcases = Documentation file | #default = Documentation file }}/sandbox | action=edit&preload=Template%3A%7B%7B%23switch%3A+Documentation+file%0A%7C+sandbox%0A%7C+testcases+%3D+Documentation+file%0A%7C+%23default+%3D+Documentation+file%0A%7D%7D&summary=Create+sandbox+version+of+%5B%5BTemplate%3A%7B%7B%23switch%3A+Documentation+file%0A%7C+sandbox%0A%7C+testcases+%3D+Documentation+file%0A%7C+%23default+%3D+Documentation+file%0A%7D%7D%5D%5D }} mirror]) }} and {{ #ifexist: {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Documentation file | sandbox | testcases = Documentation file | #default = Documentation file }}/testcases | [[{{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Documentation file | sandbox | testcases = Documentation file | #default = Documentation file }}/testcases|testcases]] ([{{fullurl: {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Documentation file | sandbox | testcases = Documentation file | #default = Documentation file }}/testcases | action=edit }} edit]) | testcases ([{{fullurl: {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Documentation file | sandbox | testcases = Documentation file | #default = Documentation file }}/testcases | action=edit&preload=Template:Documentation/preload-testcases }} create]) }} pages. This template adds the above notice to the page, and places the image in Category:Files used by MediaWiki documentation. Usage{{Documentation file}} See also| yes }} | | Please add categories to the [[{{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Documentation file | sandbox | testcases = Documentation file | #default = Documentation file }}/doc }}|/doc]] subpage. }}{{#switch: Template | File = | Template = [[Special:PrefixIndex/Template:{{#switch: Documentation file | sandbox | testcases = Documentation file | #default = Documentation file }}/|Subpages of this template]]. | #default = [[Special:PrefixIndex/Template:{{#switch: Documentation file | sandbox | testcases = Documentation file | #default = Documentation file }}/|Subpages of this page]]. }} }}{{#ifexist:Template:Documentation file/Print |}} |
{{#if:
| {{{imageright}}} |
| | warning | editnotice | system =
| #default =}} }}{{#if:
{{#switch: Documentation file | doc | testcases = strange }}
| [[Category:Wikipedia pages with strange ((documentation)) usage|Template:Main otherTemplate:Documentation file]]
}}