Difference between revisions of "Template:Navbar"
Jump to navigation
Jump to search
(use fontcolor parameter for div per talk page request) |
(code updates) |
||
Line 1: | Line 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|}}}"><!-- | ||
Line 11: | Line 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>]<!-- |
-->}}<!-- | -->}}<!-- | ||
Line 19: | Line 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>]<!-- |
-->}}<!-- | -->}}<!-- | ||
Line 25: | Line 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> |