« Modèle:Navbar » : différence entre les versions
spacing between v, d, e, h chars to ease selection, +internal comments to aid reading code
(Added css '''style''' parameter to the template) |
test0>David Kernow (spacing between v, d, e, h chars to ease selection, +internal comments to aid reading code) |
||
Ligne 1 : | Ligne 1 : | ||
<includeonly>{{#if:{{{nodiv|}}}| <span class="noprint plainlinksneverexpand" id="Tnavbar-nodiv" style="white-space: nowrap; font-size:xx-small; {{{style|}}}">|<div class="noprint plainlinksneverexpand" id="Tnavbar" style="background-color: transparent; padding: 0; font-size:xx-small; color:#000000; white-space: nowrap; {{{style|}}}">}}{{#ifeq:{{{mini|}}}{{{plain|}}}|1||This box: }}{{#if:{{{mini|}}}|[{{fullurl:Template:{{{1}}}}} <span style="color:#002bb8;" title="View this template.">v</span>] | <includeonly>{{#if:{{{nodiv|}}}|<!---then:---> <span class="noprint plainlinksneverexpand" id="Tnavbar-nodiv" style="white-space:nowrap; font-size:xx-small; {{{style|}}}">|<!---else:---><div class="noprint plainlinksneverexpand" id="Tnavbar" style="background-color:transparent; padding:0; font-size:xx-small; color:#000000; white-space:nowrap; {{{style|}}}">}}<!------------>{{#ifeq:{{{mini|}}}{{{plain|}}}|1|<!---then:--->|<!---else:--->This box: }}<!------------>{{#if:{{{mini|}}}|<!---then:--->[{{fullurl:Template:{{{1}}}}} <span style="color:#002bb8;" title="View this template.">v</span>]{{·}} [{{fullurl:Template_talk:{{{1}}}}} <span style="color:#002bb8;" title="Discussion about this template.">d</span>]{{·}} [{{fullurl:Template:{{{1}}}|action=edit}} <span style="color:#002bb8;" title="You can edit this template. Please use the preview button before saving.">e</span>]{{·}} [{{fullurl:Template:{{{1}}}|action=history}} <span style="color:#002bb8;" title="Past versions of this template.">h</span>]}}<!------------>{{#if:{{{mini|}}}|<!---then:--->|<!---else:--->[{{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:{{{plain|}}}|<!---then:--->{{·}} [{{fullurl:Template:{{{1}}}|action=history}} <span style="color:#002bb8;" title="Past versions of this template.">hist</span>].}}}}<!------------>{{#if:{{{nodiv|}}}|<!---then:---></span> |<!---else:---></div>}}</includeonly><noinclude> | ||
{{/doc}} | |||
<!-- | <!--NB Add metadata to the /doc page linked above, not here - thanks!--> | ||
</noinclude> | </noinclude> |