« Modèle:Documentation » : différence entre les versions
Aller à la navigation
Aller à la recherche
test0>Happy-melon (complete rewrite, removing most optional parameters (I've checked every transclusion: they're all unused) and incorporating code from Template:Documentation, template, which can now be redirected) |
test0>Happy-melon (fix) |
||
Ligne 22 : | Ligne 22 : | ||
|{{ns:user}}= | |{{ns:user}}= | ||
{{#ifexist: {{FULLPAGENAME}}/sandbox | {{#ifexist: {{FULLPAGENAME}}/sandbox | ||
|This template has a [[/sandbox|sandbox]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} edit])</small> | |This template has a [[/sandbox|sandbox]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} edit])</small><!-- | ||
{{#ifexist: {{FULLPAGENAME}}/testcases | -->{{#ifexist: {{FULLPAGENAME}}/testcases | ||
|and [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])</small>}} for editors to experiment. | |and [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])</small>}} for editors to experiment. | ||
|{{#ifexist: {{FULLPAGENAME}}/testcases | |{{#ifexist: {{FULLPAGENAME}}/testcases |
Version du 15 avril 2008 à 22:14
{{#ifeq:μ|
||
{{#ifeq:μ|μ
}} |{{#ifexist: Modèle:Documentation/docname
|[{{fullurl:Modèle:Documentation/docname|action=edit}} edit]]
|[{{fullurl:Modèle:Documentation/docname|action=edit&preload=Template:Documentation/preload}} create]
}}
}} {{#if:|{{{heading}}}|{{#ifeq:Modèle|Modèle| Template documentation|Documentation}}}}{{#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 |Modèle |Utilisateur= {{#ifexist: Modèle:Documentation/sandbox |This template has a sandbox ([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} edit]){{#ifexist: Modèle:Documentation/testcases |and testcases ([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])}} for editors to experiment. |{{#ifexist: Modèle:Documentation/testcases |This template has testcases ([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit]) for editors to experiment.}} }}}}}}
{{#if:|{{{content}}}|{{#ifexist:Modèle:Documentation/docname | {{ Modèle:Documentation/docname }} }}}}