Difference between revisions of "Template:Infobox Character"

From Corruption of Champions II
Jump to navigation Jump to search
(removed a stray newline that shows up when a page begins with the template)
m (Removal of internal spacing)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
|bodystyle   = border-spacing: 2px 5px;
+
|bodystyle = border-spacing: 2px 5px;
 
 
 
| above = {{{name|}}}
 
| above = {{{name|}}}
 
+
|image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}}}
|image       = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}}}
+
|caption = {{{caption|}}}
 
 
|caption     = {{{caption|}}}
 
 
 
 
|label1  = Creator
 
|label1  = Creator
 
|data1    = {{{creator|}}}
 
|data1    = {{{creator|}}}
 
 
|header2 = {{ #if: {{{fullname|}}}{{{nickname|}}}{{{alias|}}}{{{species|}}}{{{gender|}}}{{{occupation|}}}{{{title|}}}{{{family|}}}{{{spouse|}}}{{{relatives|}}}{{{religion|}}}{{{significantother|}}}{{{children|}}}{{{nationality|}}}{{{location|}}} | {{ #if: {{{info-hdr|}}}|{{{info-hdr}}}|Information }} }}
 
|header2 = {{ #if: {{{fullname|}}}{{{nickname|}}}{{{alias|}}}{{{species|}}}{{{gender|}}}{{{occupation|}}}{{{title|}}}{{{family|}}}{{{spouse|}}}{{{relatives|}}}{{{religion|}}}{{{significantother|}}}{{{children|}}}{{{nationality|}}}{{{location|}}} | {{ #if: {{{info-hdr|}}}|{{{info-hdr}}}|Information }} }}
 
 
|label3  = Full name
 
|label3  = Full name
 
|data3  = {{{fullname|}}}
 
|data3  = {{{fullname|}}}
 
 
|label4  = {{nowrap|Nickname(s)}}
 
|label4  = {{nowrap|Nickname(s)}}
 
|data4  = {{{nickname|}}}
 
|data4  = {{{nickname|}}}
 
 
|label5 = Alias
 
|label5 = Alias
 
|data5 = {{{alias|}}}
 
|data5 = {{{alias|}}}
 
 
|label6 = Species
 
|label6 = Species
 
|data6 = {{{species|}}}
 
|data6 = {{{species|}}}
 
 
|label7 = Gender
 
|label7 = Gender
 
|data7 = {{{gender|}}}
 
|data7 = {{{gender|}}}
 
 
|label8 = Occupation
 
|label8 = Occupation
 
|data8 = {{{occupation|}}}
 
|data8 = {{{occupation|}}}
 
 
|label9 = Title
 
|label9 = Title
 
|data9 = {{{title|}}}
 
|data9 = {{{title|}}}
 
 
|label10 = Family
 
|label10 = Family
 
|data10 = {{{family|}}}
 
|data10 = {{{family|}}}
 
 
|label11 = Spouse
 
|label11 = Spouse
 
|data11 = {{{spouse|}}}
 
|data11 = {{{spouse|}}}
 
 
|label12 = Relatives
 
|label12 = Relatives
 
|data12 = {{{relatives|}}}
 
|data12 = {{{relatives|}}}
 
 
|label13 = Religion
 
|label13 = Religion
 
|data13 = {{{religion|}}}
 
|data13 = {{{religion|}}}
 
 
|label14 = Significant Other
 
|label14 = Significant Other
 
|data14 = {{{significantother|}}}
 
|data14 = {{{significantother|}}}
 
 
|label15 = Children
 
|label15 = Children
 
|data15 = {{{children|}}}
 
|data15 = {{{children|}}}
 
 
|label16 = Nationality
 
|label16 = Nationality
 
|data16 = {{{nationality|}}}
 
|data16 = {{{nationality|}}}
 
 
|label17 = Location
 
|label17 = Location
 
|data17 = {{{location|}}}
 
|data17 = {{{location|}}}
 
 
|header18 = {{ #if: {{{level|}}}{{{health|}}} | {{ #if: {{{stats-hdr|}}}|{{{stats-hdr}}}|Stats}} }}
 
|header18 = {{ #if: {{{level|}}}{{{health|}}} | {{ #if: {{{stats-hdr|}}}|{{{stats-hdr}}}|Stats}} }}
 
 
|label19 = Level
 
|label19 = Level
 
|data19 = {{{level|}}}
 
|data19 = {{{level|}}}
 
 
|label20 = Health
 
|label20 = Health
 
|data20 = {{{health|}}}
 
|data20 = {{{health|}}}
 
 
|label21 = Resolve
 
|label21 = Resolve
 
|data21 = {{{resolve|}}}
 
|data21 = {{{resolve|}}}
 
 
|label22 = Strengths
 
|label22 = Strengths
 
|data22 = {{{strengths|}}}
 
|data22 = {{{strengths|}}}
 
}}<noinclude>
 
}}<noinclude>
 
== Usage ==
 
== Usage ==
 
 
<pre>
 
<pre>
 
<nowiki>
 
<nowiki>

Revision as of 08:19, 1 July 2019

Usage


{{Infobox Character
| name = Name
| image = missing.png
| caption = Caption Text
| creator = Creator
| fullname = Full Name
| nickname = Nick Name
| alias = Alias
| species = Species
| gender = Gender
| occupation = Occupation
| title = Title
| family = Family
| spouse = Spouse
| relatives = Relatives
| religion = Religion
| significant other = Significant Other
| children = Children
| nationality = Nationality
| location = Location
| level = Level
| health = Health
| resolve = Resolve
| strengths = Strengths
}}