Template:Navbox/Row: Difference between revisions

From The Political Machine - Official Wiki
Jump to navigation Jump to search
No edit summary
(more doc scrambling)
Line 4: Line 4:
-->{{#vardefine:textsize|{{{textsize|1.0}}}}}<!--
-->{{#vardefine:textsize|{{{textsize|1.0}}}}}<!--
-->{{#vardefine:textwidth|{{{textwidth|{{#var:iconwidth}}}}}}}<!--
-->{{#vardefine:textwidth|{{{textwidth|{{#var:iconwidth}}}}}}}<!--
-->{{#vardefine:maxlines|{{{maxlines|2.2}}}}}<!--
-->{{#vardefine:maxlines|{{{maxlines|2.2}}}}}
-->{{#if: {{{headericon|}}} | <!-- Check if headericon is set -->
{{#if: {{{headericon|}}} | <!-- Only create a row for the header icon if it is provided -->
   |- <!-- New table row for header icon -->
   |- <!-- New table row for header icon -->
   {{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{headericon}}}|{{{headericonsize|80px}}}]] <!-- Display header icon -->
   {{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{headericon}}}|{{{headericonsize|80px}}}]]
}}
}}
|-
|-
Line 15: Line 15:
{{#ifeq: {{lc:{{{hideLabel|false}}}}} | false || {{!}} colspan="2" }}| {{{data|}}}
{{#ifeq: {{lc:{{{hideLabel|false}}}}} | false || {{!}} colspan="2" }}| {{{data|}}}
</includeonly>
</includeonly>
<noinclude>
See {{Tlx|Navbox}} for documentation.
[[Category:Universal]]
[[Category:Universal]]
[[Category:Templates]]
[[Category:Templates]]
</noinclude>

Revision as of 21:39, 1 March 2024


See {{Navbox}} for documentation.