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 555 de Lidiany (Discussão))
Linha 1: Linha 1:
<includeonly>{{Infobox  
+
{{Infobox
| title = {{{Character_name|}}}
+
|bodystyle   = border-spacing: 2px 5px;
| above = {{#if:{{{Character_name|}}}| | '''{{{name|{{PAGENAME}} }}}''' }}
 
| abovestyle   = background: #E0E8FF; text-align:center;  
 
  
| image = {{#if:{{{image|}}}|{{{image|}}}|[[Category:Characters without images]] }}
+
|above        = {{ifempty|{{{name<includeonly>|</includeonly>}}}|{{PAGENAME}}}}
| caption = {{#if:{{{image_caption|}}} | {{{image_caption}}} }}
+
|abovestyle  = background: {{ifempty|{{{color|{{{colour|}}}}}}|#DEDEE2}}; color: {{ifempty|{{{color text|{{{colour text|}}}}}}|#000}};
  
| data2 = {{#if:{{{image|}}}|<hr>}}
+
|subheader    = {{ #if: {{{series<includeonly>|</includeonly>}}} | ''{{{series}}}'' character }}
| label3 = Alias
 
| data3 = {{{Alias|}}}
 
| label4        = Title
 
| data4        = {{{Title|}}}
 
| label5 = Allegiance
 
| data5 = {{{Allegiance|}}}
 
  
| label8 = Race
+
|image        = {{{image<includeonly>|</includeonly>}}}
| data8 = {{{Race|}}}
+
|caption      = {{{caption<includeonly>|</includeonly>}}}
| label9 = Culture
+
|captionstyle = font-size: smaller;
| data9 = {{{Culture|}}}
 
  
| label10 = Born
+
|headerstyle  = background: {{ifempty|{{{color|{{{colour|}}}}}}|#DEDEE2}}; color: {{ifempty|{{{color text|{{{colour text|}}}}}}|#000}};
| 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}}}|}}
+
|labelstyle  = {{{lbl-style|}}}
| label11 = Died
+
|datastyle    = {{{data-style|}}}
| 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|}}}
 
  
| data18 = {{{coat-of-arms|}}}
+
|label1  = First appearance{{{sep|}}}
 +
|data1    = {{ #if: {{{first<includeonly>|</includeonly>}}} | <nowiki></nowiki>
 +
{{{first}}} }}
  
| data25 = {{#if: {{{TV_series|}}}{{{Played_by|}}}|<hr> }}
+
|label2  = Last appearance{{{sep|}}}
| label26 = {{Nowrap|Played by}}
+
|data2    = {{ #if: {{{last<includeonly>|</includeonly>}}} | <nowiki></nowiki>
| data26 = {{{Played_by|}}}
+
{{{last}}} }}
| label27 = {{Nowrap|TV series}}
 
| data27 = {{{TV_series|}}}
 
}}</includeonly><noinclude>
 
  
{{Character  <!-- Example show on the right -->
+
|label4  = Created by{{{sep|}}}
| Character_name = Character name
+
|data4    = {{ #if: {{{creator<includeonly>|</includeonly>}}} | <nowiki></nowiki>
| image         = [[Image:No_Portrait.jpg|175px]]
+
{{{creator}}} }}
| 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===
+
|label5  = Portrayed by{{{sep|}}}
<pre>{{Infobox character
+
|data5    = {{ #if: {{{portrayer<includeonly>|</includeonly>}}} | <nowiki></nowiki>
| Character_name =
+
{{{portrayer}}} }}
| 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"
+
|label6  = [[Voice acting|Voiced by]]{{{sep|}}}
| Character_name|| Character name to display in top header
+
|data6   = {{ #if: {{{voice<includeonly>|</includeonly>}}} | <nowiki></nowiki>
|-
+
{{{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    ||
 
|}
 
  
[[Category:Infobox templates|Character]]</noinclude>
+
|label7  = {{{lbl1<includeonly>|</includeonly>}}}{{{sep|}}}
 +
|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 23h15min de 19 de julho de 2012

{{{name}}}
{{{series}}} character
{{{image}}}
{{{caption}}}
First appearance {{{first}}}
Last appearance {{{last}}}
Created by {{{creator}}}
Portrayed by {{{portrayer}}}
Voiced by {{{voice}}}
{{{lbl1}}} {{{data1}}}
{{{lbl2}}} {{{data2}}}
{{{lbl3}}} {{{data3}}}
Nickname(s) {{{nickname}}}
Aliases {{{alias}}}
Species {{{species}}}
Gender {{{gender}}}
Occupation {{{occupation}}}
Title {{{title}}}
Family {{{family}}}
Spouse(s) {{{spouse}}}
Significant other(s) {{{significantother}}}
Children {{{children}}}
Relatives {{{relatives}}}
Religion {{{religion}}}
Nationality {{{nationality}}}
{{{lbl21}}} {{{data21}}}
{{{lbl22}}} {{{data22}}}
{{{lbl23}}} {{{data23}}}
{{{extra-hdr}}}
{{{lbl31}}} {{{data31}}}
{{{lbl32}}} {{{data32}}}
{{{lbl33}}} {{{data33}}}