Template:Character/Criminal Conviction: 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:
<templatestyles src="Corporation/style.css" />
+
<templatestyles src="Character/styles.css" />
   
<includeonly>{{Infobox/begin}}
+
<includeonly><nowiki/>{{Infobox/SectionHeader|section=Criminal Conviction}}
{{Infobox/SectionHeader|section=Criminal Conviction}}
+
{{Infobox/Item|key=Status|value={{{criminal_status|}}}}}
{{Infobox/Item|key=Status|value={{{criminal_status}}}}}
+
{{Infobox/Item|key=Convictions|value={{{convictions|}}}}}
{{Infobox/Item|key=Convictions|value={{{convictions}}}}}
+
{{Infobox/Item|key=Penalty|value={{{penalty|}}}}}</includeonly>
{{Infobox/Item|key=Penalty|value={{{penalty}}}}}
 
{{Infobox/end}}</includeonly>
 
   
<noinclude>{{Infobox/begin}}
+
<noinclude>
{{Infobox/SectionHeader|section=Criminal Conviction}}
+
{{Infobox/begin}}
  +
{{Character/Criminal Conviction
{{Infobox/Item|key=Status|value={{{criminal_status}}}}}
 
  +
|criminal_status=[released/pardoned/executed/etc]
{{Infobox/Item|key=Convictions|value={{{convictions}}}}}
 
  +
|convictions=[convictions]
{{Infobox/Item|key=Penalty|value={{{penalty}}}}}
 
  +
|penalty=[penalty]
{{Infobox/end}}<templatedata>
 
  +
}}
 
{{Infobox/end}}
  +
  +
  +
 
<templatedata>
 
{
 
{
 
"params": {
 
"params": {
"criminal_status": {},
+
"criminal_status": {
"convictions": {},
+
"required": true,
  +
"label": "Current Status",
"penalty": {}
 
  +
"description": "Executed/Released/Serving/etc",
  +
"type": "string"
  +
},
  +
"convictions": {
  +
"required": true,
  +
"label": "Convictions",
  +
"description": "Titles of the charged crimes",
  +
"type": "string"
  +
},
 
"penalty": {
  +
"suggested": true,
  +
"label": "Penalty"
  +
}
 
}
 
}
 
}
 
}
 
</templatedata>
 
</templatedata>
 
</noinclude>
 
</noinclude>
 
[[Category:Infoboxes]]
 
[[Category:Templates]]
 

Latest revision as of 23:13, 7 November 2022



Criminal Conviction
Status [released/pardoned/executed/etc]
Convictions [convictions]
Penalty [penalty]


No description.

Template parameters

ParameterDescriptionTypeStatus
Current Statuscriminal_status

Executed/Released/Serving/etc

Stringrequired
Convictionsconvictions

Titles of the charged crimes

Stringrequired
Penaltypenalty

no description

Unknownsuggested