Template:Infobox/Item: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if: {{{key|}}} | {{#if: {{{value|}}} | <nowiki />
+
<includeonly>{{#if: {{{key|}}} | {{#if: {{{value|}}} |
<tr class="infobox-item">
+
<nowiki /><tr>
<th style="vertical-align: top; text-align: right">{{{key}}}</th>
+
<td colspan="2" class="infobox-item-title">'''{{{key}}}'''</td>
<td style="vertical-align: top; text-align: left; width: 75%;">{{{value}}}</td>
+
<td colspan="4" class="infobox-item">{{{value}}}</td>
</tr><nowiki />|}} |}}</includeonly>
+
</tr><nowiki />
  +
|}} |}}</includeonly>
   
 
<noinclude>
 
<noinclude>
 
{{Infobox/begin}}
 
{{Infobox/begin}}
{{Infobox/Item|key=Sample data|value={{{example_data}}}}}
+
{{Infobox/Item|key=[header]|value=[value]}}
 
{{Infobox/end}}
 
{{Infobox/end}}
  +
  +
<templatedata>
  +
{
  +
"params": {
  +
"key": {},
  +
"value": {},
  +
"example_data": {}
  +
}
  +
}
  +
</templatedata>
 
</noinclude>
 
</noinclude>

Latest revision as of 19:21, 26 October 2022


[header] [value]

No description.

Template parameters

ParameterDescriptionTypeStatus
keykey

no description

Unknownoptional
valuevalue

no description

Unknownoptional
example_dataexample_data

no description

Unknownoptional