« Modèle:Navbar » : différence entre les versions
Aller à la navigation
Aller à la recherche
test0>Netscott (rv, having looked at User:Laughing_Man/sandbox/Tnavbar-header with red talk links, they are extremely distracting. See Template_talk:Tnavbar-header#Testing for commentary.) |
test0>David Kernow (trying to make code more transparent) |
||
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|}}}|[[Template:{{{1}}}|<span 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|}}}|<!---equals:-->1 | |||
|<!--then:--> | |||
|<!--else:-->This box: | |||
}} | |||
{{#if:{{{mini|}}} | |||
|<!--then:-->[[Template:{{{1}}}|<span title="View this template.">v</span>]]{{·}} [[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>] | |||
}} | |||
{{#if:{{{mini|}}} | |||
|<!--then:--> | |||
|<!--else:-->[[Template:{{{1}}}|<span title="View this template.">view</span>]]{{·}} [[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|}}} | |||
|<!--then:--></span> | |||
|<!--else:--></div>}}</includeonly><noinclude> | |||
{{/doc}} | |||
<!--Note: Interwiki links for this template should be put on [[Template:Tnavbar/doc]]--> | <!--Note: Interwiki links for this template should be put on [[Template:Tnavbar/doc]]--> | ||
</noinclude> | </noinclude> |