Difference between revisions of "Template:Documentation file"

From GridPACK
Jump to: navigation, search
(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

}}
{{#ifeq: ¬ |

|

|
{{#switch: ¬
 | ¬ =   
   {{#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]] [purge] 
   | 
     [[{{fullurl:{{#if: 
 | 
 | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template

}}:{{#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

 | 
 | 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
   }}
 }}
| {{#ifeq:none|none | | }} {{#if: |

}}

{{#switch:

| | warning | editnotice | system =

| #default =
This message box is using an invalid "type=" parameter and needs fixing.
[[Category:Wikipedia message box parameter needs fixing|Template:Main otherTemplate:Documentation file]]

}} }}{{#if:

 {{#switch: Documentation file
 | doc
 | testcases = strange
 }}

| [[Category:Wikipedia pages with strange ((documentation)) usage|Template:Main otherTemplate:Documentation file]]

}}