« Modèle:Documentation » : différence entre les versions
Aller à la navigation
Aller à la recherche
test0>ConradPino (copy from sandbox: {{SUBJECTPAGENAME}}/doc -> {{Documentation/docname}}) |
test0>ConradPino (complete preload support) |
||
Ligne 20 : | Ligne 20 : | ||
#if: {{{content|}}} | #if: {{{content|}}} | ||
|<!-- has content --> | |<!-- has content --> | ||
|<!-- no content -->[[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit&preload=Template:Documentation/preload}} edit]] | |<!-- no content -->[[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit&preload={{{preload-doc|Template:Documentation/preload}}}}} edit]] | ||
}} | }} | ||
}}</span> <span style="{{{heading-style|font-size: 150%}}}">{{{heading|Documentation}}}</span></div> | }}</span> <span style="{{{heading-style|font-size: 150%}}}">{{{heading|Documentation}}}</span></div> | ||
Ligne 43 : | Ligne 43 : | ||
#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])</small> | ||
|<!-- /sandbox AND no /testcases -->but '''no''' [{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} testcases] | |<!-- /sandbox AND no /testcases -->but '''no''' [{{fullurl:{{ #rel2abs: /testcases }}|action=edit&preload={{{preload-testcases|Template:Documentation/preload/testcases}}}}} testcases] | ||
}} | }} | ||
|<!-- no /sandbox -->'''no''' [{{fullurl:{{ #rel2abs: /sandbox }}|action=edit&preload={{{preload-sandbox|Template:Documentation/preload/sandbox}}}}} sandbox] {{ | |<!-- no /sandbox -->'''no''' [{{fullurl:{{ #rel2abs: /sandbox }}|action=edit&preload={{{preload-sandbox|Template:Documentation/preload/sandbox}}}}} sandbox] {{ |
Version du 12 novembre 2007 à 11:40
{{ #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]]. ([[Modèle:Documentation/docname|view]] | [{{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 }} |a sandbox ([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} edit]) {{ #ifexist: {{ #rel2abs: /testcases }} |and testcases ([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit]) |but no [{{fullurl:{{ #rel2abs: /testcases }}|action=edit&preload=Template:Documentation/preload/testcases}} testcases] }} |no [{{fullurl:{{ #rel2abs: /sandbox }}|action=edit&preload=Template:Documentation/preload/sandbox}} sandbox] {{ #ifexist: {{ #rel2abs: /testcases }} |but has testcases ([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit]) |and no [{{fullurl:{{ #rel2abs: /testcases }}|action=edit&preload=Template:Documentation/preload/testcases}} testcases] }} }} for editors to experiment. | }}}}
{{ {{ #ifexist: Modèle:Documentation/docname | Modèle:Documentation/docname | ns:0 }} }}