Difference between pages "Template:Infobox character" and "Template:Infobox character/sandbox"
(Difference between pages)
(Added predecessor/successor and lovers modules) |
|||
Line 1: | Line 1: | ||
− | + | {{Infobox/sandbox | |
− | | | + | | bodystyle = |
− | | titlestyle | + | | titlestyle = | title = |
− | | | ||
− | |||
− | | | + | | abovestyle = |
− | | | + | | above = {{#if:{{{arms3|}}}|<!-- |
− | + | Three or more coats of arms | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | + | --><div style="text-align:justify;text-justify:distribute-all-lines;margin-bottom:-1.3em;">[[File:{{{arms}}}|50x70px]] [[File:{{{arms2}}}|50x70px]] [[File:{{{arms3}}}|50x70px]] {{#if:{{{arms4|}}}|[[File:{{{arms4}}}|50x70px]] {{#if:{{{arms5|}}}|[[File:{{{arms5}}}|50x70px]]}}}}<span style="width:100%;display:inline-block;height:0;"></span></div>{{Br separated entries |
− | | | + | | 1 = {{#if:{{{honorific_prefix|}}}|<span class="honorific-prefix" style="font-size: 77%; font-weight: normal;">{{{honorific_prefix}}}</span>}} |
− | | | + | | 2 = <span class="fn">{{{name}}}</span> |
− | | | + | | 3 = {{#if:{{{honorific_suffix|}}}|<span class="honorific-suffix" style="font-size: 77%; font-weight: normal;">{{{honorific_suffix}}}</span>}} |
+ | }}<!-- | ||
− | + | One or two coats of arms | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | + | -->|{{#if:{{{arms|}}}|<table style="width:100%;"> |
− | | | + | <tr> |
+ | <td style="vertical-align:top;text-align:left;width:50px;">[[File:{{{arms}}}|50x70px]]</td> | ||
+ | <td style="vertical-align:middle;text-align:center;padding-bottom:5px;">{{Br separated entries | ||
+ | | 1 = {{#if:{{{honorific_prefix|}}}|<span class="honorific-prefix" style="font-size: 77%; font-weight: normal;">{{{honorific_prefix}}}</span>}} | ||
+ | | 2 = <span class="fn">{{{name}}}</span> | ||
+ | | 3 = {{#if:{{{honorific_suffix|}}}|<span class="honorific-suffix" style="font-size: 77%; font-weight: normal;">{{{honorific_suffix}}}</span>}} | ||
+ | }}</td> | ||
+ | <td style="vertical-align:top;text-align:right;width:50px;">[[File:{{{arms2|{{{arms}}}}}}|50x70px]]</td> | ||
+ | </tr> | ||
+ | </table>|<!-- | ||
− | | | + | No coat of arms |
− | | | + | |
− | | | + | -->{{Br separated entries |
− | | | + | | 1 = {{#if:{{{honorific_prefix|}}}|<span class="honorific-prefix" style="font-size: 77%; font-weight: normal;">{{{honorific_prefix}}}</span>}} |
− | | | + | | 2 = <span class="fn">{{{name}}}</span> |
− | }} | + | | 3 = {{#if:{{{honorific_suffix|}}}|<span class="honorific-suffix" style="font-size: 77%; font-weight: normal;">{{{honorific_suffix}}}</span>}} |
+ | }} | ||
+ | }}}} | ||
+ | | subheaderstyle = | ||
+ | | subheader = {{{suffix|}}} | ||
+ | |||
+ | | imagestyle = | ||
+ | | captionstyle = {{#if:{{{copyright|}}}|{{#if:{{{caption|}}}||font-size:80%;}}}} | ||
+ | | image = {{#invoke:InfoboxImage | InfoboxImage | image={{{image|}}} | size={{{image_size|}}} | maxsize=300px | sizedefault=frameless | alt={{{alt|}}} | border=yes}} | ||
+ | | caption = {{#if:{{{caption|}}}|{{{caption}}}{{#if:{{{copyright|}}}|<br><small>{{{copyright}}}</small>}}|{{{copyright|}}}}} | ||
+ | |||
+ | | headerstyle = background-color:#f8e9d0;border:none; | ||
+ | | labelstyle = | ||
+ | | datastyle = | ||
+ | |||
+ | | data1 = {{Infobox character/office | ||
+ | |office={{{office|}}} | ||
+ | |suffix={{{office_suffix|}}} | ||
+ | |2nd_suffix={{{office_2nd_suffix|}}} | ||
+ | |3rd_suffix={{{office_3rd_suffix|}}} | ||
+ | |status={{{office_status|}}} | ||
+ | |start={{{office_start|}}} | ||
+ | |end={{{office_end|}}} | ||
+ | |consort={{{consort|}}} | ||
+ | |king={{{king|}}} | ||
+ | |queen={{{queen|}}} | ||
+ | |superior_title={{{superior_title|}}} | ||
+ | |superior={{{superior|}}} | ||
+ | |predecessor={{{predecessor|}}} | ||
+ | |successor={{{successor|}}} | ||
+ | }} | ||
+ | |||
+ | | data2 = {{Infobox character/office | ||
+ | |office={{{office2|}}} | ||
+ | |suffix={{{office_suffix2|}}} | ||
+ | |2nd_suffix={{{office_2nd_suffix2|}}} | ||
+ | |3rd_suffix={{{office_3rd_suffix2|}}} | ||
+ | |status={{{office_status2|}}} | ||
+ | |start={{{office_start2|}}} | ||
+ | |end={{{office_end2|}}} | ||
+ | |consort={{{consort2|}}} | ||
+ | |king={{{king2|}}} | ||
+ | |queen={{{queen2|}}} | ||
+ | |superior_title={{{superior_title2|}}} | ||
+ | |superior={{{superior2|}}} | ||
+ | |predecessor={{{predecessor2|}}} | ||
+ | |successor={{{successor2|}}} | ||
+ | }} | ||
+ | |||
+ | | data3 = {{Infobox character/office | ||
+ | |office={{{office3|}}} | ||
+ | |suffix={{{office_suffix3|}}} | ||
+ | |2nd_suffix={{{office_2nd_suffix3|}}} | ||
+ | |3rd_suffix={{{office_3rd_suffix3|}}} | ||
+ | |status={{{office_status3|}}} | ||
+ | |start={{{office_start3|}}} | ||
+ | |end={{{office_end3|}}} | ||
+ | |consort={{{consort3|}}} | ||
+ | |king={{{king3|}}} | ||
+ | |queen={{{queen3|}}} | ||
+ | |superior_title={{{superior_title3|}}} | ||
+ | |superior={{{superior3|}}} | ||
+ | |predecessor={{{predecessor3|}}} | ||
+ | |successor={{{successor3|}}} | ||
+ | }} | ||
+ | |||
+ | | data4 = {{Infobox character/office | ||
+ | |office={{{office4|}}} | ||
+ | |suffix={{{office_suffix4|}}} | ||
+ | |2nd_suffix={{{office_2nd_suffix4|}}} | ||
+ | |3rd_suffix={{{office_3rd_suffix4|}}} | ||
+ | |status={{{office_status4|}}} | ||
+ | |start={{{office_start4|}}} | ||
+ | |end={{{office_end4|}}} | ||
+ | |consort={{{consort4|}}} | ||
+ | |king={{{king4|}}} | ||
+ | |queen={{{queen4|}}} | ||
+ | |superior_title={{{superior_title4|}}} | ||
+ | |superior={{{superior4|}}} | ||
+ | |predecessor={{{predecessor4|}}} | ||
+ | |successor={{{successor4|}}} | ||
+ | }} | ||
+ | |||
+ | | data5 = {{Infobox character/office | ||
+ | |office={{{office5|}}} | ||
+ | |suffix={{{office_suffix5|}}} | ||
+ | |2nd_suffix={{{office_2nd_suffix5|}}} | ||
+ | |3rd_suffix={{{office_3rd_suffix5|}}} | ||
+ | |status={{{office_status5|}}} | ||
+ | |start={{{office_start5|}}} | ||
+ | |end={{{office_end5|}}} | ||
+ | |consort={{{consort5|}}} | ||
+ | |king={{{king5|}}} | ||
+ | |queen={{{queen5|}}} | ||
+ | |superior_title={{{superior_title5|}}} | ||
+ | |superior={{{superior5|}}} | ||
+ | |predecessor={{{predecessor5|}}} | ||
+ | |successor={{{successor5|}}} | ||
+ | }} | ||
+ | |||
+ | | header10 = {{#if:{{{birth_name|}}}{{{birth_date|}}}{{{birth_place|}}}{{{knighted_date|}}}{{{knighted_by|}}}{{{legitimized_date|}}}{{{death_date|}}}{{{death_place|}}}{{{occupations|}}}{{{occupation|}}}{{{aliases|}}}{{{alias|}}}{{{other_titles|}}}{{{other_title|}}}{{{culture|}}}{{{house|}}}{{{allegiance|}}}|Biographical information}} | ||
+ | |||
+ | | label11 = Born | ||
+ | | data11 = {{Br separated entries | ||
+ | | 1 = {{{birth_name|}}} | ||
+ | | 2 = {{#if:{{{birth_date|}}}|In {{{birth_date}}}{{#if:{{{birth_place|}}}|, at {{{birth_place}}}}}|{{#if:{{{birth_place|}}}|At {{{birth_place}}}}}}} | ||
+ | }} | ||
+ | |||
+ | | label12 = Knighted | ||
+ | | data12 = {{#if:{{{knighted_date|}}}|In {{{knighted_date}}}{{#if:{{{knighted_place|}}}|, by {{{knighted_by}}}}}|{{#if:{{{knighted_by|}}}|By {{{knighted_by}}}}}}} | ||
+ | |||
+ | | label13 = Legitimized | ||
+ | | data13 = {{#if:{{{legitimized_date|}}}|In {{{legitimized_date}}}}} | ||
+ | |||
+ | | label14 = Died | ||
+ | | data14 = {{#if:{{{death_date|}}}|In {{{death_date}}}{{#if:{{{death_place|}}}|, at {{{death_place}}}}}|{{#if:{{{death_place|}}}|At {{{death_place}}}}}}} | ||
+ | |||
+ | | label15 = Occupation{{#if:{{{occupations|}}}|s}} | ||
+ | | data15 = {{#if:{{{occupations|}}}|{{plainlist| | ||
+ | {{{occupations}}} | ||
+ | }}|{{{occupation|}}}}} | ||
+ | |||
+ | | label20 = Alias{{#if:{{{aliases|}}}|es}} | ||
+ | | data20 = {{#if:{{{aliases|}}}|{{plainlist| | ||
+ | {{{aliases}}} | ||
+ | }}|{{{alias|}}}}} | ||
+ | |||
+ | | label21 = Other title{{#if:{{{other_titles|}}}|s}} | ||
+ | | data21 = {{#if:{{{other_titles|}}}|{{plainlist| | ||
+ | {{{other_titles}}} | ||
+ | }}|{{{other_title|}}}}} | ||
+ | |||
+ | | label22 = Culture | ||
+ | | data22 = {{{culture|}}} | ||
+ | |||
+ | | label23 = {{#if:{{{house|}}}|House|Allegiance}} | ||
+ | | data23 = {{{house|{{{allegiance|}}}}}} | ||
+ | |||
+ | | header30 = {{#if:{{{spouse|}}}{{{spouses|}}}{{{heirs|}}}{{{heir|}}}{{{children|}}}{{{child|}}}{{{bastards|}}}{{{bastard|}}}{{{father|}}}{{{legal_father|}}}{{{real_father|}}}{{{alleged_father|}}}{{{biological_father|}}}{{{mother|}}}{{{legal_mother|}}}{{{real_mother|}}}{{{alleged_mother|}}}{{{biological_mother|}}}|Family}} | ||
+ | |||
+ | | label31 = Spouse{{#if:{{{spouses|}}}|s}} | ||
+ | | data31 = {{#if:{{{spouses|}}}|{{plainlist| | ||
+ | {{{spouses}}} | ||
+ | }}|{{{spouse|}}}}} | ||
+ | |||
+ | | label32 = Heir{{#if:{{{heirs|}}}|s}} | ||
+ | | data32 = {{#if:{{{heirs|}}}|{{plainlist| | ||
+ | {{{heirs}}} | ||
+ | }}|{{{heir|}}}}} | ||
+ | |||
+ | | label33 = Child{{#if:{{{children|}}}|ren}} | ||
+ | | data33 = {{#if:{{{children|}}}|{{plainlist| | ||
+ | {{{children}}} | ||
+ | }}|{{{child|}}}}} | ||
+ | |||
+ | | label34 = Bastard{{#if:{{{bastards|}}}|s}} | ||
+ | | data34 = {{#if:{{{bastards|}}}|{{plainlist| | ||
+ | {{{bastards}}} | ||
+ | }}|{{{bastard|}}}}} | ||
+ | |||
+ | | label35 = Father | ||
+ | | data35 = {{#if:{{{legal_father|}}}{{{real_father|}}}{{{alleged_father|}}}{{{biological_father|}}}||{{{father|}}}}} | ||
+ | | label36 = Legal father | ||
+ | | data36 = {{{legal_father|}}} | ||
+ | | label37 = Adoptive father | ||
+ | | data37 = {{{adoptive_father|}}} | ||
+ | | label38 = Alleged father | ||
+ | | data38 = {{{alleged_father|}}} | ||
+ | | label39 = Biological father | ||
+ | | data39 = {{{biological_father|}}} | ||
+ | |||
+ | | label40 = Mother | ||
+ | | data40 = {{#if:{{{legal_mother|}}}{{{real_mother|}}}{{{alleged_mother|}}}{{{biological_mother|}}}||{{{mother|}}}}} | ||
+ | | label41 = Legal mother | ||
+ | | data41 = {{{legal_mother|}}} | ||
+ | | label42 = Adoptive mother | ||
+ | | data42 = {{{adoptive_mother|}}} | ||
+ | | label43 = Alleged mother | ||
+ | | data43 = {{{alleged_father|}}} | ||
+ | | label44 = Biological mother | ||
+ | | data44 = {{{biological_mother|}}} | ||
+ | |||
+ | | header50 = {{#if:{{{agot|}}}{{{acok|}}}{{{asos|}}}{{{affc|}}}{{{adwd|}}}{{{twow|}}}{{{ados|}}}{{{thk|}}}{{{tss|}}}{{{tmk|}}}{{{twoiaf|}}}{{{fab|}}}{{{tpatq|}}}{{{trp|}}}{{{tsotd|}}}|In the books}} | ||
+ | |||
+ | | data51 = {{#if:{{{agot|}}}{{{acok|}}}{{{asos|}}}{{{affc|}}}{{{adwd|}}}{{{twow|}}}{{{ados|}}}|'''''[[A Song of Ice and Fire]]'''''}} | ||
+ | | data52 = {{plainlist|{{#if:{{{agot|}}}|* ''[[A Game of Thrones]]'' {{#switch:{{{agot}}}|a|appears=(appears)|m|mentionned=(mentionned)|p|pov|POV=(point of view)|({{{agot}}})}} | ||
+ | }}{{#if:{{{acok|}}}|* ''[[A Clash of Kings]]'' {{#switch:{{{acok}}}|a|appears=(appears)|m|mentionned=(mentionned)|p|pov|POV=(point of view)|({{{acok}}})}} | ||
+ | }}{{#if:{{{asos|}}}|* ''[[A Storm of Swords]]'' {{#switch:{{{asos}}}|a|appears=(appears)|m|mentionned=(mentionned)|p|pov|POV=(point of view)|({{{asos}}})}} | ||
+ | }}{{#if:{{{affc|}}}|* ''[[A Feast for Crows]]'' {{#switch:{{{affc}}}|a|appears=(appears)|m|mentionned=(mentionned)|p|pov|POV=(point of view)|({{{affc}}})}} | ||
+ | }}{{#if:{{{adwd|}}}|* ''[[A Dance with Dragons]]'' {{#switch:{{{adwd}}}|a|appears=(appears)|m|mentionned=(mentionned)|p|pov|POV=(point of view)|({{{adwd}}})}} | ||
+ | }}{{#if:{{{twow|}}}|* ''[[The Winds of Winter]]'' {{#switch:{{{twow}}}|a|appears=(appears)|m|mentionned=(mentionned)|p|pov|POV=(point of view)|({{{twow}}})}} | ||
+ | }}{{#if:{{{ados|}}}|* ''[[A Dream of Spring]]'' {{#switch:{{{ados}}}|a|appears=(appears)|m|mentionned=(mentionned)|p|pov|POV=(point of view)|({{{ados}}})}}}} | ||
+ | }} | ||
+ | |||
+ | | data53 = {{#if:{{{thk|}}}{{{tss|}}}{{{tmk|}}}|'''''[[Tales of Dunk and Egg]]'''''}} | ||
+ | | data54 = {{plainlist|{{#if:{{{thk|}}}|* ''[[The Hedge Knight]]'' {{#switch:{{{thk}}}|a|appears=(appears)|m|mentionned=(mentionned)|p|pov|POV=(point of view)|({{{thk}}})}} | ||
+ | }}{{#if:{{{tss|}}}|* ''[[The Sworn Sword]]'' {{#switch:{{{tss}}}|a|appears=(appears)|m|mentionned=(mentionned)|p|pov|POV=(point of view)|({{{tss}}})}} | ||
+ | }}{{#if:{{{tmk|}}}|* ''[[The Mystery Knight]]'' {{#switch:{{{ados}}}|a|appears=(appears)|m|mentionned=(mentionned)|p|pov|POV=(point of view)|({{{tmk}}})}}}} | ||
+ | }} | ||
+ | |||
+ | | data55 = {{#if:{{{agot|}}}{{{acok|}}}{{{asos|}}}{{{affc|}}}{{{adwd|}}}{{{twow|}}}{{{ados|}}}{{{thk|}}}{{{tss|}}}{{{tmk|}}}|'''Other books'''}} | ||
+ | | data56 = {{plainlist|{{#if:{{{twoiaf|}}}|* ''[[The World of Ice and Fire]]'' {{#switch:{{{twoiaf}}}|a|appears=(appears)|m|mentionned=(mentionned)|p|pov|POV=(point of view)|({{{twoiaf}}})}} | ||
+ | }}{{#if:{{{fab|}}}|* ''[[Fire and Blood]]'' {{#switch:{{{fab}}}|a|appears=(appears)|m|mentionned=(mentionned)|p|pov|POV=(point of view)|({{{fab}}})}} | ||
+ | }}{{#if:{{{tpatq|}}}|* ''[[The Princess and the Queen]]'' {{#switch:{{{tpatq}}}|a|appears=(appears)|m|mentionned=(mentionned)|p|pov|POV=(point of view)|({{{tpatq}}})}} | ||
+ | }}{{#if:{{{trp|}}}|* ''[[The Rogue Prince]]'' {{#switch:{{{trp}}}|a|appears=(appears)|m|mentionned=(mentionned)|p|pov|POV=(point of view)|({{{trp}}})}} | ||
+ | }}{{#if:{{{tsotd|}}}|* ''[[The Sons of the Dragon]]'' {{#switch:{{{tsotd}}}|a|appears=(appears)|m|mentionned=(mentionned)|p|pov|POV=(point of view)|({{{tsotd}}})}}}} | ||
+ | }} | ||
+ | |||
+ | | header60 = {{#if:{{{played_by|}}}{{{season|}}}{{{seasons|}}}|On HBO’s ''Game of Thrones''}} | ||
+ | |||
+ | | label61 = {{#if:{{{played_by|}}}|Played by}} | ||
+ | | data61 = {{#if:{{{played_by2|}}}|{{plainlist| | ||
+ | * {{{played_by}}} | ||
+ | * {{{played_by2}}}{{#if:{{{played_by3|}}}| | ||
+ | * {{{played_by3}}}}} | ||
+ | }}|{{{played_by|}}}}} | ||
+ | |||
+ | | label62 = Appears on | ||
+ | | data62 = {{#if:{{{seasons|}}}{{{season|}}}|{{#invoke:Season|main|{{{seasons|{{{season}}}}}}}}}} | ||
+ | |||
+ | | belowstyle = | ||
+ | | below = {{{below|}}} | ||
+ | <!-- | ||
+ | | header11 = {{#if:{{{books|{{{Books|}}}}}}|In the books}} | ||
+ | | data12 = {{{books|{{{Books|}}}}}} | ||
+ | |||
+ | | header13 = {{#if:{{{seasons|{{{TV_series|}}}}}}{{{played_by|{{{Played_by|}}}}}}|On ''Game of Thrones''}} | ||
+ | | label14 = {{Nowrap|Played by}} | ||
+ | | data14 = {{{played_by|{{{Played_by|}}}}}} | ||
+ | | label15 = {{Nowrap|Appears in}} | ||
+ | | data15 = {{{seasons|{{{TV_series|}}}}}} | ||
+ | --> | ||
+ | }}<noinclude>{{documentation/sandbox}}</noinclude> |