Template:Infobox/Item: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
 
<includeonly>{{#if: {{{key|}}} | {{#if: {{{value|}}} | <nowiki />
 
<includeonly>{{#if: {{{key|}}} | {{#if: {{{value|}}} | <nowiki />
 
<tr class="infobox-item">
 
<tr class="infobox-item">
<th style="vertical-align: top">{{{key}}}</th>
+
<th style="vertical-align: top; text-align: right">{{{key}}}</th>
<td>{{{value}}}</td>
+
<td style="vertical-align: top; text-align: left">{{{value}}}</td>
 
</tr><nowiki />|}} |}}</includeonly>
 
</tr><nowiki />|}} |}}</includeonly>
  +
  +
<noinclude>
  +
{{Infobox/begin}}
  +
{{Infobox/Item|key=Sample data|value={{{example_data}}}}}
  +
{{Infobox/end}}
  +
</noinclude>

Revision as of 22:08, 24 October 2022


Sample data {{{example_data}}}