Template:Character/Government Position: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<templatestyles src="Character/styles.css" />
 
<templatestyles src="Character/styles.css" />
   
<includeonly>{{Infobox/begin}}
+
<includeonly><nowiki/>{{Infobox/SectionHeader|section={{{position_title}}}}}
 
{{Infobox/Vertical Item|key=In Office|value={{#if:{{{start_date|}}}|{{#if:{{{end_date|}}}|{{{start_date}}} - {{{end_date}}}}}}}}}
{{Infobox/SectionHeader|section={{{position_title}}}}}
 
{{Infobox/Item|key=In Office|value={{{start_date}}} - {{{end_date}}}}}
+
{{Infobox/Item|key=Preceded by|value={{{predecessor|}}}}}
{{Infobox/Item|key=Preceded by|value={{{predecessor}}}}}
+
{{Infobox/Item|key=Succeeded by|value={{{sucessor|}}}}}</includeonly>
{{Infobox/Item|key=Seucceeded by|value={{{sucessor}}}}}
 
{{Infobox/end}}</includeonly>
 
   
<noinclude>{{Infobox/begin}}
+
<noinclude>
{{Infobox/SectionHeader|section={{{position_title}}}}}
+
{{Infobox/begin}}
  +
{{Character/Government Position
{{Infobox/Item|key=In Office|value={{{start_date}}} - {{{end_date}}}}}
 
  +
|position_title = [position_title]
{{Infobox/Item|key=Preceded by|value={{{predecessor}}}}}
 
  +
|start_date = [start_date]|end_date=[end_date]
{{Infobox/Item|key=Seucceeded by|value={{{sucessor}}}}}
 
  +
|predecessor = [predecessor]
  +
|sucessor = [sucessor]
  +
}}
 
{{Infobox/end}}
  +
  +
{{Infobox/begin}}
  +
{{Character/Government Position
  +
}}
 
{{Infobox/end}}
 
{{Infobox/end}}
   
Line 27: Line 33:
 
</templatedata>
 
</templatedata>
 
</noinclude>
 
</noinclude>
 
[[Category:Infoboxes]]
 
[[Category:Templates]]
 

Latest revision as of 00:13, 8 November 2022



[position_title]
In Office
[start_date] - [end_date]
Preceded by [predecessor]
Succeeded by [sucessor]
{{{position_title}}}

No description.

Template parameters

ParameterDescriptionTypeStatus
position_titleposition_title

no description

Unknownoptional
start_datestart_date

no description

Unknownoptional
end_dateend_date

no description

Unknownoptional
predecessorpredecessor

no description

Unknownoptional
sucessorsucessor

no description

Unknownoptional