Difference between revisions of "Template:Play"

From A3! Wiki
 
(12 intermediate revisions by the same user 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;
 
}
 
 
 
.playinfobox {
 
  border-radius: 10px;
 
  border-style: solid;
 
  border-width: 1px;
 
  width: 310px;
 
  border-spacing: 0px;
 
  float: right;
 
  padding: 10px;
 
  margin: 0 10px 10px;
 
  text-align: center;
 
}
 
 
 
.playinfobox th {
 
  font-size: 1.5em;
 
  padding: 5px 0;
 
  border-radius: 10px;
 
}
 
 
 
.playinfobox td {
 
  padding: 5px 0;
 
}
 
 
 
@media screen and (max-width: 900px) {
 
  .playinfobox {
 
    margin: 0 auto;
 
    float: none;
 
  }
 
}
 
}}
 
 
 
{| class="playinfobox {{Character to Troupe |characterfirst={{{lead_char}}}}}table"
 
 
|-
 
|-
! Play poster
+
! {{SUBPAGENAME}}
 
|-
 
|-
| <tabs plain style="margin:0 auto"><tab name="Front">[[File:{{Replace|{{SUBPAGENAME}}}} Poster.png|300px]]</tab><tab name="Back">[[File:{{Replace|{{SUBPAGENAME}}}} Poster B.png|300px]]</tab></tabs>
+
| <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>
 
|}
 
|}
  
Line 51: 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=
}}