Template:Play Cast: Difference between revisions

From A3! Wiki
mNo edit summary
mNo edit summary
Line 4: Line 4:
<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>
<div>{{{description|}}}</div>
<div>{{{description|}}}</div>
{{#ifeq: {{#if: {{{play|}}} | <div>''Fullbody Sprite(s):''</div>{{#cargo_query:tables=Charas,Fullbodies|fields=fullbody|join on=Fullbodies.firstname=Charas.firstname|where=Charas._pageName="{{{chara|}}}" AND Fullbodies.fullbody LIKE "%{{Replace|{{{play}}}}}%"|default=N/A|format=gallery|mode=packed|show bytes=0|show filename=0|order by=Fullbodies.id ASC}}|}} | | | {{#if: {{{play|}}} | <div>''Fullbody Sprite(s):''</div>{{#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=gallery|mode=packed|show bytes=0|show filename=0|order by=Fullbodies.id ASC}}|}} }}
{{#ifeq: {{#if: {{{play|}}} | <div>''Fullbody Sprite(s):''</div>{{#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=gallery|mode=packed|show bytes=0|show filename=0|order by=Fullbodies.id ASC}}|}} | | | {{#if: {{{play|}}} | <div>''Fullbody Sprite(s):''</div>{{#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=gallery|mode=packed|show bytes=0|show filename=0|order by=Fullbodies.id ASC}}|}} }}
</div>
</div>
</div></includeonly>
</div></includeonly>

Revision as of 04:14, 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}}}}
}}
Lead Actor

Identifier must not contain quote, dot or null characters
The son of the Montague family.
Fullbody Sprite(s):
Lead Actor
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.