Difference between revisions of "Template:Infobox/Line"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Upgrade booland to parser function, move doc)
m (if to parser function)
Line 1: Line 1:
 
<includeonly>|- valign="top" {{#if: {{{style|}}}|style="{{{style}}}"}}
 
<includeonly>|- valign="top" {{#if: {{{style|}}}|style="{{{style}}}"}}
| {{#if: {{{3|}}}|rowspan="2"}} {{#if: {{{type1|}}}{{#if: {{{3|}}}{{#if: {{{type2|}}}|1}}}}||colspan="{{#if: {{{2|}}}{{{3|}}}|2|3}}"}} | {{{1}}}{{if||{{{2|}}}|
+
| {{#if: {{{3|}}}|rowspan="2"}} {{#if: {{{type1|}}}{{#if: {{{3|}}}{{#if: {{{type2|}}}|1}}}}||colspan="{{#if: {{{2|}}}{{{3|}}}|2|3}}"}} | {{{1}}}{{#if: {{{2|}}}|
 
{{!}} {{#if: {{{type1|}}}{{#if: {{{3|}}}{{#if: {{{type2|}}}|1}}}}| style="font-size:smaller" {{!}} ({{{type1|}}})
 
{{!}} {{#if: {{{type1|}}}{{#if: {{{3|}}}{{#if: {{{type2|}}}|1}}}}| style="font-size:smaller" {{!}} ({{{type1|}}})
 
{{!}}}} {{#if: {{{3|}}}|{{{2}}}
 
{{!}}}} {{#if: {{{3|}}}|{{{2}}}

Revision as of 00:01, 7 February 2020

Documentation icon Template documentation[view] [edit] [history] [purge]Pages that link to Template:Infobox/Line

Usage

Is one line for the {{Infobox}} and it's subtemplates.

Parameters

#/Name Optional Description Default
1 No Caption of line
2 Yes Primary value Not set/Hidden
3 Yes Secondary value Not set/Hidden
type1 Yes Type of the primary value Not set/Hidden
type2 Yes Type of the secondary value Not set/Hidden
style Yes CSS of the rows Not set