Les pages de droit public principalement ainsi que toutes autres branches de droit - Webmestre : Bertrand GRONDIN
Ce wiki possède 556 articles.

Modèle:Translated tag : Différence entre versions

De Gdn
Aller à : navigation, rechercher
m (fix syntax)
m (123 versions depuis commons:Modèle:Translated tag)
 
(4 révisions intermédiaires par 3 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
 
{{#ifeq:{{NAMESPACE}}|{{ns:4}}||<!-- ignore commons namespace for demonstration pages -->
 
{{#ifeq:{{NAMESPACE}}|{{ns:4}}||<!-- ignore commons namespace for demonstration pages -->
{{#switch:{{FULLPAGENAME}} | {{{ns|{{{ns1|{{ns:10}}}}}}}}:{{{page|{{{page1}}}}}}{{{sub|/{{SUBPAGENAME}}}}} | {{{ns2|{{ns:10}}}}}:{{{page2}}}{{{sub|/{{SUBPAGENAME}}}}} | {{{ns2|{{ns:10}}}}}:{{{page2}}}{{{sub|/{{SUBPAGENAME}}}}} | {{{ns3|{{ns:10}}}}}:{{{page3}}}{{{sub|/{{SUBPAGENAME}}}}} = <!-- for any exceptions -->
+
{{#switch:{{FULLPAGENAME}}  
|#default =
+
|{{{ns|{{{ns1|{{ns:10}}}}}}}}:{{ucfirst:{{{page|{{{page1}}}}}}}}{{{sub|/{{SUBPAGENAME}}}}}
 +
|{{{ns2|{{ns:10}}}}}:{{ucfirst:{{{page2}}}}}{{{sub|/{{SUBPAGENAME}}}}}
 +
|{{{ns3|{{ns:10}}}}}:{{ucfirst:{{{page3}}}}}{{{sub|/{{SUBPAGENAME}}}}}
 +
|{{{ns4|{{ns:10}}}}}:{{ucfirst:{{{page4}}}}}{{{sub|/{{SUBPAGENAME}}}}} = <!-- for any exceptions -->
 +
|#default =
 
<div style="text-align:center">
 
<div style="text-align:center">
{{#ifexist:Template:Translated tag/{{{lang|{{SUBPAGENAME}}}}}|{{Translated tag/{{{lang|{{SUBPAGENAME}}}}}|{{{template|{{BASEPAGENAME}}}}}}}}}<br />
+
{{#ifexist:Template:Translated tag/{{{lang|{{SUBPAGENAME}}}}}|{{Translated tag/{{{lang|{{SUBPAGENAME}}}}}|{{{template|{{BASEPAGENAME}}}}}}}}}
{{lang|en|'''''NOTE:'' Please do ''not'' use this template directly! This is just for translation. Use {{tl|{{{template|{{BASEPAGENAME}}}}}}} instead!'''}}
+
<div>{{lang|en|'''''NOTE:'' Please do ''not'' use this template directly! This is just for translation. Use {{tl|{{{template|{{BASEPAGENAME}}}}}}} instead!'''}}</div>
 
</div><!--
 
</div><!--
 
   auto-categorizer
 
   auto-categorizer
Ligne 12 : Ligne 16 :
 
-->{{{localcat|[[Category:{{#ifexist:Template:Translated tag/local category-{{SUBPAGENAME}}
 
-->{{{localcat|[[Category:{{#ifexist:Template:Translated tag/local category-{{SUBPAGENAME}}
 
     |{{translated tag/local category-{{SUBPAGENAME}}|{{{1}}}}}
 
     |{{translated tag/local category-{{SUBPAGENAME}}|{{{1}}}}}
     |Commons-{{SUBPAGENAME}} }}]]}}}<!--
+
     |Commons templates-{{SUBPAGENAME}} }}]]}}}<!--
 
-->[[Category:Translated {{#switch:{{{1}}}
 
-->[[Category:Translated {{#switch:{{{1}}}
 
     |cleanup = media cleanup templates
 
     |cleanup = media cleanup templates
Ligne 24 : Ligne 28 :
 
     |user = user templates
 
     |user = user templates
 
     |templates needing categories}}]]
 
     |templates needing categories}}]]
  }}<!-- check for misuse -->{{#ifeq:{{NAMESPACE}}|Image|[[Category:Images using translated tags]]}}
+
  }}<!-- check for misuse -->{{#ifeq:{{NAMESPACE}}|File|[[Category:Images using translated tags]]}}
 
}}
 
}}
 
}}}}<noinclude>{{documentation}}</noinclude>
 
}}}}<noinclude>{{documentation}}</noinclude>

Version actuelle en date du 19 mars 2009 à 10:43

Modèle:En/type

[modifier]

Documentation
Modèle:Translated tag/doc