Difference between revisions of "Template: Infobox character/sandbox"
From A Wiki of Ice and Fire
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 18: | Line 18: | ||
-->|{{#if:{{{arms|}}}|<table style="width:100%;"> | -->|{{#if:{{{arms|}}}|<table style="width:100%;"> | ||
<tr> | <tr> | ||
− | <td style="vertical-align:top;text-align:left;width:50px;">[[File:{{{arms}}}| | + | <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 | <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>}} | ||
Line 24: | Line 24: | ||
| 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> | ||
− | <td style="vertical-align:top;text-align:right;width:50px;">[[File:{{{arms2|{{{arms}}}}}}| | + | <td style="vertical-align:top;text-align:right;width:50px;">[[File:{{{arms2|{{{arms}}}}}}|50x70px]]</td> |
</tr> | </tr> | ||
</table>|<!-- | </table>|<!-- |
Revision as of 15:39, 6 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. |