Template:Party index link: Difference between revisions

use {{Color box}} instead of a manual style to be consistent with the rest of en.wiki
(use {{Color box}} instead of a manual style to be consistent with the rest of en.wiki)
Line 1:
<span{{Color stylebox|border="display:inline;width:1em;height:1.5em;border:1px solid {{{border|black}}};background:|{{#invoke:politicalPolitical party|fetch|{{{1}}}|color}};">&emsp;</span>&nbsp;}} [[{{{1}}}|{{#if: {{{2|}}} | {{{2}}} | {{#invoke:politicalPolitical party|fetch|{{{1}}}|shortname}}}}]]&nbsp;&nbsp;{{#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using party index link with unknown parameters|_VALUE_{{PAGENAME}}]]|preview=Page using [[Template:Party index link]] with unknown parameter "_VALUE_"| 1 | 2 | border }}<noinclude>!--
-->{{#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using party index link with unknown parameters|_VALUE_{{PAGENAME}}]]|preview=Page using [[Template:Party index link]] with unknown parameter "_VALUE_"| 1 | 2 | border }}<noinclude>
{{documentation}}
{{Documentation}}
</noinclude>
Anonymous user