Difference between revisions of "Template:Staff member infobox"

Gonna start adding in bluesky profiles since that seems to be the way things are going now.
(Created page with "<includeonly>{{#css: table.infobox { background-color: #f9f9f9; border: 1px solid #aaa; font-size: 11px; margin: 1em 0em 1em 2em; padding: 2px; text-al...")
 
(Gonna start adding in bluesky profiles since that seems to be the way things are going now.)
 
(6 intermediate revisions by 4 users not shown)
Line 38: Line 38:
}}{{#vardefine:position|{{#switch:{{lc:{{{position|}}}}}
}}{{#vardefine:position|{{#switch:{{lc:{{{position|}}}}}
| illustrator | illustration = Illustrator
| illustrator | illustration = Illustrator
| scenario writer | writer | scenario = Scenario Writer
| scenario writer | writer | scenario = Scenario writer
| voice actor | voice = Voice Actor
| voice actor | voice = Voice actor
|#default = Staff Member
|#default = Staff Member
}}<!--switch end-->
}}<!--switch end-->
}}<!--vardefine position end
}}<!--vardefine position end
-->{{#if: {{NAMESPACE}} | <!-- don't create subobj within namespace --> | {{#subobject:staffmember{{#vardefineecho:staffmembernumber|{{#expr:{{#var:staffmembernumber|-1}}+1}}}}
-->{{#if: {{NAMESPACE}} | <!-- don't create subobj within namespace --> | {{#subobject:staffmember{{#vardefineecho:staffmembernumber|{{#expr:{{#var:staffmembernumber|-1}}+1}}}}
| Has game context =Illustrator
| Has game context ={{#var:position}}
| Has Japanese name ={{{jp name|???}}}
| Has Japanese name ={{{jp name|???}}}
| Has English name ={{{en name|}}}
| Has English name ={{{en name|}}}
| Has lowercase English name ={{lc:{{{en name|?}}}}}
| Has Pixiv ID = {{{pixiv|}}}
| Has Twitter = {{{twitter|}}}
| Has Bluesky = {{{bsky|}}}
}}
}}
}}<!-- end subobject
}}<!-- end subobject
Line 64: Line 68:
   <th>Twitter</th>
   <th>Twitter</th>
   <td>[https://twitter.com/{{{twitter}}} @{{{twitter}}}]</td>
   <td>[https://twitter.com/{{{twitter}}} @{{{twitter}}}]</td>
  </tr>}}{{#if:{{{bsky|}}}|<tr>
  <th>Bluesky</th>
  <td>[https://bsky.app/profile/{{{bsky}}} {{{bsky}}}]</td>
</tr>}}{{#if:{{{pixiv|}}}|<tr>
</tr>}}{{#if:{{{pixiv|}}}|<tr>
   <th>pixiv</th>
   <th>pixiv</th>
   <td>[http://www.pixiv.net/member.php?id={{{pixiv}}} {{{pixiv}}}]</td>
   <td>[http://www.pixiv.net/member.php?id={{{pixiv}}} {{{pixiv}}}]</td>
</tr>}}</table></includeonly><noinclude>
</tr>}}{{#if:{{{va profile|}}}|<tr>
== Description ==
  <th>Talent profile</th>
 
  <td>[{{{va profile}}}]</td>
This templates creates an infobox for a staff member or contractor such as illustrators or voice actors.
</tr>}}</table></includeonly><noinclude>{{Documentation}}</noinclude>
 
== Usage ==
<pre>{{Staff member infobox
| jp name =
| en name =
| position =
| twitter =
| pixiv =
}}</pre>
 
=== Parameters ===
 
; jp name : Japanese name.
; en name : Romanized name.
; position : Either ''illustrator'', ''scenario writer'', or ''voice actor''.
; twitter : Twitter handle if applicable.
; pixiv : Pixiv ID if applicable.
 
== Examples ==
 
<pre>{{Staff member infobox
| jp name = 流れ星☆プリン
| en name = Shooting Star ☆ Pudding
| position = Illustrator
| twitter = star_prn
| pixiv = 6210388
}}
</pre>
{{Staff member infobox
| jp name = 流れ星☆プリン
| en name = Shooting Star ☆ Pudding
| position = Illustrator
| twitter = star_prn
| pixiv = 6210388
}}
 
[[Category:Infobox templates]][[Category:Subobject templates]]
</noinclude>
210

edits