Difference between revisions of "Template:Play"

From A3! Wiki
Line 3: Line 3:
 
.tabs-plain > .tabs-container {
 
.tabs-plain > .tabs-container {
 
     margin-top: 0.5em;
 
     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;
 +
  }
 
}
 
}
 
}}
 
}}
  
{{#if: {{{landscape|}}}
+
{| class="playinfobox {{Character to Troupe |characterfirst={{{lead_char}}}}}table"
|<!--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;"
+
|-
{{!}}-
+
! Play poster
! colspan="2" align="center" style="font-size:1rem; padding:0.3em" {{!}} Play poster
+
|-
{{!}}-
+
| <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>
{{!}} 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">{{#ifeq:{{PAGENAME}}|Play/DEAD/UNDEAD|[[File:DEAD-UNDEAD Poster.png|290px]]|[[File:{{Replace|{{SUBPAGENAME}}}} Poster.png|290px]]}}</tab><tab name="Back"> {{#ifeq:{{PAGENAME}}|Play/DEAD/UNDEAD|[[File:DEAD-UNDEAD Poster B.png|290px]]|[[File:{{Replace|{{SUBPAGENAME}}}} Poster B.png|290px]]}}</tab></tabs>
 
{{!}}}
 
}}
 
  
 
==Play Information==
 
==Play Information==

Revision as of 20:34, 29 February 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=
}}