Difference between revisions of "Template:Infobox character"

From HGRPG Wiki
Jump to: navigation, search
(Created page with "{{Infobox | bodystyle = border-spacing: 2px 5px; | above = {{If empty |{{{name|}}} |<includeonly>{{PAGENAMEBASE}}</includeonly> }} | abovestyle = background: {{If...")
 
m
 
(9 intermediate revisions by one user not shown)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
 
| bodystyle    = border-spacing: 2px 5px;
 
| bodystyle    = border-spacing: 2px 5px;
 
+
| above        = {{{name|}}}
| above        = {{If empty |{{{name|}}} |<includeonly>{{PAGENAMEBASE}}</includeonly> }}
+
| abovestyle  = background:{{District colors|{{{district|}}}}}; color:white;
| abovestyle  = background: {{If empty |{{{color|}}} |{{{colour|}}} |#DEDEE2 }}; {{#if: {{{color|}}}{{{colour|}}} | color: {{Greater color contrast ratio|{{If empty |{{{color|}}} |{{{colour|}}} }}|black|white }}; }}
+
| image        = {{{image|}}}
 
+
| image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}}}
+
 
| caption      = {{{caption|}}}
 
| caption      = {{{caption|}}}
 
+
| headerstyle  = color: white; background:{{District colors|{{{district|}}}}};
| headerstyle  = background: {{If empty |{{{color|}}} |{{{colour|}}} |#DEDEE2 }}; {{#if: {{{color|}}}{{{colour|}}} |color: {{Greater color contrast ratio|{{If empty |{{{color|}}} |{{{colour|}}} }}|black|white }}; }}
+
| header1      = {{{header|}}}
 
+
| label2       = Link to bio
 
+
| data2       = {{{bio|}}}
| label4       = Link to bio
+
| label3       = Face Claim
| data4       = {{{bio|}}}
+
| data3       = {{{faceclaim|}}}
 
+
| header10     = {{#if: {{{noinfo|}}} || {{#if: {{{full_name|}}} {{{alias|}}} {{{aliases|}}} {{{nickname|}}} {{{nicknames|}}} {{{gender|}}} {{{district|}}} {{{family|}}} {{{spouse|}}} {{{spouses|}}} {{{significant_other|}}} {{{significant_others|}}} {{{children|}}} {{{relatives|}}} {{{origin|}}} {{{data1|}}} {{{data2|}}} {{{data3|}}} {{{data4|}}} {{{data5|}}} | {{#if:{{{info-hdr|}}} |{{{info-hdr}}} |Information}} }} }}
| label4      = Played by
+
| label11     = Full name
| data4        = {{{writer|}}}
+
| data11       = {{{full_name|}}}
 
+
| label12     = {{#if: {{{alias|}}} | Alias | Aliases }}
| label5       = Face Claim
+
| data12       = {{#if:{{{alias|}}} |{{{alias}}} |{{#if:{{{aliases|}}} |{{{aliases}}} |}} }}
| data5       = {{{faceclaim|}}}
+
| label13     = {{#if: {{{nickname|}}} | Nickname | Nicknames }}
 
+
| data13       = {{#if:{{{nickname|}}} |{{{nickname}}} |{{#if:{{{nicknames|}}} |{{{nicknames}}} |}} }}
| header20     = {{#if: {{{noinfo|}}} || {{#if: {{{full_name|}}} {{{alias|}}} {{{aliases|}}} {{{nickname|}}} {{{nicknames|}}} {{{gender|}}} {{{district|}}} {{{family|}}} {{{spouse|}}} {{{spouses|}}} {{{significant_other|}}} {{{significant_others|}}} {{{children|}}} {{{relatives|}}} {{{origin|}}} {{{data1|}}} {{{data2|}}} {{{data3|}}} {{{data4|}}} {{{data5|}}} | {{If empty |{{{info-hdr|}}} |Information }} }} }}
+
| label14     = Gender
 
+
| data14       = {{{gender|}}}
| label21     = Full name
+
| label15     = District
| data21       = {{{full_name|}}}
+
| data15       = {{{district|}}}
 
+
| label16     = Age
| label22     = {{#if: {{{alias|}}} | Alias | Aliases }}
+
| data16       = {{{age|}}}
| data22       = {{If empty |{{{alias|}}} |{{{aliases|}}} }}
+
| label17     = Sexual Orientation
 
+
| data17       = {{{orientation|}}}
| label23     = {{#if: {{{nickname|}}} | Nickname | Nicknames }}
+
| label18     = Family
| data23       = {{If empty |{{{nickname|}}} |{{{nicknames|}}} }}
+
| data18       = {{{family|}}}
 
+
| label19     = {{#if: {{{spouse|}}} | Spouse | Spouses }}
| label25     = Gender
+
| data19       = {{#if:{{{spouse|}}} |{{{spouse}}} |{{#if:{{{spouses|}}} |{{{spouses}}} |}} }}
| data25       = {{{gender|}}}
+
| label20     = {{#if: {{{significant_other|}}} | Significant {{nowrap|other}} | Significant {{nowrap|others}} }}
 
+
| data20       = {{#if:{{{significant_other|}}} |{{{significant_other}}} |{{#if:{{{significant_others|}}} |{{{significant_others}}} |}} }}
| label26     = District
+
| label21     = Children
| data26       = {{{district|}}}
+
| data21       = {{{children|}}}
 
+
| label22     = Relatives
| label27     = Age
+
| data22       = {{{relatives|}}}
| data27       = {{{age|}}}
+
| label23     = Plot
 
+
| data23       = {{{plot|}}}
| label27     = Sexual Orientation
+
| label24      = District of origin
| data27       = {{{orientation|}}}
+
| data24      = {{{origin|}}}
 
+
| label31     = {{{lbl1|}}}
| label31     = Family
+
| data31      = {{{data1|}}}
| data31       = {{{family|}}}
+
| label32      = {{{lbl2|}}}
 
+
| data32       = {{{data2|}}}
| label32     = {{#if: {{{spouse|}}} | Spouse | Spouses }}
+
| label33      = {{{lbl3|}}}
| data32       = {{If empty |{{{spouse|}}} |{{{spouses|}}} }}
+
| data33      = {{{data3|}}}
 
+
| label34      = {{{lbl4|}}}
| label33     = {{#if: {{{significant_other|}}} | Significant {{nowrap|other}} | Significant {{nowrap|others}} }}
+
| data34      = {{{data4|}}}
| data33       = {{If empty |{{{significant_other|}}} |{{{significant_others|}}} }}
+
| label35     = {{{lbl5|}}}
 
+
| data35       = {{{data5|}}}
| label34     = Children
+
<!-- Tributes only -->
| data34       = {{{children|}}}
+
| header80    = {{#if: {{{training_score|}}} {{{alliance|}}} {{{kills|}}} {{{killer|}}} {{{day_of_death|}}} {{{location_of_death|}}} {{{placement|}}} {{{token|}}} | Games information }}
 
+
| label81      = {{Nowrap|Training score}}
| label35     = Relatives
+
| data81       = {{{training_score|}}}
| data35       = {{{relatives|}}}
+
| label82     = {{#if: {{{alliance|}}} | Alliance | Alliances }}
 
+
| data82       = {{#if:{{{alliance|}}} |{{{alliance}}} |{{#if:{{{alliances|}}} |{{{alliances}}} |}} }}
| label36     = Plot
+
| label83      = Kill(s)
| dat36       = {{{plot|}}}
+
| data83      = {{{kills|}}}
 
+
| label84     = {{Nowrap|Killed by}}
| label37     = {{#if: {{{origin|}}} | District of origin | District of origin }}
+
| data84      = {{{killer|}}}
| data37       = {{If empty |{{{origin|}}} |{{{home|}}} }}
+
| label85      = {{Nowrap|Day of death}}
 
+
| data85       = {{{day_of_death|}}}
| label11     = {{{lbl1|}}}
+
| label86      = {{Nowrap|Location of death}}
| data11       = {{{data1|}}}
+
| data86      = {{{location_of_death|}}}
 
+
| label87     = Placement
| label12      = {{{lbl2|}}}
+
| data87      = {{{placement|}}}
| data12       = {{{data2|}}}
+
| label88      = Token
 
+
| data88       = {{{token|}}}
| label13     = {{{lbl3|}}}
+
| data93    = {{{misc|{{{module|}}}}}}
| data13       = {{{data3|}}}
+
| data94    = {{{misc2|{{{module2|}}}}}}
 
+
| data95    = {{{misc3|{{{module3|}}}}}}
| label14     = {{{lbl4|}}}
+
| data96    = {{{misc4|{{{module4|}}}}}}
| data14       = {{{data4|}}}
+
| data97    = {{{misc5|{{{module5|}}}}}}
 
+
| data98    = {{{misc6|{{{module6|}}}}}}
| label15     = {{{lbl5|}}}
+
| belowstyle  = background:{{District colors|{{{district|}}}}}; color: white;
| data15       = {{{data5|}}}
+
| below      = Played by {{{writer|}}}
 
+
 
}}
 
}}
 
<noinclude>
 
<noinclude>
{{Template:Infobox character/doc}}
+
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 00:45, 3 January 2020

Played by

[create] 50px Template documentation