Template:Documentation: Difference between revisions
Appearance
imported>Evilissimo Blanked the page |
imported>Evilissimo No edit summary |
||
| Line 1: | Line 1: | ||
{{documentation/core2 | |||
| heading = {{{heading|¬}}} <!--Empty but defined means no header--> | |||
| heading-style = {{{heading-style|}}} | |||
| content = {{{content|}}} | |||
| link box = {{{link box|}}} <!--So "link box=off" works--> | |||
<!--Some namespaces must have the /doc, /sandbox and /testcases | |||
in talk space--> | |||
| docspace = | |||
{{#switch: {{SUBJECTSPACE}} | |||
| {{ns:0}} | |||
| {{ns:File}} | |||
| {{ns:MediaWiki}} | |||
| {{ns:Category}} = {{TALKSPACE}} | |||
| #default = {{SUBJECTSPACE}} | |||
}} | |||
| 1 = {{{1|}}} <!--Other docname, if fed--> | |||
<!--The namespace is added in /core2--> | |||
| template page = | |||
{{#switch: {{SUBPAGENAME}} | |||
| sandbox | |||
| testcases = {{BASEPAGENAME}} | |||
| #default = {{PAGENAME}} | |||
}} | |||
}}<!--End of green doc box--><noinclude> | |||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | |||
</noinclude> | |||
Revision as of 22:09, 12 March 2012
{{#ifeq: ¬ |
|
|{{
#if: | | {{ #if: {{#ifexist: {{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Documentation | sandbox | testcases = Documentation | #default = Documentation }}/doc }} | yes }} | [[{{fullurl:{{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Documentation | sandbox | testcases = Documentation | #default = Documentation }}/doc }}|action=edit}} edit]] [] | [[{{fullurl:{{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Documentation | sandbox | testcases = Documentation | #default = Documentation }}/doc }}| action=edit&preload={{ #ifeq: Template | File | Template:Documentation/preload-filespace | Template:Documentation/preload }} }} create]] }} }} {{#switch: ¬ | ¬ = {{#switch: Template | Template = File:Template-info.svg Template documentation | File = Summary | #default = Documentation }} | #default = ¬}}
}} {{#if: | | {{#if: {{#ifexist:
{{#if:
|
| {{#switch: Template
|
| File
| MediaWiki
| Category = Template talk
| #default = Template
}}:{{#switch: Documentation
| sandbox
| testcases = Documentation
| #default = Documentation
}}/doc
}}
| yes
}}
| {{ {{#if:
|
| {{#switch: Template
|
| File
| MediaWiki
| Category = Template talk
| #default = Template
}}:{{#switch: Documentation
| sandbox
| testcases = Documentation
| #default = Documentation
}}/doc
}} }}
}}
}}
{{#if:
{{#ifeq: | off
|
| {{#ifexist:
{{#if:
|
| {{#switch: Template
|
| File
| MediaWiki
| Category = Template talk
| #default = Template
}}:{{#switch: Documentation
| sandbox
| testcases = Documentation
| #default = Documentation
}}/doc
}}
| yes
}}{{
#switch: Template
| User
| Template = yes
}}
}}
|
{{#ifeq:none|none | | }} {{#if: |}}
{{#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
| sandbox
| testcases = Documentation
| #default = Documentation
}}/doc
}}
| yes
}}
|
The above documentation is transcluded from [[{{#if:
|
| {{#switch: Template
|
| File
| MediaWiki
| Category = Template talk
| #default = Template
}}:{{#switch: Documentation
| sandbox
| testcases = Documentation
| #default = Documentation
}}/doc
}}]]. ([{{fullurl:{{#if:
|
| {{#switch: Template
|
| File
| MediaWiki
| Category = Template talk
| #default = Template
}}:{{#switch: Documentation
| sandbox
| testcases = Documentation
| #default = Documentation
}}/doc
}}|action=edit}} edit] | [{{fullurl:{{#if:
|
| {{#switch: Template
|
| File
| MediaWiki
| Category = Template talk
| #default = Template
}}:{{#switch: Documentation
| sandbox
| testcases = Documentation
| #default = Documentation
}}/doc
}}|action=history}} history])
}} | {{{imageright}}} |
{{#switch:
| | warning | editnotice | system =
| #default =
This message box is using an invalid "type=" parameter and needs fixing.
}} }}{{#if:
{{#switch: Documentation
| doc
| testcases = strange
}}
|
}}