Template: Infobox character: Difference between revisions

From A Wiki of Ice and Fire
Jump to: navigation, search
Alyx Rivers (talk | contribs)
No edit summary
Remove stray closing brace from character infobox image output
 
(42 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>{{Infobox  
<includeonly>{{Infobox  
| title = {{{Character_name|}}}
| bodyclass   = awoiaf-infobox awoiaf-infobox-character
| titlestyle   = font-weight:bold; text-align: center;
| above = {{#invoke:Infobox character/name|main}}
| above = {{#if:{{{Character_name|}}}| | '''{{{name|{{PAGENAME}} }}}''' }}
| abovestyle    = font-weight:bold; background: none; line-height: 1.1em;
| abovestyle    = background: #E0E8FF;text-align:center;


| image = {{#if:{{{image|}}}|{{#ifeq:{{{image|}}}|<br>||{{{image|}}}}}|[[Category:Characters without images]] }}
| image = {{#if:{{{image|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image}}}|maxsize=400px|sizedefault=350x560px|border=no|suppressplaceholder={{main other|yes|no}}|alt={{#if:{{{image_alt|}}}|{{{image_alt}}}|Image of {{PAGENAME}}}}}}}}
| caption = {{#if:{{{image_caption|}}} | {{{image_caption}}} }}
| caption = {{#if:{{{image_caption|}}} | {{{image_caption}}} }}


| data2 = {{#if:{{{image|}}}|{{#ifeq:{{{image|}}}|<br>||<hr>}}}}
| data2 = {{#if:{{{image|}}}|{{#ifeq:{{{image|}}}|<br>||<hr>}}|[[Category:Characters without images]]}}
| label3 = Alias(es)
| label3 = {{Infobox label|s=Alias|p=Aliases|{{{Alias|}}}}}
| data3 = {{{Alias|}}}
| data3 = {{Infobox value|class=plainlist|{{{Alias|}}}}}
| label4        = Title(s)
| label4        = {{Infobox label|s=Title|p=Titles|{{{Title|}}}}}
| data4        = {{{Title|}}}
| data4         = {{Infobox value|class=plainlist|{{{Title|}}}}}
| label5 = Allegiance
| rowclass4    = infobox-row infobox-field-title
| data5 = {{{Allegiance|}}}
| label6        = Predecessor
| data6         = {{{Predecessor|}}}
| label7        = Successor
| data7        = {{{Successor|}}}


| label8 = Race
| label5 = {{Infobox label|s=Allegiance|p=Allegiances|{{{Allegiance|}}}}}
| data8 = {{#if:{{{Race|}}}|{{{Race}}}[[Category:Pages with the race parameter]]}}
| data5 = {{Infobox value|class=plainlist|{{{Allegiance|}}}}}
| label9 = Culture(s)
| rowclass5 = infobox-row infobox-field-allegiance
| data9 = {{{Culture|}}}
 
| label9 = {{Infobox label|s=Culture|p=Cultures|{{{Culture|}}}}}
| data9 = {{Infobox value|class=plainlist|{{{Culture|}}}}}
| rowclass9 = infobox-row infobox-field-culture


| label10 = Born
| label10 = Born
| data10 = {{#if:{{{Date_of_Birth|}}}|{{#if:{{{Place_of_Birth|}}}|In&nbsp;{{{Date_of_Birth}}},&nbsp;at&nbsp;{{{Place_of_Birth}}}|In&nbsp;{{{Date_of_Birth}}}}}|{{#if:{{{Place_of_Birth|}}}|At&nbsp;{{{Place_of_Birth}}}|}}|}}
| data10 = {{#if:{{{Date_of_Birth|}}}|{{#if:{{{Place_of_Birth|}}}|{{{Date_of_Birth}}}<br>{{{Place_of_Birth}}}|{{{Date_of_Birth}}}}}|{{#if:{{{Place_of_Birth|}}}|{{{Place_of_Birth}}}|}}|}}
| rowclass10 = infobox-row infobox-field-born
 
| label11 = Died  
| label11 = Died  
| data11 = {{#if:{{{Date_of_Death|}}}|{{#if:{{{Place_of_Death|}}}|In&nbsp;{{{Date_of_Death}}},&nbsp;at&nbsp;{{{Place_of_Death}}}|In&nbsp;{{{Date_of_Death}}}}}|{{#if:{{{Place_of_Death|}}}|At&nbsp;{{{Place_of_Death}}}|}}|}}
| data11 = {{#if:{{{Date_of_Death|}}}|{{#if:{{{Place_of_Death|}}}|{{{Date_of_Death}}}<br>{{{Place_of_Death}}}|{{{Date_of_Death}}}}}|{{#if:{{{Place_of_Death|}}}|{{{Place_of_Death}}}|}}|}}
| rowclass11 = infobox-row infobox-field-died
 
| label13 = {{Infobox label|s=Father|p=Fathers|{{{Father|}}}}}
| data13 = {{Infobox value|class=plainlist|{{{Father|}}}}}
| rowclass13 = infobox-row infobox-field-father


| label12      = Father
| label14 = {{Infobox label|s=Mother|p=Mothers|{{{Mother|}}}}}
| data12        = {{{Father|}}}
| data14 = {{Infobox value|class=plainlist|{{{Mother|}}}}}
| label13      = Mother
| rowclass14 = infobox-row infobox-field-mother
| data13        = {{{Mother|}}}
| label14 = Spouse(s)
| data14 = {{{Spouse|}}}
| label15      = Lover(s)
| data15        = {{{Lover|}}}
| label16 = Issue
| data16 = {{{Issue|}}}


| label17 = Personal arms
| label15 = {{Infobox label|s=Spouse|p=Spouses|{{{Spouse|}}}}}
| data17 = {{{coat-of-arms|}}}
| data15 = {{Infobox value|class=plainlist|{{{Spouse|}}}}}
| rowclass15 = infobox-row infobox-field-spouse


| label18 = Book(s)
| label16 = {{Infobox label|s=Lover|p=Lovers|{{{Lover|}}}}}
| data18 = {{{Books|}}}
| data16 = {{Infobox value|class=plainlist|{{{Lover|}}}}}
| rowclass16 = infobox-row infobox-field-lover
 
| label17 = Issue
| data17 = {{Infobox value|class=plainlist|{{{Issue|}}}}}
| rowclass17 = infobox-row infobox-field-children
 
| label18 = Coat of arms
| data18 = {{{coat-of-arms|}}}
| rowclass18 = infobox-row infobox-field-coat-of-arms
 
| label19 = {{Infobox label|s=Book|p=Books|{{{Books|}}}}}
| data19 = {{Infobox value|class=plainlist|{{{Books|}}}}}
| rowclass19 = infobox-row infobox-field-book


| data25 = {{#if: {{{TV_series|}}}{{{Played_by|}}}|<hr> }}
| label26 = {{Nowrap|Played by}}
| label26 = {{Nowrap|Played by}}
| data26 = {{{Played_by|}}}
| data26 = {{{Played_by|}}}
| rowclass26 = infobox-row infobox-field-actor
| label27 = {{Nowrap|TV series}}
| label27 = {{Nowrap|TV series}}
| data27 = {{{TV_series|}}}
| data27 = {{{TV_series|}}}
}}</includeonly><noinclude>{{Documentation}}</noinclude>
| rowclass27 = infobox-row infobox-field-tv-series
}}{{main other|[[Category:Character pages in alphabetical order]]}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 12:50, 19 September 2026