Difference between revisions of "Template:Play Cast"
From A3! Wiki
m |
Fimbulvetr (talk | contribs) m |
||
Line 1: | Line 1: | ||
− | <includeonly><div class="flex-container"> | + | <includeonly>{{#css: |
+ | .flex-container { | ||
+ | margin: 1em auto; | ||
+ | } | ||
+ | }} | ||
+ | <div class="flex-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|}}} {{#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"> |
Revision as of 04:17, 29 August 2018
{{Play Cast |title=Lead Actor |chara= |role=Romeo |description= |bg=character/troupe for background colour (optional) |cards=(Secret_Special_Training_on_the_Riverside)_Sakuya_Action_SSR+.png |play={{#explode:{{PAGENAME}}}} }}
Sakyo Furuichi as Romeo
The son of the Montague family.
{{#if: Tales of Chivalry: Ginji the Wanderer | Fullbody Sprite(s):
● Lead Actor
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.
{{#if: |
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.
{{#if: |