Template:Infobox artist: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Plastikspork
Per talk page suggestion
meta>Plastikspork
Switching backend to use ''infobox'', which will hopefully fix the "influenced by" alignment problem. Please revert if this causes problems.
Line 1: Line 1:
{| class = "infobox vcard" style="width:{{{box_width|22em}}}; font-size:90%;" cellspacing="5"
{{Infobox
|-
| bodyclass  = vcard
|colspan="2" style="text-align:center; font-size:larger; background-color:{{{bgcolour|#6495ED}}}; color:#000000;" class = "fn"| '''{{{name|{{PAGENAME}}}}}'''
| bodystyle  = width:{{{box_width|22em}}}; font-size:90%; cellspacing: 5;
|-
| abovestyle = text-align:center; font-size:larger; background-color:{{{bgcolour|#6495ED}}}; color:#000000;
|colspan="2" style="text-align:center; font-size:90%;" {{image class|{{{image}}}}}| {{#if:{{{image<includeonly>|</includeonly>}}} |<!--then:-->
| above      = {{{name|{{PAGENAME}}}}}
[[Image:{{{image}}}|{{#if:{{{imagesize|}}}|<!--then:-->{{{imagesize}}}|<!--else:-->frameless}}|alt={{{alt|}}}| ]]<br/><small>{{{caption<includeonly>|</includeonly>}}}</small>
| imageclass = {{#if:{{{image|}}}|{{image class names|{{{image}}}}} }}
}}
| image      = {{#if:{{{image<includeonly>|</includeonly>}}}|[[File:{{{image}}}|{{{imagesize|frameless}}}|alt={{{alt<includeonly>|</includeonly>}}}]]}}
{{#if:{{{birthname<includeonly>|</includeonly>}}} |<!--then:-->
| caption    = {{#if:{{{caption<includeonly>|</includeonly>}}}|<small>{{{caption}}}</small>}}
<tr><td style="text-align:right;">'''Birth name'''</td><td class="nickname">{{{birthname}}}</td></tr>
 
}}
| label1    = Birth&nbsp;name
|-
| class1    = nickname
| data1      = {{{birthname<includeonly>|</includeonly>}}}
 
| label2    = Born
| data2      = {{#if:{{{birthdate<includeonly>|</includeonly>}}} | {{{birthdate}}}<br/>{{{location<includeonly>|</includeonly>}}} }}
 
| label3    = Died
| data3      = {{#if:{{{deathdate<includeonly>|</includeonly>}}} | {{{deathdate}}}<br/>{{{deathplace<includeonly>|</includeonly>}}} }}
 
| label4    = Resting place
| data4      = {{#if:{{{resting_place<includeonly>|</includeonly>}}} | {{{resting_place}}}<br/>{{{resting_place_coordinates<includeonly>|</includeonly>}}} }}


{{#if:{{{birthdate<includeonly>|</includeonly>}}} |
| label5    = Nationality
{{!}}width="85px" align="right" {{!}} '''Born''' {{!}}{{!}} {{{birthdate}}}<br/>{{{location<includeonly>|</includeonly>}}}
| data5      = {{{nationality<includeonly>|</includeonly>}}}  
{{!}}-
}}


{{#if:{{{deathdate<includeonly>|</includeonly>}}} |
| label6    = Ethnicity
{{!}}width="85px" align="right" {{!}} '''Died''' {{!}}{{!}} {{{deathdate}}}<br/>{{{deathplace<includeonly>|</includeonly>}}}
| data6      = {{{ethnicity<includeonly>|</includeonly>}}}
{{!}}-
}}


{{#if:{{{resting_place<includeonly>|</includeonly>}}} |
| label7    = Field
{{!}}width="85px" align="right" {{!}} '''Resting place''' {{!}}{{!}} {{{resting_place}}}<br/>{{{resting_place_coordinates<includeonly>|</includeonly>}}}
| data7      = {{{field<includeonly>|</includeonly>}}}
{{!}}-
}}


{{#if:{{{nationality<includeonly>|</includeonly>}}} |
| label8    = Training
{{!}}width="85px" align="right" {{!}} '''Nationality''' {{!}}{{!}} {{{nationality}}}
| data8      = {{{training<includeonly>|</includeonly>}}}
{{!}}-
}}


{{#if:{{{ethnicity<includeonly>|</includeonly>}}} |
| label9    = Movement
{{!}}width="85px" align="right" {{!}} '''Ethnicity''' {{!}}{{!}} {{{ethnicity}}}
| class9    = role
{{!}}-
| data9      = {{{movement<includeonly>|</includeonly>}}}
}}


{{#if:{{{field<includeonly>|</includeonly>}}} |
| label10    = Major&nbsp;works
{{!}}width="85px" align="right" {{!}} '''Field''' {{!}}{{!}} {{{field}}}
| class10    = note
{{!}}-
| data10    = {{{works<includeonly>|</includeonly>}}}
}}


{{#if:{{{training<includeonly>|</includeonly>}}} |
| label11    = Patrons
{{!}}width="85px" align="right" {{!}} '''Training''' {{!}}{{!}} {{{training}}}
| data11    = {{{patrons<includeonly>|</includeonly>}}}
{{!}}-
}}


{{#if:{{{movement<includeonly>|</includeonly>}}} |
| data12      = {{#if:{{{influenced by<includeonly>|</includeonly>}}}|
{{!}}width="85px" align="right" {{!}} '''Movement''' {{!}}{{!}} <span class="role">{{{movement}}}</span>
{{Collapsible list
{{!}}-
| title      = Influenced by
| frame_style = border: none; padding: 0;
| list_style  = text-align: center; display: none;
| 1          = {{{influenced by}}}
}}
}}
{{#if:{{{works<includeonly>|</includeonly>}}} |
{{!}}width="85px" align="right" {{!}} '''Major works''' {{!}}{{!}} <span class="note">{{{works}}}</span>
{{!}}-
}}
}}


{{#if:{{{patrons<includeonly>|</includeonly>}}} |
| data13      = {{#if:{{{influenced<includeonly>|</includeonly>}}}|
{{!}}width="85px" align="right" {{!}} '''Patrons'''{{!}}{{!}} {{{patrons}}}
{{Collapsible list
{{!}}-
| title      = Influenced
| frame_style = border: none; padding: 0;
| list_style  = text-align: center; display: none;
| 1          = {{{influenced}}}
}}
}}
{{#if:{{{influenced by<includeonly>|</includeonly>}}}|
{{!}} colspan="2" {{!}} {{Collapsible list|title=Influenced by|frame_style=border:none; padding: 0;|title_style=background:transparent; text-align:left;|list_style=text-align:left;|1={{#if:{{{influenced by<includeonly>|</includeonly>}}}|:::{{{influenced by}}}}}}}
{{!}}-
}}
}}


{{#if:{{{influenced<includeonly>|</includeonly>}}}|
| label14    = Awards
{{!}} colspan="2" {{!}} {{Collapsible list|title=Influenced|frame_style=border:none; padding: 0;|title_style=background:transparent; text-align:left;|list_style=text-align:left;|1={{#if:{{{influenced<includeonly>|</includeonly>}}}|:::{{{influenced}}}}}}}
| data14    = {{{awards<includeonly>|</includeonly>}}}
{{!}}-
}}


{{#if:{{{awards<includeonly>|</includeonly>}}} |
| data15      = {{#if:{{{signature<includeonly>|</includeonly>}}}|'''Signature'''}}
{{!}}width="85px" align="right" {{!}} '''Awards''' {{!}}{{!}} {{{awards}}}
| data16      = {{#if:{{{signature<includeonly>|</includeonly>}}}|[[File:{{{signature}}}|128px|alt={{{signature_alt<includeonly>|</includeonly>}}}|{{{name}}}'s signature]]}}
{{!}}-
}}


{{#if:{{{signature<includeonly>|</includeonly>}}} |
| label17    = Website
{{!}}colspan=2  align="center" {{!}}'''Signature'''<br /><!--
| data17     = {{{website<includeonly>|</includeonly>}}}
    -->[[File:{{{signature}}}|128px<noinclude><br/></noinclude><!--
     -->|alt={{{signature_alt<includeonly>|</includeonly>}}}<!--
    -->|{{{name<includeonly>|{{PAGENAME}}</includeonly>}}}'s signature]]
{{!}}-
}}


{{#if:{{{website<includeonly>|</includeonly>}}} |
}}<noinclude>
{{!}}width="85px" align=right {{!}} '''Website''' {{!}}{{!}} {{{website}}}
}}
|-
|}<noinclude>
{{Pp-template|small=yes}}
{{Pp-template|small=yes}}
{{documentation}}
{{documentation}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
</noinclude>
</noinclude>

Revision as of 20:41, 9 October 2009

Infobox artist
[[File:{{{image}}}|frameless|alt={{{alt}}}]]
{{{caption}}}
Birth name{{{birthname}}}
Born{{{birthdate}}}
{{{location}}}
Died{{{deathdate}}}
{{{deathplace}}}
Resting place{{{resting_place}}}
{{{resting_place_coordinates}}}
Nationality{{{nationality}}}
Ethnicity{{{ethnicity}}}
Field{{{field}}}
Training{{{training}}}
Movement{{{movement}}}
Major works{{{works}}}
Patrons{{{patrons}}}
Template:Collapsible list
Template:Collapsible list
Awards{{{awards}}}
Signature
[[File:{{{signature}}}|128px|alt={{{signature_alt}}}|{{{name}}}'s signature]]
Website{{{website}}}