« Modèle:Navbar » : différence entre les versions
code updates
test0>CBM (use fontcolor parameter for div per talk page request) |
test0>MZMcBride (code updates) |
||
Ligne 1 : | Ligne 1 : | ||
<includeonly>{{#if:{{{nodiv|}}} |<!--then: | |||
--> <span class="noprint plainlinksneverexpand" style="white-space:nowrap; font-weight:normal; font-size:xx-small; {{{style|}}}"> |<!--else: | --> <span class="noprint plainlinksneverexpand" style="white-space:nowrap; font-weight:normal; font-size:xx-small; {{{style|}}}"> |<!--else: | ||
--><div class="noprint plainlinksneverexpand" style="background-color:transparent; padding:0; font-weight:normal; font-size:xx-small; color:{{#if:{{{fontcolor|}}}|{{{fontcolor}}}|#000}}; white-space:nowrap; {{{style|}}}"><!-- | --><div class="noprint plainlinksneverexpand" style="background-color:transparent; padding:0; font-weight:normal; font-size:xx-small; color:{{#if:{{{fontcolor|}}}|{{{fontcolor}}}|#000}}; white-space:nowrap; {{{style|}}}"><!-- | ||
Ligne 11 : | Ligne 9 : | ||
-->{{#if:{{{mini|}}} |<!--then: | -->{{#if:{{{mini|}}} |<!--then: | ||
-->[[Template:{{{1}}}|<span title="View this template" {{#if:{{{fontcolor|}}}|style="color:{{{fontcolor}}};"}}>v</span>]] <span style="font-size:80%;">•</span> [[Template talk:{{{1}}}|<span {{#ifexist: Template talk:{{{1}}}|<!--do nothing-->{{#if:{{{fontcolor|}}}|style="color:{{{fontcolor}}};"}}|style="color:{{#if:{{{fontcolor|}}}|{{{fontcolor}}}|#002bb8}};"}} title="Discussion about this template">d</span>]] <span style="font-size:80%;">•</span> [{{fullurl: | -->[[Template:{{{1}}}|<span title="View this template" {{#if:{{{fontcolor|}}}|style="color:{{{fontcolor}}};"}}>v</span>]] <span style="font-size:80%;">•</span> [[Template talk:{{{1}}}|<span {{#ifexist: Template talk:{{{1}}}|<!--do nothing-->{{#if:{{{fontcolor|}}}|style="color:{{{fontcolor}}};"}}|style="color:{{#if:{{{fontcolor|}}}|{{{fontcolor}}}|#002bb8}};"}} title="Discussion about this template">d</span>]] <span style="font-size:80%;">•</span> [{{fullurl:{{ns:10}}:{{{1}}}|action=edit}} <span style="color:{{#if:{{{fontcolor|}}}|{{{fontcolor}}}|#002bb8}};" title="You can edit this template. Please use the preview button before saving.">e</span>]<!-- | ||
-->}}<!-- | -->}}<!-- | ||
Ligne 19 : | Ligne 17 : | ||
-->{{#ifeq:{{{mini|}}}{{{miniv|}}}{{{viewplain|}}} |<!--equals:-->1 |<!--then:(nothing)--> |<!--else: | -->{{#ifeq:{{{mini|}}}{{{miniv|}}}{{{viewplain|}}} |<!--equals:-->1 |<!--then:(nothing)--> |<!--else: | ||
-->[[Template:{{{1}}}|<span title="View this template" {{#if:{{{fontcolor|}}}|style="color:{{{fontcolor}}};"}}>view</span>]] <span style="font-size:80%;">•</span> [[Template talk:{{{1}}}|<span {{#ifexist: Template talk:{{{1}}}|<!--do nothing-->{{#if:{{{fontcolor|}}}|style="color:{{{fontcolor}}};"}}|style="color:{{#if:{{{fontcolor|}}}|{{{fontcolor}}}|#002bb8}};"}} title="Discussion about this template">talk</span>]] <span style="font-size:80%;">•</span> [{{fullurl: | -->[[Template:{{{1}}}|<span title="View this template" {{#if:{{{fontcolor|}}}|style="color:{{{fontcolor}}};"}}>view</span>]] <span style="font-size:80%;">•</span> [[Template talk:{{{1}}}|<span {{#ifexist: Template talk:{{{1}}}|<!--do nothing-->{{#if:{{{fontcolor|}}}|style="color:{{{fontcolor}}};"}}|style="color:{{#if:{{{fontcolor|}}}|{{{fontcolor}}}|#002bb8}};"}} title="Discussion about this template">talk</span>]] <span style="font-size:80%;">•</span> [{{fullurl:{{ns:10}}:{{{1}}}|action=edit}} <span style="color:{{#if:{{{fontcolor|}}}|{{{fontcolor}}}|#002bb8}};" title="You can edit this template. Please use the preview button before saving.">edit</span>]<!-- | ||
-->}}<!-- | -->}}<!-- | ||
Ligne 25 : | Ligne 23 : | ||
--></span> |<!--else: | --></span> |<!--else: | ||
--></div><!-- | --></div><!-- | ||
-->}}</includeonly><noinclude> | -->}}</includeonly><noinclude> | ||
{{pp-template|small=yes}} | |||
<hr/><center>'''{{purge}}''' the Wikipedia cache of this template.<hr/></center><br/> | |||
{{/doc}} | {{/doc}} | ||
<!--Note: Metadata (interwiki links, etc) for this template should be put on [[Template:Tnavbar/doc]]--> | <!--Note: Metadata (interwiki links, etc) for this template should be put on [[Template:Tnavbar/doc]]--> | ||
</noinclude> | </noinclude> |