Template:Staff: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(17 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: {{{dates|}}} {{{saga|}}} {{{arc|}}} {{{series|}}} | {{{!}} class="infobox mw-collapsible infobox-bottom" style="{{#if:{{{image|}}}|width:278px|width:270px}}"
!| classabove = "infobox-header3 purple-text" colspan="2" {{!}} {{#if: {{{rolename|}}} | {{#switch:{name|{{rolePAGENAME}}}}} |perf=Performer {{PAGENAME}}}}
|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]]}}
{{!}}-}}
 
{{!}}-
| image = {{#invoke:InfoboxImageDRAFT|InfoboxImageDRAFT|image={{trim brackets|{{{image|}}}}}|alt={{{image_alt|}}}|size={{{image_size|270px}}}|upright={{{upright|1.45}}}|sizedefault=frameless|maxsize=270px}}
{{#if:{{{work|}}}|
| caption = {{{caption|}}}
{{!}} class="infobox-label" {{!}}
 
'''{{{work-title|Work}}}''':
 
{{!}} class="infobox-cell" {{!}}
| label1 = {{tooltip|Active|Years active on the franchise}}
{{{work|}}}
| data1 = {{{active|}}}
{{!}}-}}
| rowclass1 = bordered
|}
| label2 = Job(s)
| data2 = {{{roles|}}}
| rowclass2 = bordered
| label3 = Employment
| data3 = {{{employment|}}}
| rowclass3 = bordered
{{!)}}-
}}</onlyinclude><noinclude><br style="clear:both;" />{{documentation}}</noinclude>