Mudanças entre as edições de "Predefinição:Infobox character"
Ir para navegação
Ir para pesquisar
m (uma edição) |
|||
Linha 1: | Linha 1: | ||
− | {{Infobox | + | <includeonly>{{Infobox |
− | | | + | | title = {{{Character_name|}}} |
+ | | above = {{#if:{{{Character_name|}}}| | '''{{{name|{{PAGENAME}} }}}''' }} | ||
+ | | abovestyle = background: #E0E8FF; text-align:center; | ||
− | | | + | | image = {{#if:{{{image|}}}|{{{image|}}}|[[Category:Characters without images]] }} |
− | | | + | | caption = {{#if:{{{image_caption|}}} | {{{image_caption}}} }} |
− | | | + | | data2 = {{#if:{{{image|}}}|<hr>}} |
+ | | label3 = Alias | ||
+ | | data3 = {{{Alias|}}} | ||
+ | | label4 = Title | ||
+ | | data4 = {{{Title|}}} | ||
+ | | label5 = Allegiance | ||
+ | | data5 = {{{Allegiance|}}} | ||
− | | | + | | label8 = Race |
− | | | + | | data8 = {{{Race|}}} |
− | + | | label9 = Culture | |
+ | | data9 = {{{Culture|}}} | ||
− | | | + | | label10 = Born |
− | | | + | | data10 = {{#if:{{{Date_of_Birth|}}}|In {{{Date_of_Birth}}}|}}{{#if:{{{Date_of_Birth|}}}{{{Place_of_Birth|}}}|, |}}{{#if:{{{Place_of_Birth|}}}|at {{{Place_of_Birth}}}|}} |
− | | | + | | label11 = Died |
+ | | data11 = {{#if:{{{Date_of_Death|}}}|In {{{Date_of_Death}}}|}}{{#if:{{{Date_of_Death|}}}{{{Place_of_Death|}}}|, |}}{{#if:{{{Place_of_Death|}}}|at {{{Place_of_Death}}}|}} | ||
+ | | label14 = Spouse | ||
+ | | data14 = {{{Spouse|}}} | ||
+ | | label15 = Book(s) | ||
+ | | data15 = {{{Books|}}} | ||
− | | | + | | data18 = {{{coat-of-arms|}}} |
− | |||
− | |||
− | | | + | | data25 = {{#if: {{{TV_series|}}}{{{Played_by|}}}|<hr> }} |
− | | | + | | label26 = {{Nowrap|Played by}} |
− | {{{ | + | | data26 = {{{Played_by|}}} |
+ | | label27 = {{Nowrap|TV series}} | ||
+ | | data27 = {{{TV_series|}}} | ||
+ | }}</includeonly><noinclude> | ||
− | + | {{Character <!-- Example show on the right --> | |
− | | | + | | Character_name = Character name |
− | + | | image = [[Image:No_Portrait.jpg|175px]] | |
+ | | image_caption = Image caption | ||
+ | | Alias = text | ||
+ | | Title = text | ||
+ | | Allegiance = text | ||
+ | | Race = text | ||
+ | | Culture = text | ||
+ | | Spouse = text | ||
+ | | Place_of_Birth = text | ||
+ | | Date_of_Birth = date | ||
+ | | Place_of_Death = text | ||
+ | | Date_of_Death = date | ||
+ | | Books = text | ||
+ | | coat-of-arms = COA | ||
+ | | Played_by = text | ||
+ | | TV_series = text | ||
+ | }} | ||
− | + | ===Usage=== | |
− | | | + | <pre>{{Infobox character |
− | + | | Character_name = | |
+ | | image = | ||
+ | | image_caption = | ||
+ | | Alias = | ||
+ | | Title = | ||
+ | | Allegiance = | ||
+ | | Race = | ||
+ | | Culture = | ||
+ | | Spouse = | ||
+ | | Place_of_Birth = | ||
+ | | Date_of_Birth = | ||
+ | | Place_of_Death = | ||
+ | | Date_of_Death = | ||
+ | | Books = | ||
+ | | coat-of-arms = | ||
+ | | Played_by = | ||
+ | | TV_series = | ||
+ | }}</pre> | ||
+ | ===Parameters=== | ||
+ | * Parameters which get no value are not shown when the template used. | ||
+ | * you can add multipile values by seperating them with <nowiki>'<br>'</nowiki> tag. | ||
− | | | + | {| class="wikitable" |
− | | | + | | Character_name|| Character name to display in top header |
− | {{ | + | |- |
+ | | image || Image of the character. Use full image syntax, for example ''<nowiki>[[File:example.png|200px|alt=Example alt text]]</nowiki>''. | ||
+ | |- | ||
+ | | image_caption || | ||
+ | |- | ||
+ | | Alias || | ||
+ | |- | ||
+ | | Title || | ||
+ | |- | ||
+ | | Allegiance || InterLink to the appropriate ''<nowiki>[[Noble Houses]]</nowiki>''. | ||
+ | |- | ||
+ | | Race || ??? | ||
+ | |- | ||
+ | | Culture || Choose appropriate values from the list of [[:Category:Cultures|Cultures]] | ||
+ | |- | ||
+ | | Spouse || InterLink to the appropriate ''<nowiki>[[Characters]]</nowiki>''. | ||
+ | |- | ||
+ | | Place_of_Birth|| InterLink to the appropriate ''<nowiki>[[Location]]</nowiki>''. | ||
+ | |- | ||
+ | | Date_of_Birth || Use [[Template:Date|<nowiki>{{Date|XXX}}</nowiki>|]] to display dates. | ||
+ | |- | ||
+ | | Place_of_Death|| | ||
+ | |- | ||
+ | | Date_of_Death || | ||
+ | |- | ||
+ | | Books || Choose appropriate values from the list of [[:Category:Books|Books]] | ||
+ | |- | ||
+ | | coat-of-arms || ??? add Image or description ??? | ||
+ | |- | ||
+ | | Played by || link to Wikipedia with ''<nowiki>[[w:Article name|Actor name]]</nowiki>'' | ||
+ | |- | ||
+ | | TV_series || | ||
+ | |} | ||
− | + | [[Category:Infobox templates|Character]]</noinclude> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </noinclude> |
Edição das 23h14min de 19 de julho de 2012
175px Image caption | |
| |
Alias | text |
---|---|
Title | text |
Allegiance | text |
Race | text |
Culture | text |
Born | In date, at text |
Died | In date, at text |
Spouse | text |
Book(s) | text |
COA | |
| |
Played by | text |
TV series | text |
Usage
{{Infobox character | Character_name = | image = | image_caption = | Alias = | Title = | Allegiance = | Race = | Culture = | Spouse = | Place_of_Birth = | Date_of_Birth = | Place_of_Death = | Date_of_Death = | Books = | coat-of-arms = | Played_by = | 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.
Character_name | Character name to display in top header |
image | Image of the character. Use full image syntax, for example [[File:example.png|200px|alt=Example alt text]]. |
image_caption | |
Alias | |
Title | |
Allegiance | InterLink to the appropriate [[Noble Houses]]. |
Race | ??? |
Culture | Choose appropriate values from the list of Cultures |
Spouse | InterLink to the appropriate [[Characters]]. |
Place_of_Birth | InterLink to the appropriate [[Location]]. |
Date_of_Birth | Use {{Date|XXX}}| to display dates. |
Place_of_Death | |
Date_of_Death | |
Books | Choose appropriate values from the list of Books |
coat-of-arms | ??? add Image or description ??? |
Played by | link to Wikipedia with [[w:Article name|Actor name]] |
TV_series |