Template: Infobox character: Difference between revisions

From A Wiki of Ice and Fire
Jump to: navigation, search
Abjiklam (talk | contribs)
autodetect singular and plural labels
Abjiklam (talk | contribs)
more than 2 COAs allowed in infobox
Line 1: Line 1:
<includeonly>{{Infobox  
<includeonly>{{Infobox  
| above = {{#invoke:Infobox character/name|main
| above = {{#invoke:Infobox character/name|main|name={{{Character_name|{{{name|{{PAGENAME}}}}}}}}<!-- deprecated -->}}
| arms  = {{{arms|}}}
| arms2 = {{{arms2|}}}
| name         = {{{Character_name|{{{name|{{PAGENAME}}}}}}}} <!-- deprecated -->
| title        = {{{title|}}}
| nickname    = {{{nickname|}}}
| firstname    = {{{firstname|}}}
| particle    = {{{particle|}}}
| lastname    = {{{lastname|}}}
| epithet      = {{{epithet|}}}
| regnalnumber = {{{regnalnumber|}}}
| lastfirst    = {{{lastfirst|}}}
}}
| abovestyle    = font-weight:bold; background: none; line-height: 1.1em;
| abovestyle    = font-weight:bold; background: none; line-height: 1.1em;


Line 53: Line 41:
| label17 = {{nowrap|Personal arms}}
| label17 = {{nowrap|Personal arms}}
| data17 = {{#if:{{{coat-of-arms|}}}|{{{coat-of-arms}}}{{main other|[[Category:Pages with the coat-of-arms parameter]]}}}}
| data17 = {{#if:{{{coat-of-arms|}}}|{{{coat-of-arms}}}{{main other|[[Category:Pages with the coat-of-arms parameter]]}}}}
| label18      = {{nowrap|Other arms}}
| data18        = {{#if:{{{arms3|}}}{{{arms4|}}}{{{arms5|}}}{{{arms6|}}}{{{arms7|}}}{{{arms8|}}}|{{#invoke:Infobox character/arms gallery|main|{{{arms3|}}}|{{{arms4|}}}|{{{arms5|}}}|{{{arms6|}}}|{{{arms7|}}}|{{{arms8|}}}}}}}


| label19 = {{Infobox label|s=Book|p=Books|{{{Books|}}}}}
| label19 = {{Infobox label|s=Book|p=Books|{{{Books|}}}}}

Revision as of 17:11, 5 January 2023