Template:Staff Member Infobox: Difference between revisions
Jump to navigation
Jump to search
(Blanked the page) Tags: Blanking Reverted |
Tag: Undo |
||
Line 1: | Line 1: | ||
<includeonly>{{#css: | |||
table.infobox { | |||
background-color: #f9f9f9; | |||
border: 1px solid #aaa; | |||
font-size: 11px; | |||
margin: 1em 0em 1em 2em; | |||
padding: 2px; | |||
text-align: center; | |||
width: 250px; | |||
float: right; | |||
overflow: visible; | |||
position: relative; | |||
width: 250px; | |||
} | |||
table.infobox th { | |||
padding: 0em 1em 0em 1em; | |||
} | |||
table.infobox tr:first-child th { | |||
background-color: #ccf; | |||
padding: 0.5em 1em 0.5em 1em; | |||
font-size: 1.2em; | |||
} | |||
table.infobox tr:not(:first-child) th { | |||
background-color: #ddf; | |||
} | |||
table.infobox tr:not(:first-child) th + th { | |||
background-color: #e4e4ff; | |||
} | |||
table.infobox td { | |||
text-align: left; | |||
padding: 0px 7px 0px 7px; | |||
} | |||
}}{{#vardefine:position|{{#switch:{{lc:{{{position|}}}}} | |||
| illustrator | illustration = Illustrator | |||
| scenario writer | writer | scenario = Scenario writer | |||
| voice actor | voice = Voice actor | |||
|#default = Staff Member | |||
}}<!--switch end--> | |||
}}<!--vardefine position end | |||
-->{{#if: {{NAMESPACE}} | <!-- don't create subobj within namespace --> | {{#subobject:staffmember{{#vardefineecho:staffmembernumber|{{#expr:{{#var:staffmembernumber|-1}}+1}}}} | |||
| Has game context ={{#var:position}} | |||
| Has Japanese name ={{{jp name|???}}} | |||
| Has English name ={{{en name|}}} | |||
| Has lowercase English name ={{lc:{{{en name|?}}}}} | |||
| Has Pixiv ID = {{{pixiv|}}} | |||
| Has Twitter = {{{twitter|}}} | |||
}} | |||
}}<!-- end subobject | |||
--><table id="staffmember{{#var:staffmembernumber}}" class="infobox"> | |||
<tr> | |||
<th colspan="2">{{{en name|???}}}</th> | |||
</tr> | |||
<tr> | |||
<th>JP Name</th> | |||
<td>{{{jp name|???}}}</td> | |||
</tr> | |||
<tr> | |||
<th>Position</th> | |||
<td>{{#var:position}}</td> | |||
</tr> | |||
{{#if:{{{twitter|}}}|<tr> | |||
<th>Twitter</th> | |||
<td>[https://twitter.com/{{{twitter}}} @{{{twitter}}}]</td> | |||
</tr>}}{{#if:{{{pixiv|}}}|<tr> | |||
<th>pixiv</th> | |||
<td>[http://www.pixiv.net/member.php?id={{{pixiv}}} {{{pixiv}}}]</td> | |||
</tr>}}{{#if:{{{va profile|}}}|<tr> | |||
<th>Talent profile</th> | |||
<td>[{{{va profile}}}]</td> | |||
</tr>}}</table></includeonly><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 13:41, 11 May 2022
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}