« Modèle:Navbar » : différence entre les versions
Aller à la navigation
Aller à la recherche
imported>Rex the first (added multifunctions) |
imported>Rex the first (inside space) |
||
Ligne 1 : | Ligne 1 : | ||
<includeonly>{{ | <includeonly>{{ | ||
#if:{{{nodiv|}}}| <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|}}}| <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;">}} | ||
This box: | {{#if:{{{short|}}}||This box:}} | ||
[{{fullurl:Template:{{{1}}}}} <span style="color:#002bb8;" title="View this template.">{{ | [{{fullurl:Template:{{{1}}}}} <span style="color:#002bb8;" title="View this template.">{{ | ||
#if:{{{short|}}}|v|view}}</span>] | #if:{{{short|}}}|v|view}}</span>] | ||
& | · | ||
[{{fullurl:Template_talk:{{{1}}}}} <span style="color:#002bb8;" title="Discussion about this template.">{{ | [{{fullurl:Template_talk:{{{1}}}}} <span style="color:#002bb8;" title="Discussion about this template.">{{ | ||
#if:{{{short|}}}|t|talk}}</span>] | #if:{{{short|}}}|t</span>]·|talk</span>] · }}</span>] | ||
[{{fullurl:Template:{{{1}}}|action=edit}} <span style="color:#002bb8;" title="You can edit this template. Please use the preview button before saving.">{{ | [{{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|edit}}</span>] | #if:{{{short|}}}|e|edit}}</span>] |
Version du 26 juillet 2006 à 19:27
Usage
Copyable empty example: {{Tnavbar|Name of Template|short= |nodiv= }} inside a given template to adds view • talk • edit navigational functionality.
{{Tnavbar|Tnavbar}} gives Modèle:Tnavbar
Note to editors
This template is likely represented across hundreds of pages (if not thousands); please tread lightly when editing here.
Examples / See also
{{Tnavbar|Name of Template|short= |nodiv= }}
Required parameters
- {{Tnavbar|Name of Template}} the template name is required.
Optional parameters
Optional parameter | Produces... | |
---|---|---|
Divides into a separate section: {{Tnavbar|Tnavbar|short=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|short=1|nodiv=1}} Good for "blending" into text. | → | Modèle:Tnavbar Good for "blending" into text. |