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 1: Line 1:
<includeonly>
<includeonly>
{{#vardefine:iconheight|{{{iconheight|0}}}}}
{{#vardefine:iconheight|{{{iconheight|0}}}}}<!--
{{#vardefine:iconwidth|{{{iconwidth|50}}}}}
-->{{#vardefine:iconwidth|{{{iconwidth|50}}}}}<!--
{{#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}}}}}<!--
|-
-->|-
{{#ifeq: {{lc:{{{hideLabel|false}}}}} | false |
{{#ifeq: {{lc:{{{hideLabel|false}}}}} | false |
   {{!}} width="10%" {{!}}
   {{!}} width="10%" {{!}}
  <!-- Check if an icon parameter is provided and if so, display the image -->
   {{#if: {{{icon|}}} | [[File:{{{icon}}}|left|{{{iconsize|20px}}}]] }}
   {{#if: {{{icon|}}} | [[File:{{{icon}}}|left|{{{iconsize|20px}}}]] }}
   {{#if: {{{text|}}} | '''{{{text}}}''' }}
   {{#if: {{{text|}}} | '''{{{text}}}''' }}

Revision as of 21:20, 1 March 2024


See {{Navbox}} for documentation.