Difference between pages "Template:Infobox play" and "Template:Infobox play/sandbox"

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
imported>RL0919
m (fix)
 
imported>RL0919
(try adding 'based on' option similar to infobox film etc.)
 
Line 1: Line 1:
{{infobox
+
{{ infobox
| italic title = {{{italic title|}}}
 
 
| bodyclass  = vevent
 
| bodyclass  = vevent
| above      = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
+
| above      = {{{name<includeonly>|{{PAGENAME}}</includeonly>}}}
 
| aboveclass = summary
 
| aboveclass = summary
 
| abovestyle = font-style: italic
 
| abovestyle = font-style: italic
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|upright={{{image_upright|1}}}|alt={{{alt|{{{image_alt|}}}}}}}}
+
| image      = {{#if:{{{image<includeonly>|</includeonly>}}}|[[Image:{{{image}}}|{{#if:{{{image_size<includeonly>|</includeonly>}}} |{{{image_size|200px}}} |200px}}]]}}
| caption    = {{{caption|}}}
+
| caption    = {{{caption<includeonly>|</includeonly>}}}
 
| labelstyle = white-space: nowrap
 
| labelstyle = white-space: nowrap
| headerstyle= border-top:#aaa 1px solid
 
  
| label1     = Original title
+
| label1    = Written by
| data1      = {{{original title|{{{orig_title|}}}}}}
+
| data1     = {{{writer<includeonly>|</ifncludeonly>}}}
| label2     = Written by
+
| label2     = Based on
| data2     = {{{writer|}}}
+
| data2     = {{{based_on<includeonly>|</ifncludeonly>}}}
| label3     = Based on
+
| class1     = description
| data3     = {{{based_on|}}}
+
| label3     = Chorus
 
+
| data3     = {{{chorus<includeonly>|</includeonly>}}}
| class2     = description
+
| label4     = Characters
| label4    = Directed by
+
| data4     = {{{characters<includeonly>|</includeonly>}}}
| data4      = {{{director|}}}
+
| label5     = Mute
| label5    = Music by
+
| data5     = {{{mute<includeonly>|</includeonly>}}}
| data5      = {{{music|}}}
+
| label6    = Date premiered
| label6    = Lyrics by
+
| data6      = {{{date of premiere|{{{premiere<includeonly>|</includeonly>}}}}}}
| data6      = {{{lyrics|}}}
+
| label7    = Place premiered
| label7    = Choreography
+
| data7      = {{{place|{{{place<includeonly>|</includeonly>}}}}}}
| data7      = {{{choreography|}}}
+
| label8    = Original language
| label8     = Chorus
+
| data8      = {{{original language|{{{orig_lang<includeonly>|</includeonly>}}}}}}
| data8     = {{{chorus|}}}
+
| label9     = Series
| label9     = Characters
+
| data9      = {{{series<includeonly>|</includeonly>}}}
| data9     = {{{characters|}}}
+
| label10    = Subject
| label10     = Mute
+
| data10      = {{{subject<includeonly>|</includeonly>}}}
| data10     = {{{mute|}}}
+
| label11   = Genre
| label11    = Date premiered
+
| data11     = {{{genre<includeonly>|</includeonly>}}}
| data11    = {{{date of premiere|{{{premiere|}}}}}}
+
| label12   = Setting
| label12    = Place premiered
+
| data12     = {{{setting<includeonly>|</includeonly>}}}
| data12    = {{{place|}}}
+
| data13     = {{#if:{{{web<includeonly>|</includeonly>}}}|[{{{web}}} Official site]}}
| label13    = Original language
+
| data14    = {{#if:{{{playbill_event|{{{playbill<includeonly>|</includeonly>}}}}}}| [http://www.playbill.com/events/event_detail/{{{playbill_event|{{{playbill}}}}}}.html Playbill listing]}}
| data13    = {{{original language|{{{orig_lang|}}}}}}
+
| data15    = {{#if:{{{ibdb_id<includeonly>|</includeonly>}}}| [http://www.ibdb.com/show.asp?id={{{ibdb_id}}} IBDB profile] }}
| label14    = Original run
+
| data16    = {{#if:{{{iobdb_id<includeonly>|</includeonly>}}}| [http://www.lortel.org/LLA_archive/index.cfm?search_by=show&id={{{iobdb_id}}} IOBDB profile] }}
| data14     = {{{orig_run|}}}
+
}}
| label15    = Series
 
| data15    = {{{series|}}}
 
| label16    = Subject
 
| data16    = {{{subject|}}}
 
| label17   = Genre
 
| data17     = {{{genre|}}}
 
| label18   = Setting
 
| data18     = {{{setting|}}}
 
 
 
| data20     = {{{website|{{#if:{{{web|}}}|[{{{web}}} Official site]}}}}}
 
 
 
| header26  = {{#if:{{{last_play|}}}{{{next_play|}}}|{{#if:{{{chronology|}}}|{{{chronology}}} chronology}}}}
 
| data27 = {{#if:{{{last_play|}}}{{{next_play|}}}|
 
<table style="width:100%; text-align:center;"><tr>
 
<td style="width:50%; vertical-align:top">{{{last_play|}}}</td>
 
<td style="width:50%; vertical-align:top">{{{next_play|}}}</td>
 
</tr></table>}}
 
}}{{#ifeq:{{{playbill_event|♦}}}{{{playbill|♦}}}{{{ibdb_id|♦}}}{{{iobdb_id|♦}}}{{{theatricalia_id|♦}}}|♦♦♦♦♦||[[Category:Pages using infobox play with external database links|0{{PAGENAME}}]]}}{{#ifexpr:{{#if:{{{playbill_event|}}}|1|0}}+{{#if:{{{playbill|}}}|1|0}}+{{#if:{{{ibdb_id|}}}|1|0}}+{{#if:{{{iobdb_id|}}}|1|0}}+{{#if:{{{theatricalia_id|}}}|1|0}} > 0|[[Category:Pages using infobox play with external database links|{{#expr:{{#if:{{{playbill_event|}}}|1|0}}+{{#if:{{{playbill|}}}|1|0}}+{{#if:{{{ibdb_id|}}}|1|0}}+{{#if:{{{iobdb_id|}}}|1|0}}+{{#if:{{{theatricalia_id|}}}|1|0}}}}{{PAGENAME}}]]}}<noinclude>
 
{{documentation}}<!-- Please add metadata to the  section at the bottom of the /doc subpage --></noinclude>