Difference between revisions of "Template:Tnavbar"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | <includeonly>{{#if:{{{nodiv|}}}|<!--then: | + | <includeonly><!-- |
− | --> <span class="noprint plainlinksneverexpand" style="white-space:nowrap; font-weight:normal; font-size:xx-small; | + | |
− | --><div class="noprint plainlinksneverexpand" style="background-color:transparent; padding:0 | + | -->{{#if:{{{nodiv|}}} |<!--then: |
+ | --> <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:#000000; white-space:nowrap; {{{style|}}}"><!-- | ||
-->}}<!-- | -->}}<!-- | ||
− | -->{{#ifeq:{{{mini|}}}{{{miniv|}}}{{{plain|}}}{{{viewplain|}}}|<!--equals:-->1|<!--then: | + | -->{{#ifeq:{{{mini|}}}{{{miniv|}}}{{{plain|}}}{{{viewplain|}}}|<!--equals:-->1 |<!--then:(nothing)--> |<!--else: |
− | -->|<!--else: | ||
-->This box: <!-- | -->This box: <!-- | ||
-->}}<!-- | -->}}<!-- | ||
− | -->{{# | + | -->{{#if:{{{mini|}}} |<!--then: |
− | -->[[Template:{{{1}}}|<span title="View this template" style="{{{ | + | -->[[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}}}|action=edit}} <span style="color:{{#if:{{{fontcolor|}}}|{{{fontcolor}}}|#002bb8}};" title="You can edit this template. Please use the preview button before saving.">e</span>]<!-- |
− | -->[[Template:{{{1}}}|<span title="View this template" style="{{{ | + | -->}}<!-- |
+ | |||
+ | -->{{#ifeq:{{{miniv|}}}{{{viewplain|}}} |<!--equals:-->1 |<!--then: | ||
+ | -->[[Template:{{{1}}}|<span title="View this template" {{#if:{{{fontcolor|}}}|style="color:{{{fontcolor}}};"}}>v{{#if:{{{viewplain|}}}|iew}}</span>]]<!-- | ||
+ | -->|<!--else:(nothing)--> |}}<!-- | ||
+ | |||
+ | -->{{#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}}}|action=edit}} <span style="color:{{#if:{{{fontcolor|}}}|{{{fontcolor}}}|#002bb8}};" title="You can edit this template. Please use the preview button before saving.">edit</span>]<!-- | ||
-->}}<!-- | -->}}<!-- | ||
− | -->{{#if:{{{nodiv|}}}|<!--then: | + | -->{{#if:{{{nodiv|}}} |<!--then: |
− | --></span> |<!--else: | + | --></span> |<!--else: |
--></div><!-- | --></div><!-- | ||
-->}}</includeonly> | -->}}</includeonly> |