Template:Navboxrow: Difference between revisions

From Imagisphere
Jump to navigation Jump to search
m (Navbox template)
(Implemented some shorthands for the "background" parameter.)
Tag: Reverted
Line 1: Line 1:
<tr>{{#if: {{{title|}}} | <th style="width: 25%; {{#if: {{{background|}}} | background:{{{background}}}; | }} {{#if: {{{color|}}} | color:{{{color}}}; | }}">{{{title}}}</th><td>{{{list}}}</td> | <td colspan="2" align="center">{{{list}}}</td> }}</tr><noinclude>
<tr>{{#if: {{{title|}}} | <th style="width: 25%; {{#if: {{{background|}}} | background:{{#switch:{{lc:{{{background}}}}}
<!-- GAME COLOURS -->
|lbp1=#2E92D5
|lbp1alt=#F467B0
|psp=#EA9D25
|lbp2=#16B716
|vita=#CD73D4
|lbpk=#F85959
|lbp3=#FF6700
|#default={{{background}}} }}; | }} {{#if: {{{color|}}} | color:{{{color}}}; | }}">{{{title}}}</th><td>{{{list}}}</td> | <td colspan="2" align="center">{{{list}}}</td> }}</tr><noinclude>


For use on [[:Template:Navbox|navigation boxes]].
For use on [[:Template:Navbox|navigation boxes]].
[[Category:Navigation box templates]]</noinclude>
[[Category:Navigation box templates]]</noinclude>

Revision as of 08:09, 3 March 2024

{{{list}}}

For use on navigation boxes.