Difference between revisions of "Template:Play Cast"
From A3! Wiki
m |
m |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div class="flex-container cast-container"> | <div class="flex-container cast-container"> | ||
− | <div class="flex-title cast-title">{{#if: {{{chara|}}}|<span style="color: var(--{{Character to Troupe|characterfirst={{{chara|}}}}});">● </span>|}}{{{title|}}} {{#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 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 class=" flex-row cast"> | <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 {{#if:{{{bg|}}}|style="background-color: var(--{{{bg|}}}-light); "|style="background-color:#ddd"}}>{{#if:{{{chara|}}}|'''[[{{{chara|}}}]]''' as '''{{{role|}}}'''| '''Any Character''' as '''{{{role|}}}'''}}</div> | ||
Line 16: | Line 16: | ||
|description= | |description= | ||
|bg=character/troupe for background colour (optional) | |bg=character/troupe for background colour (optional) | ||
− | |cards= | + | |cards= |
|play={{#explode:{{PAGENAME}}}} | |play={{#explode:{{PAGENAME}}}} | ||
}} | }} | ||
Line 36: | Line 36: | ||
|description=The son of the Montague family. | |description=The son of the Montague family. | ||
|fullbody=Sakuya Fullbody.png | |fullbody=Sakuya Fullbody.png | ||
− | |cards= | + | |cards=007 |
− | |||
− | |||
}} | }} | ||
{{Play Cast | {{Play Cast | ||
Line 45: | Line 43: | ||
|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= | + | |cards= |
− | |||
− | |||
}} | }} | ||
{{Play Cast | {{Play Cast |
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}}}} }}
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.