Difference between revisions of "Template:Play Cast"

From A3! Wiki
m
m
 
(34 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div style="display:flex; flex-wrap:wrap; width:80%;">
+
<includeonly>
<div style="text-align:center; font-weight:bold;font-size:1.5em; float:left; width:250px; background-color:#ddd;">{{{title|}}}</div>
+
<div class="flex-container cast-container">
<div style="text-align:center; v-align:top; overflow: hidden; flex-grow:1;">
+
<div class="flex-title cast-title">{{#if: {{{chara|}}}|<span style="color: var(--{{Character to Troupe|characterfirst={{{chara|}}}}});">● </span>|}}{{{title|}}} {{#if:{{{cards|}}}|<br />{{Play Cast/Cards|chara={{Character to Troupe|characterfirst2={{{chara|}}}}}|chibi={{{cards|}}}}} <br />[[File:{{Character to Troupe|characterfirst2={{{chara|}}}}} {{{cards|}}} Chibi.png|x200px]]|{{#ifeq: {{#if: {{{play|}}} | <br />{{#cargo_query:tables=Charas,Card_Chibis,Cards|fields=Card_Chibis.chibi1=chibi,Charas.firstname=chara|join on=Card_Chibis.firstname=Charas.firstname,Card_Chibis.number=Cards.number|where=Charas._pageName="{{{chara|}}}" AND Cards.cardname LIKE "%{{{play}}}%"|default=|format=template|template=Play Cast/Cards|named args=yes}}|}} | | | {{#if: {{{play|}}} | <br />{{#cargo_query:tables=Charas,Card_Chibis,Cards|fields=Card_Chibis.chibi1=chibi,Charas.firstname=chara|join on=Card_Chibis.firstname=Charas.firstname,Card_Chibis.number=Cards.number|where=Charas._pageName="{{{chara|}}}" AND Cards.cardname LIKE "%{{{play}}}%"|default=|format=template|template=Play Cast/Cards|named args=yes}}|}} }} {{#if: {{{play|}}} | <br />{{#cargo_query:tables=Charas,Card_Chibis,Cards|fields=CONCAT('[[File:',Card_Chibis.firstname,' ',Card_Chibis.chibi1,' Chibi.png|x200px]]')|join on=Card_Chibis.firstname=Charas.firstname,Card_Chibis.number=Cards.number|where=Charas._pageName="{{{chara|}}}" AND Cards.cardname LIKE "%{{{play}}}%"|default=}}|}} }}</div>
<div style="background-color:#eee;">'''[[{{{chara|}}}]]''' as '''{{{role|}}}'''</div>
+
<div class=" flex-row cast">
 +
<div {{#if:{{{bg|}}}|style="background-color: var(--{{{bg|}}}-light); "|style="background-color:#ddd"}}>{{#if:{{{chara|}}}|'''[[{{{chara|}}}]]''' as '''{{{role|}}}'''| '''Any Character''' as '''{{{role|}}}'''}}</div>
 
<div>{{{description|}}}</div>
 
<div>{{{description|}}}</div>
{{#if: {{{cards|}}} |<div><br />''Original Cast Cards:''</div>
+
{{#if: {{{play|}}} | {{#ifeq: {{#cargo_query:tables=Charas,Fullbodies|fields=fullbody|join on=Fullbodies.firstname=Charas.firstname|where=Charas._pageName="{{{chara|}}}" AND Fullbodies.fullbody LIKE "%{{Replace|{{{play}}}}}%"|default=}} | | | <div>''Fullbody Sprite(s):''</div>{{#tag:gallery|{{#cargo_query:tables=Charas,Fullbodies|fields=fullbody|join on=Fullbodies.firstname=Charas.firstname|where=Charas._pageName="{{{chara|}}}" AND Fullbodies.fullbody LIKE "%{{Replace|{{{play}}}}}%"|default=|format=template|template=Gallery/List Line|order by=Fullbodies.id ASC}}|mode="nolines" }} }} | }}
<div>{{{cards|}}}</div>|}}
 
 
</div>
 
</div>
 
</div></includeonly>
 
</div></includeonly>
Line 15: Line 15:
 
|role=Romeo
 
|role=Romeo
 
|description=
 
|description=
|cards=<gallery mode="packed"></gallery>
+
|bg=character/troupe for background colour (optional)
 +
|cards=
 +
|play={{#explode:{{PAGENAME}}}}
 
}}
 
}}
 
</pre>
 
</pre>
Line 24: Line 26:
 
|role=Romeo
 
|role=Romeo
 
|description=The son of the Montague family.
 
|description=The son of the Montague family.
|cards=<gallery mode="packed">File:(Secret_Special_Training_on_the_Riverside)_Sakuya_Action_SSR%2B.png
+
|fullbody=Sakuya Fullbody.png
File:(Secret_Special_Training_on_the_Riverside)_Sakuya_Action_SSR%2B.png
+
|bg=masumi
File:(Secret_Special_Training_on_the_Riverside)_Sakuya_Action_SSR%2B.png</gallery>
+
|play=Romeo & Julius
 +
}}
 +
{{Play Cast
 +
|title=Lead Actor
 +
|chara=Sakuya Sakuma
 +
|role=Romeo
 +
|description=The son of the Montague family.
 +
|fullbody=Sakuya Fullbody.png
 +
|cards=007
 
}}
 
}}
 
{{Play Cast
 
{{Play Cast
 
|title=Supporting Cast D
 
|title=Supporting Cast D
|chara=Sakuya Sakuma
+
|chara=
 
|role=The Prince of the Curry Kingdom
 
|role=The Prince of the Curry Kingdom
 
|description=The son of the Montague family. He has a dream of going on a journey.
 
|description=The son of the Montague family. He has a dream of going on a journey.
|cards=<gallery mode="packed">File:(Secret_Special_Training_on_the_Riverside)_Sakuya_Action_SSR%2B.png
+
|cards=
File:(Secret_Special_Training_on_the_Riverside)_Sakuya_Action_SSR%2B.png
 
File:(Secret_Special_Training_on_the_Riverside)_Sakuya_Action_SSR%2B.png</gallery>
 
 
}}
 
}}
 
{{Play Cast
 
{{Play Cast
 
|title=Supporting Cast D
 
|title=Supporting Cast D
|chara=Sakuya Sakuma
+
|chara=
 
|role=The Prince of the Curry Kingdom
 
|role=The Prince of the Curry Kingdom
 
|description=The son of the Montague family. He has a dream of going on a journey.
 
|description=The son of the Montague family. He has a dream of going on a journey.

Latest revision as of 18:47, 18 November 2018


{{Play Cast
|title=Lead Actor
|chara=
|role=Romeo
|description=
|bg=character/troupe for background colour (optional)
|cards=
|play={{#explode:{{PAGENAME}}}}
}}


Lead Actor
(Banquet of Blooming) Sakuya Sakuma Comedy SR Icon Unbloomed.png (MANKAI Encore) Sakuya Sakuma Comedy SSR Icon Unbloomed.png (Romeo & Julius) Sakuya Sakuma Serious R Icon Unbloomed.png (Sword of Bonds) Sakuya Sakuma Comedy R Icon Unbloomed.png (Trajectory of Blooming) Sakuya Sakuma Serious SR Icon Unbloomed.png (Secret Special Training on the Riverside) Sakuya Sakuma Action SSR Icon Bloomed.png
Sakuya 007 Chibi.png
Sakuya Sakuma as Romeo
The son of the Montague family.
Fullbody Sprite(s):


Lead Actor
(Banquet of Blooming) Sakuya Sakuma Comedy SR Icon Unbloomed.png (MANKAI Encore) Sakuya Sakuma Comedy SSR Icon Unbloomed.png (Romeo & Julius) Sakuya Sakuma Serious R Icon Unbloomed.png (Sword of Bonds) Sakuya Sakuma Comedy R Icon Unbloomed.png (Trajectory of Blooming) Sakuya Sakuma Serious SR Icon Unbloomed.png (Secret Special Training on the Riverside) Sakuya Sakuma Action SSR Icon Bloomed.png
Sakuya 007 Chibi.png
Sakuya Sakuma as Romeo
The son of the Montague family.


Supporting Cast D
Any Character as The Prince of the Curry Kingdom
The son of the Montague family. He has a dream of going on a journey.


Supporting Cast D
Any Character as The Prince of the Curry Kingdom
The son of the Montague family. He has a dream of going on a journey.