Jump to content

Template:Doc: Difference between revisions

778 bytes removed ,  24 April 2012
Adding ifexist + using Category:Documentation Required if doesnt
No edit summary
(Adding ifexist + using Category:Documentation Required if doesnt)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!--
<div style="border:1px solid #8A8; padding:5px; background-color:#F3FFF3; clear:both; margin:10px;">
  Automatically add {{template sandbox notice}} when on a /sandbox page.
{{#IFEXIST: {{FULLPAGENAME}}/doc |
-->{{#ifeq: {{SUBPAGENAME}} | sandbox
{{about|This documentation is imported from [[{{FULLPAGENAME}}/doc]]}}
| <div style="clear: both;"></div>{{template sandbox notice}}
{{/doc}}
}}<!--
|
  Automatically add {{pp-template}} to protected templates.
;This template requires [[/doc|documentation]] to be written.
-->{{template other
| {{#ifeq: {{PROTECTIONLEVEL:move}} | sysop
  | {{pp-template}}
  | {{#if: {{PROTECTIONLEVEL:edit}}
    | {{pp-template}}
    | <!--Not protected, or only semi-move-protected-->
    }}
  }}
}}<!--
  Start of green doc box.
-->{{doc/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
Please [[/doc|click here]] to write the instructions for this template.
    in talk space-->
[[Category:Documentation Required]]
| docspace =
}}
  {{#switch: {{SUBJECTSPACE}}
</div><noinclude><!-- When editing this template, please update Template:Doc-1-parameter accordingly as well. --></noinclude>
  | {{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>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.