Difference between revisions of "Template: Infobox character/doc"
From A Wiki of Ice and Fire
m (Potsk moved page Template:Character/doc to Template:Infobox character/doc over redirect) |
m |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{Infobox character | |
− | + | | title = {{{title}}} | |
− | {{ | + | | nickname = {{{nickname}}} |
− | + | | firstname = {{{firstname}}} | |
− | | image | + | | particle = {{{particle}}} |
− | | image_caption | + | | lastname = {{{lastname}}} |
− | | Alias | + | | epithet = {{{epithet}}} |
− | | Title | + | | arms = None |
− | | Allegiance | + | | arms2 = <!-- not needed if identical to {{{arms}}} --> |
− | | Predecessor | + | | image = No portrait.svg |
− | | Successor | + | | image_caption = {{{image_caption}}} |
− | | Race | + | | Alias = {{{Alias}}} |
− | | Culture | + | | Title = {{{Title}}} |
− | | Date_of_Birth | + | | Allegiance = {{{Allegiance}}} |
− | | Place_of_Birth = | + | | Predecessor = {{{Predecessor}}} |
− | | Date_of_Death | + | | Successor = {{{Successor}}} |
− | | Place_of_Death = | + | | Race = {{{Race}}} |
− | | Father | + | | Culture = {{{Culture}}} |
− | | Mother | + | | Date_of_Birth = {{{Date_of_Birth}}} |
− | | Spouse | + | | Place_of_Birth = {{{Place_of_Birth}}} |
− | | Lover | + | | Date_of_Death = {{{Date_of_Death}}} |
− | | Issue | + | | Place_of_Death = {{{Place_of_Death}}} |
− | | coat-of-arms | + | | Date_of_Burial = {{{Date_of_Burial}}} |
− | | Books | + | | Place_of_Burial = {{{Place_of_Burial}}} |
− | | Played_by | + | | Father = {{{Father}}} |
− | | TV_series | + | | Mother = {{{Mother}}} |
+ | | Spouse = {{{Spouse}}} | ||
+ | | Lover = {{{Lover}}} | ||
+ | | Issue = {{{Issue}}} | ||
+ | | coat-of-arms = {{{coat}}} | ||
+ | | Books = {{{Books}}} | ||
+ | | Played_by = {{{Played_by}}} | ||
+ | | TV_series = {{{TV_series}}} | ||
}} | }} | ||
===Usage=== | ===Usage=== | ||
− | <pre>{{Infobox character | + | <pre>{{Infobox character <!-- Example shown on the right --> |
− | | | + | | title = {{{title}}} |
− | | image | + | | nickname = {{{nickname}}} |
− | | image_caption | + | | firstname = {{{firstname}}} |
− | | Alias | + | | particle = {{{particle}}} |
− | | Title | + | | lastname = {{{lastname}}} |
− | | Allegiance | + | | epithet = {{{epithet}}} |
− | | Predecessor | + | | arms = None |
− | | Successor | + | | arms2 = <!-- not needed if identical to {{{arms}}} --> |
− | | Race | + | | image = No portrait.svg |
− | | Culture | + | | image_caption = {{{image_caption}}} |
− | | Date_of_Birth | + | | Alias = {{{Alias}}} |
− | | Place_of_Birth = | + | | Title = {{{Title}}} |
− | | Date_of_Death | + | | Allegiance = {{{Allegiance}}} |
− | | Place_of_Death = | + | | Predecessor = {{{Predecessor}}} |
− | | Father | + | | Successor = {{{Successor}}} |
− | | Mother | + | | Race = {{{Race}}} |
− | | Spouse | + | | Culture = {{{Culture}}} |
− | | Lover | + | | Date_of_Birth = {{{Date_of_Birth}}} |
− | | Issue | + | | Place_of_Birth = {{{Place_of_Birth}}} |
− | | coat-of-arms | + | | Date_of_Death = {{{Date_of_Death}}} |
− | | Books | + | | Place_of_Death = {{{Place_of_Death}}} |
− | | Played_by | + | | Date_of_Burial = {{{Date_of_Burial}}} |
− | | TV_series | + | | 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}}} | ||
}}</pre> | }}</pre> | ||
Line 59: | Line 75: | ||
{| class="wikitable" | {| class="wikitable" | ||
− | | | + | | Name parts |
+ | * <code>title</code> | ||
+ | * <code>nickname</code> | ||
+ | * <code>firstname</code> | ||
+ | * <code>particle</code> | ||
+ | * <code>lastname</code> | ||
+ | * <code>epithet</code> | ||
+ | | Name parts | ||
+ | * Main title that the character bears | ||
+ | * Nickname, when it is a main part of the name | ||
+ | * First name | ||
+ | * Particle coming before the last name (e.g. "of", "zo", "mo") | ||
+ | * Last name/house name | ||
+ | * Epithet/sobriquet, also used for nameless characters (e.g. "the Tall", "A certain man") | ||
+ | |- | ||
+ | | <code>arms</code> || Main coat of arms / symbol representing the character.<br>'''[[Template:Coa/list]] contains all the available values.''' | ||
+ | |- | ||
+ | | <code>arms2</code> || Secondary coat of arms / symbol representing the character. '''Not needed if identical to main one!''' | ||
+ | |- | ||
+ | | <code>image</code> || Image of the character. Use just the file name or the full image syntax.<br>For example: <code><nowiki>Example.png</nowiki></code> or <code><nowiki>[[File:example.png|200px|alt=Example alt text]]</nowiki></code>. | ||
|- | |- | ||
− | | | + | | <code>image_caption</code> || |
|- | |- | ||
− | | | + | | <code>Alias</code> || |
|- | |- | ||
− | | | + | | <code>Title</code> || |
|- | |- | ||
− | | | + | | <code>Allegiance</code> || InterLink to the appropriate <code><nowiki>[[Noble House]]s</nowiki></code>. |
|- | |- | ||
− | | | + | | <code>Predecessor</code> || |
|- | |- | ||
− | | | + | | <code>Successor</code> || |
|- | |- | ||
− | | | + | | <code>Culture</code> || Choose appropriate values from the list of [[:Category:Cultures|Cultures]] |
|- | |- | ||
− | | | + | | <code>Date_of_Birth</code> || Use <code>{{tl|Date|XXX}}</code> to display dates. |
|- | |- | ||
− | | | + | | <code>Place_of_Birth</code>|| InterLink to the appropriate <code><nowiki>[[Location]]</nowiki></code>. |
|- | |- | ||
− | | | + | | <code>Date_of_Death</code> || Use <code>{{tl|Date|XXX}}</code> to display dates. |
|- | |- | ||
− | | | + | | <code>Place_of_Death</code>|| InterLink to the appropriate <code><nowiki>[[Location]]</nowiki></code>. |
|- | |- | ||
− | | | + | | <code>Date_of_Burial</code>|| Use <code>{{tl|Date|XXX}}</code> to display dates. |
|- | |- | ||
− | | | + | | <code>Place_of_Burial</code>|| InterLink to the appropriate <code><nowiki>[[Location]]</nowiki></code>. |
|- | |- | ||
− | | Father || InterLink to the appropriate | + | | <code>Father</code> || InterLink to the appropriate <code><nowiki>[[Character]]</nowiki></code>. |
|- | |- | ||
− | | Mother || InterLink to the appropriate | + | | <code>Mother</code> || InterLink to the appropriate <code><nowiki>[[Character]]</nowiki></code>. |
|- | |- | ||
− | | Spouse || InterLink to the appropriate | + | | <code>Spouse</code> || InterLink to the appropriate <code><nowiki>[[Character]]s</nowiki></code>. |
|- | |- | ||
− | | Lover || InterLink to the appropriate | + | | <code>Lover</code> || InterLink to the appropriate <code><nowiki>[[Character]]s</nowiki></code>. |
|- | |- | ||
− | | Issue || InterLink to the appropriate | + | | <code>Issue</code> || InterLink to the appropriate <code><nowiki>[[Character]]s</nowiki></code>. |
|- | |- | ||
− | | coat-of-arms || ??? add Image or description ??? | + | | <code>coat-of-arms</code> || ??? add Image or description ??? |
|- | |- | ||
− | | Books || Choose appropriate values from the list of [[:Category:Books|Books]] | + | | <code>Books</code> || Choose appropriate values from the list of [[:Category:Books|Books]] |
|- | |- | ||
− | | | + | | <code>Played_by</code> || link to Wikipedia with <code><nowiki>[[w:Article name|Actor name]]</nowiki></code> |
|- | |- | ||
− | | TV_series || | + | | <code>TV_series</code> || |
|} | |} | ||
<includeonly> | <includeonly> | ||
[[Category:Infobox templates|Character]]</includeonly> | [[Category:Infobox templates|Character]]</includeonly> |
Latest revision as of 08:29, 15 January 2023
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 |