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

De wiki-spl
Aller à la navigation Aller à la recherche
test0>ExE Boss
(→‎Optional parameters : Add namespaced example)
m (280 versions importées)
 
(3 versions intermédiaires par 3 utilisateurs non affichées)
Ligne 26 : Ligne 26 :
--></small></span><noinclude>
--></small></span><noinclude>
{{Documentation|content=
{{Documentation|content=
{{Uses TemplateStyles|Module:Navbar/styles.css}}
<translate>
<translate>
== Usage == <!--T:11-->
== Usage == <!--T:11-->
</translate>
{{Uses TemplateStyles|Module:Navbar/styles.css}}


<translate>
=== General === <!--T:12-->
=== General === <!--T:12-->


Ligne 93 : Ligne 91 :
{{!}} {{navbar|navbar/doc|brackets=1}}
{{!}} {{navbar|navbar/doc|brackets=1}}
{{!}}-
{{!}}-
{{!}} <translate><!--T:40--> Custom namespace</translate>
{{!}} <translate><!--T:45--> Custom namespace</translate>
{{!}} {{tlx|Navbar|2=''<translate>namespaced template name</translate>''|3=plain{{=}}1|4=brackets{{=}}1}}
{{!}} {{tlx|Navbar|2=''<translate><!--T:46--> namespaced template name</translate>''|3=plain{{=}}1|4=brackets{{=}}1}}
{{!}} {{navbar|User:Example|plain=1|brackets=1}}
{{!}} {{navbar|User:Example|plain=1|brackets=1}}
{{!}}{{)}}
{{!}}{{)}}

Dernière version du 14 novembre 2021 à 14:21

<languages/> <templatestyles src="Module:Navbar/styles.css"/>{{#if:||{{#if:|{{{text}}}|<translate> This box:</translate>}} }}{{#if:|[}}[[Modèle:Transclude|<span style="" title="<translate nowrap> View this template</translate>">{{#if:|<translate> v</translate>|<translate> view</translate>}}]] · [{{fullurl:{{TALKPAGENAME:Modèle:Transclude}}}} <span style="" title="<translate nowrap> Discuss this template</translate>">{{#if:|<translate> d</translate>|<translate> talk</translate>}}]{{#if:|| · [{{fullurl:Modèle:Transclude|action=edit}} <span style="" title="<translate nowrap> Edit this template</translate>">{{#if:|<translate> e</translate>|<translate> edit</translate>}}]}}{{#if:|]}} {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}{{#if:Modèle:Uses TemplateStyles <translate>

Usage

General

When one of the following examples is placed inside a given [[<tvar|1>Special:MyLanguage/Help:Templates</>|template]], it adds navbar navigational functionality: </translate>

Modèle:Tlx
Modèle:Tlx
Modèle:Tlx

<translate> The <tvar| [[Category:Template documentation pages{{#translation:}}]] }}