Template:Navbox/Row: Difference between revisions

From The Political Machine - Official Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
-->{{#vardefine:textwidth|{{{textwidth|{{#var:iconwidth}}}}}}}<!--
-->{{#vardefine:textwidth|{{{textwidth|{{#var:iconwidth}}}}}}}<!--
-->{{#vardefine:maxlines|{{{maxlines|2.2}}}}}
-->{{#vardefine:maxlines|{{{maxlines|2.2}}}}}
|-
{{#if: {{{headericon|}}}|
{{#if: {{{rowicon|}}}|
  |- <!-- New table row for header icon -->
   {{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{rowicon}}}|{{{rowiconsize|50px}}}]]
   {{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{headericon}}}|{{{headericonsize|80px}}}]]
  |- <!-- Add a new row for the row icon if it exists -->
}}
}}
|-
|-

Revision as of 21:33, 1 March 2024