Mudanças entre as edições de "Predefinição:Infobox character"

De Gelo e Fogo wiki
Ir para navegação Ir para pesquisar

 

(Desfeita a edição 674 de Lidiany (Discussão))
Linha 1: Linha 1:
{{Infobox
+
<includeonly>{{Infobox  
|bodystyle   = border-spacing: 2px 5px;
+
| title = {{{Character_name|}}}
 +
| above = {{#if:{{{Character_name|}}}| | '''{{{name|{{PAGENAME}} }}}''' }}
 +
| abovestyle   = background: #E0E8FF; text-align:center;  
  
|above        = {{ifempty|{{{name<includeonly>|</includeonly>}}}|{{PAGENAME}}}}
+
| image = {{#if:{{{image|}}}|{{{image|}}}|[[Category:Characters without images]] }}
|abovestyle  = background: {{ifempty|{{{color|{{{colour|}}}}}}|#DEDEE2}}; color: {{ifempty|{{{color text|{{{colour text|}}}}}}|#000}};
+
| caption = {{#if:{{{image_caption|}}} | {{{image_caption}}} }}
  
|subheader    = {{ #if: {{{series<includeonly>|</includeonly>}}} | ''{{{series}}}'' character }}
+
| data2 = {{#if:{{{image|}}}|<hr>}}
 +
| label3 = Alias
 +
| data3 = {{{Alias|}}}
 +
| label4        = Title
 +
| data4        = {{{Title|}}}
 +
| label5 = Allegiance
 +
| data5 = {{{Allegiance|}}}
  
|image        = {{{image<includeonly>|</includeonly>}}}
+
| label8 = Race
|caption      = {{{caption<includeonly>|</includeonly>}}}
+
| data8 = {{{Race|}}}
|captionstyle = font-size: smaller;
+
| label9 = Culture
 +
| data9 = {{{Culture|}}}
  
|headerstyle  = background: {{ifempty|{{{color|{{{colour|}}}}}}|#DEDEE2}}; color: {{ifempty|{{{color text|{{{colour text|}}}}}}|#000}};
+
| label10 = Born
|labelstyle  = {{{lbl-style|}}}
+
| data10 = {{#if:{{{Date_of_Birth|}}}|In {{{Date_of_Birth}}}|}}{{#if:{{{Date_of_Birth|}}}{{{Place_of_Birth|}}}|,&nbsp;|}}{{#if:{{{Place_of_Birth|}}}|at {{{Place_of_Birth}}}|}}
|datastyle    = {{{data-style|}}}
+
| label11 = Died
 +
| data11 = {{#if:{{{Date_of_Death|}}}|In {{{Date_of_Death}}}|}}{{#if:{{{Date_of_Death|}}}{{{Place_of_Death|}}}|,&nbsp;|}}{{#if:{{{Place_of_Death|}}}|at {{{Place_of_Death}}}|}}
 +
| label14 = Spouse
 +
| data14 = {{{Spouse|}}}
 +
| label15 = Book(s)
 +
| data15 = {{{Books|}}}
  
|label1  = First appearance{{{sep|}}}
+
| data18 = {{{coat-of-arms|}}}
|data1    = {{ #if: {{{first<includeonly>|</includeonly>}}} | <nowiki></nowiki>
 
{{{first}}} }}
 
  
|label2  = Last appearance{{{sep|}}}
+
| data25 = {{#if: {{{TV_series|}}}{{{Played_by|}}}|<hr> }}
|data2    = {{ #if: {{{last<includeonly>|</includeonly>}}} | <nowiki></nowiki>
+
| label26 = {{Nowrap|Played by}}
{{{last}}} }}
+
| data26 = {{{Played_by|}}}
 +
| label27 = {{Nowrap|TV series}}
 +
| data27 = {{{TV_series|}}}
 +
}}</includeonly><noinclude>
  
|label4  = Created by{{{sep|}}}
+
{{Character  <!-- Example show on the right -->
|data4    = {{ #if: {{{creator<includeonly>|</includeonly>}}} | <nowiki></nowiki>
+
| Character_name = Character name
{{{creator}}} }}
+
| 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
 +
}}
  
|label5  = Portrayed by{{{sep|}}}
+
===Usage===
|data5    = {{ #if: {{{portrayer<includeonly>|</includeonly>}}} | <nowiki></nowiki>
+
<pre>{{Infobox character
{{{portrayer}}} }}
+
| 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.
  
|label6  = [[Voice acting|Voiced by]]{{{sep|}}}
+
{| class="wikitable"
|data6   = {{ #if: {{{voice<includeonly>|</includeonly>}}} | <nowiki></nowiki>
+
| Character_name|| Character name to display in top header
{{{voice}}} }}
+
|-
 +
| 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    ||
 +
|}
  
|label7  = {{{lbl1<includeonly>|</includeonly>}}}{{{sep|}}}
+
[[Category:Infobox templates|Character]]</noinclude>
|data7    = {{ #if: {{{data1<includeonly>|</includeonly>}}} | <nowiki></nowiki>
 
{{{data1}}} }}
 
 
 
|label8  = {{{lbl2<includeonly>|</includeonly>}}}{{{sep|}}}
 
|data8    = {{ #if: {{{data2<includeonly>|</includeonly>}}} | <nowiki></nowiki>
 
{{{data2}}} }}
 
 
 
|label9  = {{{lbl3<includeonly>|</includeonly>}}}{{{sep|}}}
 
|data9    = {{ #if: {{{data3<includeonly>|</includeonly>}}} | <nowiki></nowiki>
 
{{{data3}}} }}
 
 
 
|label10  = {{{lbl4|}}}{{{sep|}}}
 
|data10  = {{ #if: {{{data4|}}} | <nowiki></nowiki>
 
{{{data4}}} }}
 
 
 
|label11  = {{{lbl5|}}}{{{sep|}}}
 
|data11  = {{ #if: {{{data5|}}} | <nowiki></nowiki>
 
{{{data5}}} }}
 
 
 
|label13  = Full name
 
|data13  = {{{fullname|}}}
 
 
 
|label14  = Nickname(s){{{sep|}}}
 
|data14  = {{{nickname<includeonly>|</includeonly>}}}
 
 
 
|label15  = Aliases{{{sep|}}}
 
|data15  = {{{alias<includeonly>|</includeonly>}}}
 
 
 
|label16  = Species{{{sep|}}}
 
|data16  = {{{species<includeonly>|</includeonly>}}}
 
 
 
|label17  = Gender{{{sep|}}}
 
|data17  = {{{gender<includeonly>|</includeonly>}}}
 
 
 
|label18  = Occupation{{{sep|}}}
 
|data18  = {{{occupation<includeonly>|</includeonly>}}}
 
 
 
|label19  = Title{{{sep|}}}
 
|data19  = {{{title<includeonly>|</includeonly>}}}
 
 
 
|label20  = Family{{{sep|}}}
 
|data20  = {{{family<includeonly>|</includeonly>}}}
 
 
 
|label21  = Spouse(s){{{sep|}}}
 
|data21  = {{{spouse<includeonly>|</includeonly>}}}
 
 
 
|label22  = [[Significant other]](s){{{sep|}}}
 
|data22  = {{{significantother<includeonly>|</includeonly>}}}
 
 
 
|label23  = Children{{{sep|}}}
 
|data23  = {{{children<includeonly>|</includeonly>}}}
 
 
 
|label24  = Relatives{{{sep|}}}
 
|data24  = {{{relatives<includeonly>|</includeonly>}}}
 
 
 
|label25  = Religion{{{sep|}}}
 
|data25  = {{{religion<includeonly>|</includeonly>}}}
 
 
 
|label26  = Nationality{{{sep|}}}
 
|data26  = {{{nationality<includeonly>|</includeonly>}}}
 
 
 
|label32  = {{{lbl21<includeonly>|</includeonly>}}}{{{sep|}}}
 
|data32  = {{ #if: {{{data21<includeonly>|</includeonly>}}} | <nowiki></nowiki>
 
{{{data21}}} }}
 
 
 
|label33  = {{{lbl22<includeonly>|</includeonly>}}}{{{sep|}}}
 
|data33  = {{ #if: {{{data22<includeonly>|</includeonly>}}} | <nowiki></nowiki>
 
{{{data22}}} }}
 
 
 
|label34  = {{{lbl23<includeonly>|</includeonly>}}}{{{sep|}}}
 
|data34  = {{ #if: {{{data23<includeonly>|</includeonly>}}} | <nowiki></nowiki>
 
{{{data23}}} }}
 
 
 
|label35  = {{{lbl24|}}}{{{sep|}}}
 
|data35  = {{ #if: {{{data24|}}} | <nowiki></nowiki>
 
{{{data24}}} }}
 
 
 
|label36  = {{{lbl25|}}}{{{sep|}}}
 
|data36  = {{ #if: {{{data25|}}} | <nowiki></nowiki>
 
{{{data25}}} }}
 
 
 
|header37 = {{ #if: {{{data31<includeonly>|</includeonly>}}} {{{data32|}}} {{{data33|}}} {{{data34|}}} {{{data35|}}} | {{{extra-hdr<includeonly>|</includeonly>}}} }}
 
 
 
|label38  = {{{lbl31<includeonly>|</includeonly>}}}{{{sep|}}}
 
|data38  = {{ #if: {{{data31<includeonly>|</includeonly>}}} | <nowiki></nowiki>
 
{{{data31}}} }}
 
 
 
|label39  = {{{lbl32<includeonly>|</includeonly>}}}{{{sep|}}}
 
|data39  = {{ #if: {{{data32<includeonly>|</includeonly>}}} | <nowiki></nowiki>
 
{{{data32}}} }}
 
 
 
|label40  = {{{lbl33<includeonly>|</includeonly>}}}{{{sep|}}}
 
|data40  = {{ #if: {{{data33<includeonly>|</includeonly>}}} | <nowiki></nowiki>
 
{{{data33}}} }}
 
 
 
|label41  = {{{lbl34|}}}{{{sep|}}}
 
|data41  = {{ #if: {{{data34|}}} | <nowiki></nowiki>
 
{{{data34}}} }}
 
 
 
|label42  = {{{lbl35|}}}{{{sep|}}}
 
 
 
}}<noinclude>
 
 
 
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 

Edição das 00h35min de 23 de agosto de 2012


Character name
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