Difference between revisions of "Template: Infobox character/sandbox"
From A Wiki of Ice and Fire
(28 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
Three or more coats of arms | Three or more coats of arms | ||
− | --><div style="text-align:justify;text-justify:distribute-all-lines;margin-bottom:-1.3em;">[[File:{{{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>}} | | 1 = {{#if:{{{honorific_prefix|}}}|<span class="honorific-prefix" style="font-size: 77%; font-weight: normal;">{{{honorific_prefix}}}</span>}} | ||
| 2 = <span class="fn">{{{name}}}</span> | | 2 = <span class="fn">{{{name}}}</span> | ||
Line 16: | Line 16: | ||
One or two coats of arms | One or two coats of arms | ||
− | -->|{{#if:{{{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>}} | | 1 = {{#if:{{{honorific_prefix|}}}|<span class="honorific-prefix" style="font-size: 77%; font-weight: normal;">{{{honorific_prefix}}}</span>}} | ||
| 2 = <span class="fn">{{{name}}}</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>}} | | 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 | No coat of arms | ||
Line 93: | Line 99: | ||
}} | }} | ||
− | | | + | | data4 = {{Infobox character/office |
|office={{{office4|}}} | |office={{{office4|}}} | ||
|suffix={{{office_suffix4|}}} | |suffix={{{office_suffix4|}}} | ||
Line 127: | Line 133: | ||
}} | }} | ||
− | | header10 = {{#if:{{{birth_name|}}}{{{birth_date|}}}{{{birth_place|}}}{{{death_date|}}}{{{death_place|}}}|Biographical information}} | + | | 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 | | label11 = Born | ||
Line 136: | Line 142: | ||
| label12 = Knighted | | label12 = Knighted | ||
− | | data12 = {{#if:{{{knighted_date|}}}|In {{{knighted_date}}}{{#if:{{{knighted_place|}}}|, | + | | data12 = {{#if:{{{knighted_date|}}}|In {{{knighted_date}}}{{#if:{{{knighted_place|}}}|, by {{{knighted_by}}}}}|{{#if:{{{knighted_by|}}}|By {{{knighted_by}}}}}}} |
| label13 = Legitimized | | label13 = Legitimized | ||
− | | data13 = {{#if:{{{legitimized_date|}}}|In {{{legitimized_date | + | | data13 = {{#if:{{{legitimized_date|}}}|In {{{legitimized_date}}}}} |
| label14 = Died | | label14 = Died | ||
Line 162: | Line 168: | ||
| data22 = {{{culture|}}} | | data22 = {{{culture|}}} | ||
− | | label23 = Allegiance | + | | label23 = {{#if:{{{house|}}}|House|Allegiance}} |
− | | data23 = {{{allegiance|}}} | + | | data23 = {{{house|{{{allegiance|}}}}}} |
− | | header30 = {{#if:{{{spouse|}}}{{{spouses|}}}|Family}} | + | | 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}} | | label31 = Spouse{{#if:{{{spouses|}}}|s}} | ||
Line 208: | Line 214: | ||
| label44 = Biological mother | | label44 = Biological mother | ||
| data44 = {{{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 = | | belowstyle = | ||
− | | below = {{{below}}} | + | | below = {{{below|}}} |
<!-- | <!-- | ||
| header11 = {{#if:{{{books|{{{Books|}}}}}}|In the books}} | | header11 = {{#if:{{{books|{{{Books|}}}}}}|In the books}} |
Revision as of 19:36, 8 July 2018
{{{name}}} |
---|
This is the template sandbox page for Template:Infobox character (diff). |
Usage
{{Infobox character <!-- Example shown on the right --> | title = {{{title}}} | nickname = {{{nickname}}} | firstname = {{{firstname}}} | particle = {{{particle}}} | lastname = {{{lastname}}} | epithet = {{{epithet}}} | arms = None | arms2 = <!-- not needed if identical to {{{arms}}} --> | image = No portrait.svg | image_caption = {{{image_caption}}} | Alias = {{{Alias}}} | Title = {{{Title}}} | Allegiance = {{{Allegiance}}} | Predecessor = {{{Predecessor}}} | Successor = {{{Successor}}} | Race = {{{Race}}} | Culture = {{{Culture}}} | Date_of_Birth = {{{Date_of_Birth}}} | Place_of_Birth = {{{Place_of_Birth}}} | Date_of_Death = {{{Date_of_Death}}} | Place_of_Death = {{{Place_of_Death}}} | Date_of_Burial = {{{Date_of_Burial}}} | Place_of_Burial = {{{Place_of_Burial}}} | Father = {{{Father}}} | Mother = {{{Mother}}} | Spouse = {{{Spouse}}} | Lover = {{{Lover}}} | Issue = {{{Issue}}} | coat-of-arms = {{{coat}}} | Books = {{{Books}}} | Played_by = {{{Played_by}}} | TV_series = {{{TV_series}}} }}
Parameters
- Parameters which get no value are not shown when the template used.
- You can add multipile values by seperating them with '<br>' tag.
Name parts
|
Name parts
|
arms |
Main coat of arms / symbol representing the character. Template:Coa/list contains all the available values. |
arms2 |
Secondary coat of arms / symbol representing the character. Not needed if identical to main one! |
image |
Image of the character. Use just the file name or the full image syntax. For example: Example.png or [[File:example.png|200px|alt=Example alt text]] .
|
image_caption |
|
Alias |
|
Title |
|
Allegiance |
InterLink to the appropriate [[Noble House]]s .
|
Predecessor |
|
Successor |
|
Culture |
Choose appropriate values from the list of Cultures |
Date_of_Birth |
Use to display dates.
|
Place_of_Birth |
InterLink to the appropriate [[Location]] .
|
Date_of_Death |
Use to display dates.
|
Place_of_Death |
InterLink to the appropriate [[Location]] .
|
Date_of_Burial |
Use to display dates.
|
Place_of_Burial |
InterLink to the appropriate [[Location]] .
|
Father |
InterLink to the appropriate [[Character]] .
|
Mother |
InterLink to the appropriate [[Character]] .
|
Spouse |
InterLink to the appropriate [[Character]]s .
|
Lover |
InterLink to the appropriate [[Character]]s .
|
Issue |
InterLink to the appropriate [[Character]]s .
|
coat-of-arms |
??? add Image or description ??? |
Books |
Choose appropriate values from the list of Books |
Played_by |
link to Wikipedia with [[w:Article name|Actor name]]
|
TV_series |
The above documentation is transcluded from Template:Infobox character/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |