Anonymous user
Template:Navbar: Difference between revisions
Extended style parameter to apply to all links as well (to accept other template's style parameters). The fontcolor parameter still overrides the style parameter.
Enwikipedia>MZMcBride (code updates) |
Enwikipedia>Edokter (Extended style parameter to apply to all links as well (to accept other template's style parameters). The fontcolor parameter still overrides the style parameter.) |
||
Line 9:
-->{{#if:{{{mini|}}} |<!--then:
-->[[Template:{{{1}}}|<span title="View this template" style="{{{style|}}};{{#if:{{{fontcolor|}}}|
-->}}<!--
-->{{#ifeq:{{{miniv|}}}{{{viewplain|}}} |<!--equals:-->1 |<!--then:
-->[[Template:{{{1}}}|<span title="View this template" {{#if:{{{fontcolor|}}}|style="{{{style|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}border:none;padding:0;margin:0;"}}>v{{#if:{{{viewplain|}}}|iew}}</span>]]<!--
-->|<!--else:(nothing)--> |}}<!--
-->{{#ifeq:{{{mini|}}}{{{miniv|}}}{{{viewplain|}}} |<!--equals:-->1 |<!--then:(nothing)--> |<!--else:
-->[[Template:{{{1}}}|<span title="View this template" style="{{{style|}}};{{#if:{{{fontcolor|}}}|
-->}}<!--
|