Template:Navbar: Difference between revisions
Content added Content deleted
Enwikipedia>Edokter (Undid revision 274723151 by Happy-melon (talk) That breaks parameter precedence, and 'style' and 'fontstyle' apply to different spans.) |
m (242 revisions imported: fixing lua errors) |
||
(31 intermediate revisions by 14 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{# |
<includeonly>{{#invoke:Navbar|navbar}}</includeonly><noinclude> |
||
--> <span class="noprint plainlinksneverexpand navbar" style="white-space:nowrap; font-weight:normal; font-size:xx-small; {{{fontstyle|}}}; {{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}} {{{style|}}}">|<!--else: |
|||
--><div class="noprint plainlinksneverexpand navbar" style="background-color:transparent; padding:0; white-space:nowrap; font-weight:normal; font-size:xx-small; {{{fontstyle|}}}; {{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}} {{{style|}}}"><!-- |
|||
-->}}<!-- |
|||
-->{{#ifeq:{{{mini|}}}{{{miniv|}}}{{{plain|}}}{{{viewplain|}}}|<!--equals:-->1|<!--then: |
|||
-->|<!--else: |
|||
-->This box: <!-- |
|||
-->}}<!-- |
|||
-->{{#ifeq:{{{miniv|}}}{{{viewplain|}}}|<!--equals:-->1|<!--then: |
|||
-->[[Template:{{{1}}}|<span title="View this template" style="{{{fontstyle|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}">{{#if:{{{viewplain|}}}|view|v}}</span>]]|<!--else: |
|||
-->[[Template:{{{1}}}|<span title="View this template" style="{{{fontstyle|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}">{{#if:{{{mini|}}}|v|view}}</span>]] <span style="font-size:80%;">•</span> [[Template talk:{{{1}}}|<span style="color:#002bb8;{{{fontstyle|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}" title="Discussion about this template">{{#if:{{{mini|}}}|d|talk}}</span>]]{{#ifeq:{{{noedit}}}|1|| <span style="font-size:80%;">•</span> [{{fullurl:{{ns:10}}:{{{1}}}|action=edit}} <span style="color:#002bb8;{{{fontstyle|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}" title="You can edit this template. Please use the preview button before saving.">{{#if:{{{mini|}}}|e|edit}}</span>]}}<!-- |
|||
-->}}<!-- |
|||
-->{{#if:{{{nodiv|}}}|<!--then: |
|||
--></span> |<!--else: |
|||
--></div><!-- |
|||
-->}}{{#if:{{{fontstyle|}}}{{{fontcolor|}}}|[[Category:Tnavbar templates using obscure parameters|{{{1|}}}]]}}</includeonly><noinclude> |
|||
{{pp-template|small=yes}} |
|||
{{documentation}} |
{{documentation}} |
||
</noinclude> |
</noinclude> |