Template: Infobox character: Difference between revisions

From A Wiki of Ice and Fire
Jump to: navigation, search
Abjiklam (talk | contribs)
m Reverted edits by Gonzalo (talk) to last revision by Abjiklam
Tag: Rollback
Abjiklam (talk | contribs)
autodetect singular and plural labels
Line 19: Line 19:


| data2 = {{#if:{{{image|}}}|{{#ifeq:{{{image|}}}|<br>||<hr>}}}}
| data2 = {{#if:{{{image|}}}|{{#ifeq:{{{image|}}}|<br>||<hr>}}}}
| 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
| label5 = {{Infobox label|s=Allegiance|p=Allegiances|{{{Allegiance|}}}}}
| data5 = {{{Allegiance|}}}
| data5 = {{Infobox value|class=plainlist|{{{Allegiance|}}}}}
| label6        = Predecessor
| label6        = {{Infobox label|s=Predecessor|p=Predecessors|{{{Predecessor|}}}}}
| data6        = {{{Predecessor|}}}
| data6        = {{Infobox value|class=plainlist|{{{Predecessor|}}}}}
| label7        = Successor
| label7        = {{Infobox label|s=Successor|p=Successors|{{{Successor|}}}}}
| data7        = {{{Successor|}}}
| data7        = {{Infobox value|class=plainlist|{{{Successor|}}}}}


| label8 = Race
| label8 = Race
| data8 = {{#if:{{{Race|}}}|{{{Race}}}{{main other|[[Category:Pages with the race parameter]]}}}}
| data8 = {{#if:{{{Race|}}}|{{{Race}}}{{main other|[[Category:Pages with the race parameter]]}}}}
| label9 = Culture(s)
| label9 = {{Infobox label|s=Culture|p=Cultures|{{{Culture|}}}}}
| data9 = {{{Culture|}}}
| data9 = {{Infobox value|class=plainlist|{{{Culture|}}}}}


| label10 = Born
| label10 = Born
Line 40: Line 40:
| data11 = {{#if:{{{Date_of_Death|}}}|{{#if:{{{Place_of_Death|}}}|In&nbsp;{{{Date_of_Death}}},&nbsp;{{{Place_of_Death}}}|In&nbsp;{{{Date_of_Death}}}}}|{{#if:{{{Place_of_Death|}}}|{{{Place_of_Death}}}|}}|}}
| data11 = {{#if:{{{Date_of_Death|}}}|{{#if:{{{Place_of_Death|}}}|In&nbsp;{{{Date_of_Death}}},&nbsp;{{{Place_of_Death}}}|In&nbsp;{{{Date_of_Death}}}}}|{{#if:{{{Place_of_Death|}}}|{{{Place_of_Death}}}|}}|}}


| label12      = Father
| label12      = {{Infobox label|s=Father|p=Fathers|{{{Father|}}}}}
| data12        = {{{Father|}}}
| data12        = {{Infobox value|class=plainlist|{{{Father|}}}}}
| label13      = Mother
| label13      = {{Infobox label|s=Mother|p=Mothers|{{{Mother|}}}}}
| data13        = {{{Mother|}}}
| data13        = {{Infobox value|class=plainlist|{{{Mother|}}}}}
| label14 = Spouse(s)
| label14 = {{Infobox label|s=Spouse|p=Spouses|{{{Spouse|}}}}}
| data14 = {{{Spouse|}}}
| data14 = {{Infobox value|class=plainlist|{{{Spouse|}}}}}
| label15       = Lover(s)
| label15 = {{Infobox label|s=Lover|p=Lovers|{{{Lover|}}}}}
| data15       = {{{Lover|}}}
| data15 = {{Infobox value|class=plainlist|{{{Lover|}}}}}
| label16 = Issue
| label16 = Issue
| data16 = {{{Issue|}}}
| data16 = {{Infobox value|class=plainlist|{{{Issue|}}}}}


| label17 = {{nowrap|Personal arms}}
| label17 = {{nowrap|Personal arms}}
Line 57: Line 57:
| data18        = {{#if:{{{arms3|}}}{{{arms4|}}}{{{arms5|}}}{{{arms6|}}}{{{arms7|}}}{{{arms8|}}}|{{#invoke:Infobox character/arms gallery|main|{{{arms3|}}}|{{{arms4|}}}|{{{arms5|}}}|{{{arms6|}}}|{{{arms7|}}}|{{{arms8|}}}}}}}
| data18        = {{#if:{{{arms3|}}}{{{arms4|}}}{{{arms5|}}}{{{arms6|}}}{{{arms7|}}}{{{arms8|}}}|{{#invoke:Infobox character/arms gallery|main|{{{arms3|}}}|{{{arms4|}}}|{{{arms5|}}}|{{{arms6|}}}|{{{arms7|}}}|{{{arms8|}}}}}}}


| label19 = Book(s)
| label19 = {{Infobox label|s=Book|p=Books|{{{Books|}}}}}
| data19 = {{{Books|}}}
| data19 = {{Infobox value|class=plainlist|{{{Books|}}}}}


| data25 = {{#if: {{{TV_series|}}}{{{Played_by|}}}|<hr> }}
| data25 = {{#if: {{{TV_series|}}}{{{Played_by|}}}|<hr> }}

Revision as of 14:02, 13 December 2022