« Modèle:Documentation » : différence entre les versions
Aller à la navigation
Aller à la recherche
test0>Coban |
test0>Davidgothberg Moved {{pp-semi-template|small=yes}} and {{intricate template}} to the doc subpage instead, since they are not part of the template code and it looks better too. |
||
| Ligne 2 : | Ligne 2 : | ||
#ifeq: {{SUBPAGENAME}} | sandbox | #ifeq: {{SUBPAGENAME}} | sandbox | ||
| {{Template sandbox notice}} | | {{Template sandbox notice}} | ||
}} | }} | ||
</noinclude><div class="template-documentation">{{ | </noinclude><div class="template-documentation">{{ | ||
#if: {{{heading|Documentation}}} | #if: {{{heading|Documentation}}} | ||
Version du 14 mars 2008 à 18:17
{{
- ifeq: Documentation | sandbox
| Modèle:Template sandbox notice
}}
{{
#if: Documentation|
{{
#ifexist: Modèle:Documentation/docname |[[{{fullurl:Modèle:Documentation/docname|action=edit}} edit]] |{{ #if: | |[[{{fullurl:Modèle:Documentation/docname|action=edit&preload=Template:Documentation/preload}} create]] }}}} Documentation
}}
{{
#ifeq: show | show
|{{
#ifexist: Modèle:Documentation/docname
|This documentation is transcluded from [[Modèle:Documentation/docname]]. ([{{fullurl:Modèle:Documentation/docname|action=edit}} edit] | [{{fullurl:Modèle:Documentation/docname|action=history}} history])
}}
|
}}{{
#switch: Documentation
|sandbox=
|testcases=
|#default={{
#switch: Modèle/show
| Modèle/show | Utilisateur/show ={{
#ifexist: {{ #rel2abs: /sandbox }}
| This template has a sandbox ([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} edit]) {{
#ifexist: {{ #rel2abs: /testcases }}
| and testcases ([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])
|}} for editors to experiment.
|{{
#ifexist: {{ #rel2abs: /testcases }}
| This template has testcases ([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit]) for editors to experiment.
}}
}}
|
}}
}}{{ {{ #ifexist: Modèle:Documentation/docname | Modèle:Documentation/docname | ns:0 }} }}