« Modèle:Documentation » : différence entre les versions
Aller à la navigation
Aller à la recherche
test0>WOSlinker (copy over preload feature as per edit request on talk page) |
test0>Plastikspork (Reducing transclusion depth per discussion on talk page) |
||
Ligne 15 : | Ligne 15 : | ||
}}<!-- | }}<!-- | ||
Start of green doc box. | Start of green doc box. | ||
-->{{documentation/ | -->{{documentation/core | ||
| preload = {{{preload|}}} <!--Allow custom preloads--> | | preload = {{{preload|}}} <!--Allow custom preloads--> | ||
| heading = {{{heading|¬}}} <!--Empty but defined means no header--> | | heading = {{{heading|¬}}} <!--Empty but defined means no header--> | ||
Ligne 22 : | Ligne 22 : | ||
| link box = {{{link box|}}} <!--So "link box=off" works--> | | link box = {{{link box|}}} <!--So "link box=off" works--> | ||
<!-- | | docpage = | ||
{{#if: {{{1|}}} | |||
| | | {{{1|}}} | ||
| {{#switch: {{SUBJECTSPACE}} | |||
| {{ns:0}} | |||
| {{ns:File}} | |||
| {{ns:MediaWiki}} | |||
| {{ns:Category}} = {{TALKSPACE}} | |||
| #default = {{SUBJECTSPACE}} | |||
}}:{{#switch: {{SUBPAGENAME}} | |||
| sandbox | |||
| testcases = {{BASEPAGENAME}} | |||
| #default = {{PAGENAME}} | |||
}}/doc | |||
}} | |||
| doc exist = | |||
{{#ifexist: | |||
{{#if: {{{1|}}} | |||
| {{{1|}}} <!--Other docname fed--> | |||
| {{#switch: {{SUBJECTSPACE}} | |||
| {{ns:0}} | | {{ns:0}} | ||
| {{ns:File}} | | {{ns:File}} | ||
Ligne 31 : | Ligne 47 : | ||
| {{ns:Category}} = {{TALKSPACE}} | | {{ns:Category}} = {{TALKSPACE}} | ||
| #default = {{SUBJECTSPACE}} | | #default = {{SUBJECTSPACE}} | ||
}}:{{#switch: {{SUBPAGENAME}} | |||
| sandbox | |||
| testcases = {{BASEPAGENAME}} | |||
| #default = {{PAGENAME}} | |||
}}/doc | |||
}} | |||
| yes | |||
}} | |||
| docname fed = | |||
{{#if: {{{1|}}} | |||
| yes | |||
}} | }} | ||
| | | sandbox = | ||
{{#switch: {{SUBJECTSPACE}} | |||
| {{ns:0}} | |||
| {{ns:File}} | |||
| {{ns:MediaWiki}} | |||
| {{ns:Category}} = {{TALKSPACE}} | |||
| #default = {{SUBJECTSPACE}} | |||
}}:{{#switch: {{SUBPAGENAME}} | |||
| sandbox | |||
| testcases = {{BASEPAGENAME}} | |||
| #default = {{PAGENAME}} | |||
}}/sandbox | |||
| testcases = | |||
{{#switch: {{SUBJECTSPACE}} | |||
| {{ns:0}} | |||
| {{ns:File}} | |||
| {{ns:MediaWiki}} | |||
| {{ns:Category}} = {{TALKSPACE}} | |||
| #default = {{SUBJECTSPACE}} | |||
}}:{{#switch: {{SUBPAGENAME}} | |||
| sandbox | |||
| testcases = {{BASEPAGENAME}} | |||
| #default = {{PAGENAME}} | |||
}}/testcases | |||
| template page = | | template page = | ||
{{#switch: {{SUBPAGENAME}} | {{NAMESPACE}}:{{#switch: {{SUBPAGENAME}} | ||
| sandbox | | sandbox | ||
| testcases = {{BASEPAGENAME}} | | testcases = {{BASEPAGENAME}} |
Version du 13 octobre 2010 à 03:40
{{#ifeq: Documentation | sandbox
|
Modèle:Template sandbox notice
}}Modèle:Template otherModèle:Documentation/core