« Modèle:Documentation » : différence entre les versions
Contenu supprimé Contenu ajouté
imported>Jomegat m 7 revisions from w:Template:Documentation |
imported>Jomegat restore pre-import version |
||
Ligne 1 :
<!--
-->{{#ifeq: {{SUBPAGENAME}} | sandbox▼
Automatically add {{pp-template}} to protected templates.
-->{{template other
| {{#ifeq: {{PROTECTIONLEVEL:move}} | sysop
| {{pp-template
| {{#if: {{PROTECTIONLEVEL:edit}}
| {{pp-template
| <!--Not protected, or only semi-move-protected-->
}}
Ligne 15 ⟶ 11 :
}}<!--
Start of green doc box.
-->{{documentation/
| 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
| docspace =
{{#switch: {{SUBJECTSPACE}}
| {{ns:0}}
| {{ns:File}}
| {{ns:MediaWiki}}
| {{ns:Category}} = {{TALKSPACE}}
| #default = {{SUBJECTSPACE}}
}}▼
<!--For debug purposes-->
| not-docspace =
{{#switch: {{SUBJECTSPACE}}
| {{ns:0}}
| {{ns:File}}
| {{ns:MediaWiki}}
| {{ns:Category}} = {{SUBJECTSPACE}}
| #default = {{TALKSPACE}}
}}
▲}}
▲| link box = {{{link box|}}} <!--So "link box=off" works-->
| 1 = {{{1|}}} <!--Other docname, if fed-->
<!--The namespace is added in /
| template page =
| sandbox
| testcases = {{BASEPAGENAME}}
| #default = {{PAGENAME}}
}}
▲ End of green doc box
<!-- Add categories and interwikis to the /doc subpage, not here! -->
|