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

10 octets enlevés ,  27 juillet 2006
changed short to mini
imported>Rex the first
(rv I hope that has clarified things on the talk page)
imported>Rex the first
(changed short to mini)
Ligne 1 : Ligne 1 :
<includeonly>{{
<includeonly>{{
#if:{{{nodiv|}}}|&nbsp;<span class="noprint plainlinksneverexpand" style="white-space: nowrap; font-size:xx-small;">|<div class="noprint plainlinksneverexpand" id="Tnavbar" style="background-color: transparent; padding: 0; font-size:xx-small; color:#000000; white-space: nowrap;">}}
#if:{{{nodiv|}}}|&nbsp;<span class="noprint plainlinksneverexpand" style="white-space: nowrap; font-size:xx-small;">|<div class="noprint plainlinksneverexpand" id="Tnavbar" style="background-color: transparent; padding: 0; font-size:xx-small; color:#000000; white-space: nowrap;">}}
{{#if:{{{short|}}}||This box:}}[{{fullurl:Template:{{{1}}}}} <span style="color:#002bb8;" title="View this template.">{{
{{#if:{{{mini|}}}||This box:}}[{{fullurl:Template:{{{1}}}}} <span style="color:#002bb8;" title="View this template.">{{
#if:{{{short|}}}|v|&nbsp;view&nbsp;}}</span>]&middot;[{{fullurl:Template_talk:{{{1}}}}} <span style="color:#002bb8;" title="Discussion about this template.">{{
#if:{{{mini|}}}|v|&nbsp;view&nbsp;}}</span>]&middot;[{{fullurl:Template_talk:{{{1}}}}} <span style="color:#002bb8;" title="Discussion about this template.">{{
#if:{{{short|}}}|t|&nbsp;talk&nbsp;}}</span>]&middot;[{{fullurl:Template:{{{1}}}|action=edit}} <span style="color:#002bb8;" title="You can edit this template. Please use the preview button before saving.">{{
#if:{{{mini|}}}|t|&nbsp;talk&nbsp;}}</span>]&middot;[{{fullurl:Template:{{{1}}}|action=edit}} <span style="color:#002bb8;" title="You can edit this template. Please use the preview button before saving.">{{
#if:{{{short|}}}|e|&nbsp;edit}}</span>]
#if:{{{mini|}}}|e|&nbsp;edit}}</span>]
{{
{{
#if:{{{nodiv|}}}|</span>&nbsp;|</div>
#if:{{{nodiv|}}}|</span>&nbsp;|</div>
Ligne 10 : Ligne 10 :
==Usage==
==Usage==
Copyable empty example:
Copyable empty example:
<nowiki>{{Tnavbar|Name of Template|short= |nodiv= }}</nowiki> inside  a given [[Wikipedia:Navigational templates|template]] to adds '''view''' &bull;  '''talk''' &bull;  '''edit''' navigational functionality.  
<nowiki>{{Tnavbar|Name of Template|mini= |nodiv= }}</nowiki> inside  a given [[Wikipedia:Navigational templates|template]] to adds '''view''' &bull;  '''talk''' &bull;  '''edit''' navigational functionality.  


<nowiki>{{Tnavbar|Tnavbar}}</nowiki> gives {{Tnavbar|Tnavbar}}
<nowiki>{{Tnavbar|Tnavbar}}</nowiki> gives {{Tnavbar|Tnavbar}}
Ligne 18 : Ligne 18 :


==Examples / See also==
==Examples / See also==
<pre>{{Tnavbar|Name of Template|short= |nodiv= }}</pre>
<pre>{{Tnavbar|Name of Template|mini= |nodiv= }}</pre>


=== Required parameters ===
=== Required parameters ===
Ligne 27 : Ligne 27 :
! Optional parameter !! colspan=2 | Produces...
! Optional parameter !! colspan=2 | Produces...
|-
|-
|Divides into a separate section: <nowiki>{{Tnavbar|Tnavbar|short=1}}</nowiki> like so. || → || Divides into a separate section: {{Tnavbar|Tnavbar|short=1}} like so.  
|Divides into a separate section: <nowiki>{{Tnavbar|Tnavbar|mini=1}}</nowiki> like so. || → || Divides into a separate section: {{Tnavbar|Tnavbar|mini=1}} like so.  
|-
|-
|<nowiki>{{Tnavbar|Tnavbar|nodiv=1}}</nowiki> Good for "blending" into text. || → || {{Tnavbar|Tnavbar|nodiv=1}} Good for "blending" into text.
|<nowiki>{{Tnavbar|Tnavbar|nodiv=1}}</nowiki> Good for "blending" into text. || → || {{Tnavbar|Tnavbar|nodiv=1}} Good for "blending" into text.
|-
|-
|<nowiki>{{Tnavbar|Tnavbar|short=1|nodiv=1}}</nowiki> Good for "blending" into text. || → || {{Tnavbar|Tnavbar|short=1|nodiv=1}} Good for "blending" into text.
|<nowiki>{{Tnavbar|Tnavbar|mini=1|nodiv=1}}</nowiki> Good for "blending" into text. || → || {{Tnavbar|Tnavbar|mini=1|nodiv=1}} Good for "blending" into text.
|}
|}


[[cs:Šablona:Tnavbar]]
[[cs:Šablona:Tnavbar]]
[[Category:Internal link templates|{{PAGENAME}}]]</noinclude>
[[Category:Internal link templates|{{PAGENAME}}]]</noinclude>
Utilisateur anonyme