Template:Staff: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1:
<onlyinclude><templatestyles src="Template:Infobox/styles.css" />{{Infobox
{| class="infobox"
| autoheaders=y
|-
| bodystyle = width:270px; border: 2px solid #DFCDDD;
! class = "infobox-header1" colspan="2" | {{{name|{{PAGENAME}}}}}
| abovestyle = background-color: #2B1D42; color: #DFCDDD; padding: 8px; font-size: 150%;
{{#if:{{{image|}}}|}}
| imagestyle = padding-top: 9px;
|-
| captionstyle = padding: 5px 10px;
{{#if:{{{image|}}}|
| subheaderstyle = font-size: 110%; padding: 5px;
! style="text-align:center; padding: 0px; border-bottom:0px solid" colspan="2" {{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size=270|sizedefault=frameless|upright=1.1|alt={{{alt|}}}|suppressplaceholder=yes}}
| headerstyle = background-color: #2B1D42; font-weight: bold; #DFCDDD: white; font-size: 110%; padding: 4px;
}}
| bodyclass = infobox
{{!}}-
{{#if: {{{active|}}} {{{roles|}}} {{{portrays|}}} {{{series|}}} | {{{!}} class="infobox mw-collapsible infobox-bottom" style="{{#if:{{{image|}}}|width:279px|width:270px}}"
! class = "infobox-header3 purple-text" colspan="2" {{!}} {{#if:{{{series|}}}|{{#switch:{{{series}}}|FIM=''Friendship is Magic'' staff member|EQG=''Equestria Girls'' staff member|MLP=''[[My Little Pony (TV series)|My Little Pony]]'' staff member|TALES=''Tales'' staff member|=[[Category:Series unmarked]]|MULTI=Multi-work staff member|comic=Comic book staff|ANG=''A New Generation'' staff member}}}}
{{!}}-}}
{{!}}-
{{#if:{{{active|}}}|
{{!}} class="infobox-label" {{!}}
'''{{{active-title|Years}}}''':
{{!}} class="infobox-cell" {{!}}
{{{active|}}}
{{!}}-}}
{{#if:{{{contribution|}}}|
{{!}} class="infobox-label" {{!}}
'''{{{contribution-title|Contribution}}}''':
{{!}} class="infobox-cell" {{!}}
{{{contribution|}}}
{{!}}-}}
{{#if:{{{roles|}}}|
{{!}} class="infobox-label" {{!}}
'''{{{roles-title|Roles}}}''':
{{!}} class="infobox-cell" {{!}}
{{{roles|}}}
{{!}}-}}
{{{!}} class="infobox mw-collapsible mw-collapsed infobox-bottom" style="{{#if:{{{image|}}}|width:279px|width:270px}}"
! class = "infobox-header2 purple-text" colspan="2" {{!}} More information
{{!}}-
{{ #if:{{{fiction|}}} {{{music|}}} {{{non-fiction|}}} |{{!}} colspan="2" class="purple-text infobox-sub" {{!}} &nbsp;'''Appearances'''
}}
|-
{{#if:{{{fiction|}}}|
{{!}} class="infobox-label" {{!}}
'''{{{fiction-title|Fiction}}}''':
{{!}} class="infobox-cell" {{!}}
{{{fiction|}}}
{{!}}-}}
{{#if:{{{non-fiction|}}}|
{{!}} class="infobox-label" {{!}}
'''{{{non-fiction-title|Non-fiction}}}''':
{{!}} class="infobox-cell" {{!}}
{{{non-fiction|}}}
{{!}}-}}
 
| above = {{ #if: {{{name|}}} | {{{name|{{PAGENAME}}}}} | {{PAGENAME}}}}
{{#if:{{{music|}}}|
|subheader = {{#switch:{{{series|}}}|#default=[[My Little Pony staff|''My Little Pony'' staff]][[Category:Staff]]|FAN=[[My Little Pony fandom|''My Little Pony'' fandom]][[Category:Fandom]]}}
{{!}} class="infobox-label" {{!}}
'''{{{music-title|Music}}}''':
{{!}} class="infobox-cell" {{!}}
{{{music|}}}
{{!}}-}}
 
| image = {{#invoke:InfoboxImageDRAFT|InfoboxImageDRAFT|image={{trim brackets|{{{image|}}}}}|alt={{{image_alt|}}}|size={{{image_size|270px}}}|upright={{{upright|1.45}}}|sizedefault=frameless|maxsize=270px}}
{{ #if:{{{birth|}}} {{{death|}}} {{{relatives|}}} {{{residence|}}} {{{employment|}}} |{{!}} colspan="2" class="purple-text infobox-sub" {{!}} &nbsp;'''Personal life'''
| caption = {{{caption|}}}
}}
 
|-
 
{{#if:{{{birth|}}}|
| label1 = {{tooltip|Active|Years active on the franchise}}
{{!}} class="infobox-label" {{!}}
| data1 = {{{active|}}}
'''{{{birth-title|Birth}}}''':
| rowclass1 = bordered
{{!}} class="infobox-cell" {{!}}
| label2 = Job(s)
{{{birth|}}}
| data2 = {{{roles|}}}
{{!}}-}}
| rowclass2 = bordered
{{#if:{{{death|}}}|
| label3 = Employment
{{!}} class="infobox-label" {{!}}
| data3 = {{{employment|}}}
'''{{{death-title|Death}}}''':
| rowclass3 = bordered
{{!}} class="infobox-cell" {{!}}
{{{death|}!)}}
}}</onlyinclude><noinclude><br style="clear:both;" />{{documentation}}</noinclude>
{{!}}-}}
{{#if:{{{relatives|}}}|
{{!}} class="infobox-label" {{!}}
'''{{{relatives-title|Relatives}}}''':
{{!}} class="infobox-cell" {{!}}
{{{relatives|}}}
{{!}}-}}
{{#if:{{{residence|}}}|
{{!}} class="infobox-label" {{!}}
'''{{{residence-title|Residence}}}''':
{{!}} class="infobox-cell" {{!}}
{{{residence|}}}
{{!}}-}}
{{#if:{{{employment|}}}|
{{!}} class="infobox-label" {{!}}
'''{{{employment-title|Employment}}}''':
{{!}} class="infobox-cell" {{!}}
{{{employment|}}}
{{!}}-}}
|}<noinclude>{{documentation}}</noinclude>