« Modèle:Documentation » : différence entre les versions

De wiki-spl
Aller à la navigation Aller à la recherche
test0>Amalthea
(Added purge link, per talk page)
test0>Davidgothberg
(Adding a space between [edit] and [purge], as in the /sandbox example by Thinboy00. Looks much better.)
Ligne 17 : Ligne 17 :
   |<div style="padding-bottom:3px; border-bottom: 1px solid #aaa; margin-bottom:1ex">{{#ifeq:{{{content|μ}}}|μ
   |<div style="padding-bottom:3px; border-bottom: 1px solid #aaa; margin-bottom:1ex">{{#ifeq:{{{content|μ}}}|μ
   |<span class="editsection plainlinks" id="doc_editlinks">{{#ifexist: {{{1|{{Documentation/docname}}}}}
   |<span class="editsection plainlinks" id="doc_editlinks">{{#ifexist: {{{1|{{Documentation/docname}}}}}
     |<!--**    /doc EXISTS**  -->[[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} edit]][{{purge|purge}}]  
     |<!--**    /doc EXISTS**  -->[[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} edit]] [{{purge|purge}}]  
     |<!--**/doc DOESN'T EXIST**-->[[{{fullurl:{{{1|{{Documentation/docname }}}}}|action=edit&preload=Template:Documentation/preload}} create]]
     |<!--**/doc DOESN'T EXIST**-->[[{{fullurl:{{{1|{{Documentation/docname }}}}}|action=edit&preload=Template:Documentation/preload}} create]]
   }}</span>
   }}</span>

Version du 18 mars 2009 à 02:09

{{#ifeq:μ|
 |
|
{{#ifeq:μ|μ
  |{{#ifexist: Modèle:Documentation/docname
   |[[{{fullurl:Modèle:Documentation/docname|action=edit}} edit]] [[[:Modèle:Purge]]] 
   |[[{{fullurl:Modèle:Documentation/docname|action=edit&preload=Template:Documentation/preload}} create]]
  }}
}} {{#if:|{{{heading}}}|{{#ifeq:Modèle|Modèle|Template-info.svg Template documentation|Documentation}}}}
}}

{{#if:|{{{content}}}|{{#ifexist:Modèle:Documentation/docname | {{ Modèle:Documentation/docname }} }}}}

Modèle:Pp-template