Template:Staff: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(12 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;
}}
{| classbodyclass =" infobox"
{{!}}-
{{#if: {{{location|}}} {{{type|}}}| {{{!}} class="infobox mw-collapsible infobox-bottom" style="{{#if:{{{image|}}}|width:278px|width:270px}}"
! class = "infobox-header3 purple-text" colspan="2" {{!}} {{#switch:{{{series}}}|FIM=''Friendship is Magic'' place[[Category:Friendship is Magic places]]|EQG=''Equestria Girls'' place[[Category:Equestria Girls places]]|MLP=''My Little Pony'' place[[Category:My Little Pony places]]|TALES=''Tales'' place[[Category:Tales places]]}} {{#switch:{{{A}}}|FIM-A=[[Category:Friendship is Magic cartoon places]]|TOE=[[Category:Tails of Equestria places]]|FIM-C=[[Category:Friendship is Magic comic places]]}}
}}
{{!}}-}}
{{!}}-
{{#if:{{{work|}}}|
{{!}} class="infobox-label" {{!}}
'''{{{work-title|Work}}}''':
{{!}} class="infobox-cell" {{!}}
{{{work|}}}
{{!}}-}}
 
| above = {{ #if: {{{name|}}} | {{{name|{{PAGENAME}}}}} | {{PAGENAME}}}}
{{#if:{{{affiliation|}}}|
|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" {{!}}
'''{{{affiliation-title|Affiliation}}}''':
{{!}} class="infobox-cell" {{!}}
{{{affiliation|}}}
{{!}}-}}
 
| 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|}}} {{{family|}}} | {{{!}} class="infobox mw-collapsible mw-collapsed infobox-bottom" style="{{#if:{{{image|}}}|width:278px|width:270px}}"
| caption = {{{caption|}}}
! class = "infobox-header2 purple-text" colspan="2" {{!}} More information
{{!}}-
}}
|-
{{#if:{{{birth|}}}|
{{!}} class="infobox-label" {{!}}
'''{{{birth-title|Birth}}}''':
{{!}} class="infobox-cell" {{!}}
{{{birth|}}}
{{!}}-}}
 
{{#if:{{{death|}}}|
{{!}} class="infobox-label" {{!}}
'''{{{death-title|Death}}}''':
{{!}} class="infobox-cell" {{!}}
{{{death|}}}
{{!}}-}}
 
| label1 = {{tooltip|Active|Years active on the franchise}}
{{#if:{{{family|}}}|
| data1 = {{{active|}}}
{{!}} class="infobox-label" {{!}}
| rowclass1 = bordered
'''{{{family-title|Family}}}''':
| label2 = Job(s)
{{!}} class="infobox-cell" {{!}}
| data2 = {{{familyroles|}}}
| rowclass2 = bordered
{{!}}-}}
| label3 = Employment
|}<noinclude>[[Category:Infobox templates]]{{Documentation}}</noinclude>
| data3 = {{{employment|}}}
| rowclass3 = bordered
{{!)}}-
}}</onlyinclude><noinclude><br style="clear:both;" />{{documentation}}</noinclude>