« Modèle:Documentation » : différence entre les versions
Aller à la navigation
Aller à la recherche
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.) |
test0>Happy-melon (add check-pages to test for usage of obscure parameters) |
||
Ligne 43 : | Ligne 43 : | ||
}}</div> | }}</div> | ||
{{{content|{{ {{ #ifexist: {{{1|{{Documentation/docname}}}}} | {{{1|{{Documentation/docname}}}}} | ns:0 }} }}}}} | {{{content|{{ {{ #ifexist: {{{1|{{Documentation/docname}}}}} | {{{1|{{Documentation/docname}}}}} | ns:0 }} }}}}} | ||
</div> | </div><span style="display:none">{{#if:{{{heading|}}}|[[Template:Documentation/exists/heading]]}}{{#if:{{{heading-padding|}}}|[[Template:Documentation/exists/heading-padding]]}}{{#if:{{{heading-margin|}}}|[[Template:Documentation/exists/heading-margin]]}}{{#if:{{{content|}}}|[[Template:Documentation/exists/content]]}}{{#if:{{{preload-doc|}}}|[[Template:Documentation/exists/preload-doc]]}}{{#if:{{{heading-style|}}}|[[Template:Documentation/exists/heading-style]]}}{{#if:{{{transcluded|}}}|[[Template:Documentation/exists/transcluded]]}}{{#if:{{{sandbox-testcases|}}}|[[Template:Documentation/exists/sandbox-testcases]]}}</span> |
Version du 15 avril 2008 à 10:47
{{
- 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 }} }}