Difference between revisions of "Template:Play"

From A3! Wiki
m (throws hands smth isnt right oh dear)
 
(43 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{{#css:
+
{| class="infobox {{Character to Troupe|characterfirst={{{lead_char}}}}}table"
.tabs-plain > .tabs-container {
+
|-
    margin-top: 0.5em;
+
! {{SUBPAGENAME}}
}
+
|-
}}
+
| <tabs plain>{{#ifeq:{{PAGENAME}}|Play/DEAD/UNDEAD|<tab name="Front">[[File:DEAD-UNDEAD Poster.png]]</tab>|<tab name="Front">[[File:{{Replace|{{SUBPAGENAME}}}} Poster.png]]</tab>}}
 
+
{{#ifeq:{{PAGENAME}}|Play/DEAD/UNDEAD|<tab name="Back">[[File:DEAD-UNDEAD Poster B.png]]</tab>|<tab name="Back">[[File:{{Replace|{{SUBPAGENAME}}}} Poster B.png]]</tab>}}</tabs>
{{#if: {{{landscape|}}}
+
|}
|<!--LANDSCAPE--> {{{!}} {{#if: {{{lead_char|}}} |class="cardinfobox infobox {{Character to Troupe |characterfirst={{{lead_char}}} }} }}table" style="border-radius: 15px;border-style: solid;border-width: 1px;width:310px;border-spacing:0px; float:right;"
 
{{!}}-
 
! colspan="2" align="center" style="font-size:1rem; padding:0.3em" {{!}} Play poster
 
{{!}}-
 
{{!}} colspan="2" style="padding:0.5em; text-align:center" {{!}}
 
<tabs plain style="margin:0 auto"><tab name="Front">[[File:{{Replace|{{SUBPAGENAME}}}} Poster.png|210px]]</tab><tab name="Back">[[File:{{Replace|{{SUBPAGENAME}}}} Poster B.png|310px]]</tab></tabs>
 
{{!}}}
 
|<!--PORTRAIT--> {{{!}} {{#if: {{{lead_char|}}} |class="cardinfobox infobox {{Character to Troupe |characterfirst={{{lead_char}}} }} }}table" style="border-radius: 15px;border-style: solid;border-width: 1px;width:290px;border-spacing:0px; float:right; margin-left: 30px"
 
{{!}}-
 
! colspan="2" align="center" style="font-size:1rem; padding:0.3em" {{!}} Play poster
 
{{!}}-
 
{{!}} colspan="2" style="padding:0.5em; text-align:center" {{!}}
 
<tabs plain style="margin:0 auto"><tab name="Front">[[File:{{Replace|{{SUBPAGENAME}}}} Poster.png|290px]]</tab><tab name="Back">[[File:{{Replace|{{SUBPAGENAME}}}} Poster B.png|290px]]</tab></tabs>
 
{{!}}}
 
}}
 
  
 
==Play Information==
 
==Play Information==
Line 32: Line 17:
  
 
==Introduction==
 
==Introduction==
{{#if: {{{tag_en|}}} | <div style="font-size:1.2em; text-align:center; font-weight: bold;">{{{tag_jp|}}}<br />{{{tag_en|}}}</div>}}
+
{{#if: {{{tag_jp|}}} | <div style="font-size:1.2em; text-align:center; font-weight: bold;">{{{tag_jp|}}}<br />{{{tag_en|}}}</div>}}
{{#if: {{{intro_jp|}}} | <table><tr><td>{{#tag:poem|{{{intro_jp|}}}}} </td><td> {{#tag:poem|{{{intro_en|}}}}}
+
{{#if: {{{intro_jp|}}} | <div style="display: flex; flex-wrap: wrap; column-gap: 20px;"><div>{{#tag:poem|{{{intro_jp|}}}}} </div><div> {{#tag:poem|{{{intro_en|}}}}}
</td></tr></table> | {{#tag:poem|{{{intro_en|}}}}} }}
+
</div></div> | {{#tag:poem|{{{intro_en|}}}}} }}
  
 
==Cast==
 
==Cast==

Latest revision as of 17:46, 9 November 2024

{{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=
}}