Template:Navbox/Row: Difference between revisions

From The Political Machine - Official Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Manual revert
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}}}}}<!--
Line 6: Line 5:
-->{{#vardefine:maxlines|{{{maxlines|2.2}}}}}<!--
-->{{#vardefine:maxlines|{{{maxlines|2.2}}}}}<!--
-->|-
-->|-
{{#ifeq: {{lc:{{{hideLabel|false}}}}} | false |
{{#ifeq: {{lc:{{{hideLabel|false}}}}} | false | {{!}} width="10%" {{!}} {{#if:{{{text|}}}|'''{{{text}}}'''}} }}
  {{!}} width="10%" {{!}}
{{#ifeq: {{lc:{{{hideLabel|false}}}}} | false || {{!}} colspan="2" }}| {{{data|}}}</includeonly><noinclude>
  <!-- Check if an icon parameter is provided and if so, display the image -->
  {{#if: {{{icon|}}} | [[File:{{{icon}}}|left|{{{iconsize|20px}}}]] }}
  {{#if: {{{text|}}} | '''{{{text}}}''' }}
}}
{{#ifeq: {{lc:{{{hideLabel|false}}}}} | false || {{!}} colspan="2" }}| {{{data|}}}
</includeonly>
<noinclude>
See {{Tlx|Navbox}} for documentation.
See {{Tlx|Navbox}} for documentation.
[[Category:Universal]]
[[Category:Universal]]
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 21:21, 1 March 2024

See {{Navbox}} for documentation.