Difference between revisions of "Template:Play"

From A3! Wiki
(Fixing the other images as well)
(Trying out tabs for the Last Planet plays)
Line 37: Line 37:
  
 
==Cast==
 
==Cast==
 +
{{#switch:{{PAGENAME}}|Play/Last Planet -ep01.Origin-|Play/Last Planet -ep02.Home-=<tabs>
 +
<tab name="Cast A">
 
{{Play Cast
 
{{Play Cast
 
|title=Lead Actor
 
|title=Lead Actor
Line 91: Line 93:
 
|play={{#if:{{{playname|}}}|{{{playname}}}|{{#explode:{{PAGENAME}}|Play/|1}}}}
 
|play={{#if:{{{playname|}}}|{{{playname}}}|{{#explode:{{PAGENAME}}|Play/|1}}}}
 
}}
 
}}
 
+
</tab>
 +
<tab name="Cast B">
 +
{{Play Cast
 +
|title=Lead Actor
 +
|chara={{{lead_char|}}}
 +
|bg={{{bg|}}}
 +
|role={{{lead_role|}}}
 +
|description={{{lead_text|}}}
 +
|cards={{{lead_cards|}}}
 +
|play={{#if:{{{playname|}}}|{{{playname}}}|{{#explode:{{PAGENAME}}|Play/|1}}}}
 +
}}
 +
{{Play Cast
 +
|title=Second Lead A
 +
|chara={{{lead2_char|}}}
 +
|bg={{{bg|}}}
 +
|role={{{lead2_role|}}}
 +
|description={{{lead2_text|}}}
 +
|cards={{{lead2_cards|}}}
 +
|play={{#if:{{{playname|}}}|{{{playname}}}|{{#explode:{{PAGENAME}}|Play/|1}}}}
 +
}}
 +
{{Play Cast
 +
|title=Supporting Cast A
 +
|chara={{{a_char|}}}
 +
|bg={{{bg|}}}
 +
|role={{{a_role|}}}
 +
|description={{{a_text|}}}
 +
|cards={{{a_cards|}}}
 +
|play={{#if:{{{playname|}}}|{{{playname}}}|{{#explode:{{PAGENAME}}|Play/|1}}}}
 +
}}
 +
{{Play Cast
 +
|title=Supporting Cast B
 +
|chara={{{b_char|}}}
 +
|bg={{{bg|}}}
 +
|role={{{b_role|}}}
 +
|description={{{b_text|}}}
 +
|cards={{{b_cards|}}}
 +
|play={{#if:{{{playname|}}}|{{{playname}}}|{{#explode:{{PAGENAME}}|Play/|1}}}}
 +
}}
 +
{{Play Cast
 +
|title=Supporting Cast C
 +
|chara={{{c_char|}}}
 +
|bg={{{bg|}}}
 +
|role={{{c_role|}}}
 +
|description={{{c_text|}}}
 +
|cards={{{c_cards|}}}
 +
|play={{#if:{{{playname|}}}|{{{playname}}}|{{#explode:{{PAGENAME}}|Play/|1}}}}
 +
}}
 +
{{Play Cast
 +
|title=Supporting Cast D
 +
|chara={{{d_char|}}}
 +
|bg={{{bg|}}}
 +
|role={{{d_role|}}}
 +
|description={{{d_text|}}}
 +
|cards={{{d_cards|}}}
 +
|play={{#if:{{{playname|}}}|{{{playname}}}|{{#explode:{{PAGENAME}}|Play/|1}}}}
 +
}}
 +
</tab>
 +
</tabs>
 +
|#default=
 +
{{Play Cast
 +
|title=Lead Actor
 +
|chara={{{lead_char|}}}
 +
|bg={{{bg|}}}
 +
|role={{{lead_role|}}}
 +
|description={{{lead_text|}}}
 +
|cards={{{lead_cards|}}}
 +
|play={{#if:{{{playname|}}}|{{{playname}}}|{{#explode:{{PAGENAME}}|Play/|1}}}}
 +
}}
 +
{{Play Cast
 +
|title=Second Lead A
 +
|chara={{{lead2_char|}}}
 +
|bg={{{bg|}}}
 +
|role={{{lead2_role|}}}
 +
|description={{{lead2_text|}}}
 +
|cards={{{lead2_cards|}}}
 +
|play={{#if:{{{playname|}}}|{{{playname}}}|{{#explode:{{PAGENAME}}|Play/|1}}}}
 +
}}
 +
{{Play Cast
 +
|title=Supporting Cast A
 +
|chara={{{a_char|}}}
 +
|bg={{{bg|}}}
 +
|role={{{a_role|}}}
 +
|description={{{a_text|}}}
 +
|cards={{{a_cards|}}}
 +
|play={{#if:{{{playname|}}}|{{{playname}}}|{{#explode:{{PAGENAME}}|Play/|1}}}}
 +
}}
 +
{{Play Cast
 +
|title=Supporting Cast B
 +
|chara={{{b_char|}}}
 +
|bg={{{bg|}}}
 +
|role={{{b_role|}}}
 +
|description={{{b_text|}}}
 +
|cards={{{b_cards|}}}
 +
|play={{#if:{{{playname|}}}|{{{playname}}}|{{#explode:{{PAGENAME}}|Play/|1}}}}
 +
}}
 +
{{Play Cast
 +
|title=Supporting Cast C
 +
|chara={{{c_char|}}}
 +
|bg={{{bg|}}}
 +
|role={{{c_role|}}}
 +
|description={{{c_text|}}}
 +
|cards={{{c_cards|}}}
 +
|play={{#if:{{{playname|}}}|{{{playname}}}|{{#explode:{{PAGENAME}}|Play/|1}}}}
 +
}}
 +
{{Play Cast
 +
|title=Supporting Cast D
 +
|chara={{{d_char|}}}
 +
|bg={{{bg|}}}
 +
|role={{{d_role|}}}
 +
|description={{{d_text|}}}
 +
|cards={{{d_cards|}}}
 +
|play={{#if:{{{playname|}}}|{{{playname}}}|{{#explode:{{PAGENAME}}|Play/|1}}}}
 +
}}
 +
}}
 
==Gallery==
 
==Gallery==
 
[[File:{{Replace|{{#explode:{{PAGENAME}}|Play/|1}}}} Poster.png|300px]]
 
[[File:{{Replace|{{#explode:{{PAGENAME}}|Play/|1}}}} Poster.png|300px]]

Revision as of 09:40, 9 October 2022

{{Play
|about=
|type=|event=
|story=|ep=
|landscape=(poster orientation. for portraits, leave field blank OR omit entirely)
|tag_jp=|tag_en=
|intro_jp=|intro_en=
|bg=
|quote_jp=|quote_en=
|lead_char=|lead_role=
|lead_text=
|lead_cards=
|lead2_char=|lead2_role=
|lead2_text=
|lead2_cards=
|a_char=|a_role=
|a_text=
|a_cards=
|b_char=|b_role=
|b_text=
|b_cards=
|c_char=|c_role=
|c_text=
|c_cards=
|d_char=|d_role=
|d_text=
|d_cards=
|play={{Line|character=|border=|dialogue=}}
|play_translator=
}}