Template:Navboxrow: Difference between revisions

From Imagisphere
Jump to navigation Jump to search
mNo edit summary
(Added the ability to change the colour of the row title's text and background)
Line 1: Line 1:
<tr>{{#if: {{{title|}}} | <th style="width: 25%">{{{title}}}</th><td>{{{list}}}</td> | <td colspan="2" align="center">{{{list}}}</td> }}</tr><noinclude>
<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>
 
For use on [[:Template:Navbox|navigation boxes]].
For use on [[:Template:Navbox|navigation boxes]].
[[Category: Templates]]</noinclude>
[[Category: Templates]]</noinclude>

Revision as of 08:32, 26 March 2021

{{{list}}}

For use on navigation boxes.