« Modèle:Documentation » : différence entre les versions
Aller à la navigation
Aller à la recherche
test0>ConradPino (copy from sandbox; hide "...trancluded from /doc." message view link) |
test0>Gurch (if there isn't any, nobody cares. stop spamming "NO sandbox and NO testcases" on every template page when both of these things are pointless) |
||
Ligne 40 : | Ligne 40 : | ||
|{{ns:template}}/show|{{ns:user}}/show=<!-- show /sandbox /testcases -->This template has {{ | |{{ns:template}}/show|{{ns:user}}/show=<!-- show /sandbox /testcases -->This template has {{ | ||
#ifexist: {{ #rel2abs: /sandbox }} | #ifexist: {{ #rel2abs: /sandbox }} | ||
|<!-- /sandbox -->a [[/sandbox|sandbox]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} edit])</small> {{ | |<!-- /sandbox -->This template has a [[/sandbox|sandbox]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} edit])</small> {{ | ||
#ifexist: {{ #rel2abs: /testcases }} | #ifexist: {{ #rel2abs: /testcases }} | ||
|<!-- /sandbox AND /testcases -->and [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])</small> | |<!-- /sandbox AND /testcases -->and [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit]) for editors to experiment.</small> | ||
|<!-- /sandbox AND no /testcases --> | |<!-- /sandbox AND no /testcases --> for editors to experiment.}} | ||
|<!-- no /sandbox -->{{ | |||
|<!-- no /sandbox --> | |||
#ifexist: {{ #rel2abs: /testcases }} | #ifexist: {{ #rel2abs: /testcases }} | ||
|<!-- no /sandbox AND /testcases --> | |<!-- no /sandbox AND /testcases -->This template has [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit]) for editors to experiment.</small> | ||
|<!-- no /sandbox AND no /testcases --> | |<!-- no /sandbox AND no /testcases -->}} | ||
}} | |||
}} | |||
|<!-- hide /sandbox /testcases --> | |<!-- hide /sandbox /testcases --> | ||
}} | }} |
Version du 23 novembre 2007 à 05:50
{{ #ifeq: Documentation | sandbox
| Modèle:Template sandbox notice | Modèle:Pp-semi-template
}} Modèle:Intricate {{
#ifeq: Modèle:Documentation | Template:Documentation |
}}
{{
#if: Documentation|
{{
#ifexist: Modèle:Documentation/docname |[[{{fullurl:Modèle:Documentation/docname}} view]] [[{{fullurl:Modèle:Documentation/docname|action=edit}} edit]] |{{ #if: | |[[{{fullurl:Modèle:Documentation/docname|action=edit&preload=Template:Documentation/preload}} edit]] }}}} 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=This template has {{ #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. | 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 }} }}