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

De wiki-spl
Aller à la navigation Aller à la recherche
test0>Netscott
m (→‎Usage : +"plain=")
test0>Netscott
m (reposition)
Ligne 1 : Ligne 1 :
<includeonly>{{#if:{{{nodiv|}}}|&nbsp;<span class="noprint plainlinksneverexpand" id="Tnavbar" style="white-space: nowrap; font-size:xx-small;">|<div class="noprint plainlinksneverexpand" id="Tnavbar-nodiv" style="background-color: transparent; padding: 0; font-size:xx-small; color:#000000; white-space: nowrap;">}}{{#if:{{{mini|}}}|[{{fullurl:Template:{{{1}}}}} <span style="color:#002bb8;" title="View this template.">v</span>]&middot;[{{fullurl:Template_talk:{{{1}}}}} <span style="color:#002bb8;" title="Discussion about this template.">d</span>]&middot;[{{fullurl:Template:{{{1}}}|action=edit}} <span style="color:#002bb8;" title="You can edit this template. Please use the preview button before saving.">e</span>]}}{{#ifeq:{{{mini|}}}{{{plain|}}}|1||This box:&nbsp;}}{{#if:{{{mini|}}}||[{{fullurl:Template:{{{1}}}}} <span style="color:#002bb8;" title="View this template.">view</span>] • [{{fullurl:Template_talk:{{{1}}}}} <span style="color:#002bb8;" title="Discussion about this template.">talk</span>] • [{{fullurl:Template:{{{1}}}|action=edit}} <span style="color:#002bb8;" title="You can edit this template. Please use the preview button before saving.">edit</span>]}}{{#if:{{{nodiv|}}}|</span>&nbsp;|</div>}}</includeonly><noinclude>
<includeonly>{{#ifeq:{{{mini|}}}{{{plain|}}}|1||This box:&nbsp;}}{{#if:{{{nodiv|}}}|&nbsp;<span class="noprint plainlinksneverexpand" id="Tnavbar" style="white-space: nowrap; font-size:xx-small;">|<div class="noprint plainlinksneverexpand" id="Tnavbar-nodiv" style="background-color: transparent; padding: 0; font-size:xx-small; color:#000000; white-space: nowrap;">}}{{#if:{{{mini|}}}|[{{fullurl:Template:{{{1}}}}} <span style="color:#002bb8;" title="View this template.">v</span>]&middot;[{{fullurl:Template_talk:{{{1}}}}} <span style="color:#002bb8;" title="Discussion about this template.">d</span>]&middot;[{{fullurl:Template:{{{1}}}|action=edit}} <span style="color:#002bb8;" title="You can edit this template. Please use the preview button before saving.">e</span>]}}{{#if:{{{mini|}}}||[{{fullurl:Template:{{{1}}}}} <span style="color:#002bb8;" title="View this template.">view</span>] • [{{fullurl:Template_talk:{{{1}}}}} <span style="color:#002bb8;" title="Discussion about this template.">talk</span>] • [{{fullurl:Template:{{{1}}}|action=edit}} <span style="color:#002bb8;" title="You can edit this template. Please use the preview button before saving.">edit</span>]}}{{#if:{{{nodiv|}}}|</span>&nbsp;|</div>}}</includeonly><noinclude>
==Usage==
==Usage==
Copyable empty example:
Copyable empty example:

Version du 30 juillet 2006 à 08:29

Usage

Copyable empty example: {{Tnavbar|Name of Template|mini= |nodiv= |plain= }} inside a given template to add Tnavbar navigational functionality.

{{Tnavbar|Tnavbar}} gives Modèle:Tnavbar

Note to editors

This template is likely represented across thousands of pages; please tread lightly when editing here. Conducting sufficient sandbox testing to establish the validity of edits relative to Tnavbar is strongly encouraged prior to attempting to integrate changes.

Examples / See also

{{Tnavbar|Name of Template|mini= |nodiv= |plain= }}

Required parameters

  • {{Tnavbar|Name of Template}} the template name is required.

Optional parameters

Optional parameter Produces...
Divides into a separate section: {{Tnavbar|Tnavbar|mini=1}} like so. Divides into a separate section: Modèle:Tnavbar like so.
{{Tnavbar|Tnavbar|nodiv=1}} Good for "blending" into text. Modèle:Tnavbar Good for "blending" into text.
{{Tnavbar|Tnavbar|mini=1|nodiv=1}} Good for "blending" into text. Modèle:Tnavbar Good for "blending" into text.
No "This box:" text. {{Tnavbar|Tnavbar|plain=1}} No "This box:" text. Modèle:Tnavbar
Blended no "This box:" text. {{Tnavbar|Tnavbar|plain=1|nodiv=1}} Blended no "This box:" text. Modèle:Tnavbar

cs:Šablona:Tnavbar