Template:Play: Difference between revisions

(Pushed from Lost Plays Database.)
(Pushed from Lost Plays Database.)
Line 6: Line 6:
|dramatists= (; separated string)
|dramatists= (; separated string)
|year=
|year=
|auspices= (; separated string)
|company= (; separated string)
|tags= (; separated string)
|venue= (; separated string)
|associatedPersons= (; separated string)
|probableGenres= (; separated string)
|probableGenres= (; separated string)
|themes= (; separated string)
|gregNo= (string)
|wigginsNo= (string)
}}
}}
</pre>
</pre>
Line 19: Line 23:


# Hide everything from hereon in a hidden element --><span style="display:none"><!--
# Hide everything from hereon in a hidden element --><span style="display:none"><!--
# Set Auspices
 
-->{{#arraymap: {{{auspices|}}}|;|{{#set:Auspice=@@@@}} }}<!--
# Set Venue & Company
# Set Probable Genres
-->{{#arraymap: {{{venue|}}}|;|{{#set:Venue=@@@@}} }}<!--
-->{{#arraymap: {{{company|}}}|;|{{#set:Company=@@@@}} }}<!--
 
# Set Probable Genres & Themes
-->{{#if:{{{probableGenres|}}}|{{#arraymap:{{{probableGenres}}}|;|@@@@|{{#set: Genre=@@@@}} }} }}<!--
-->{{#if:{{{probableGenres|}}}|{{#arraymap:{{{probableGenres}}}|;|@@@@|{{#set: Genre=@@@@}} }} }}<!--
-->{{#if:{{{themes|}}}|{{#arraymap:{{{themes}}}|;|@@@@|{{#set: Theme=@@@@}} }} }}<!--
# Set Associated Persons
-->{{#if:{{{associatedPersons|}}}|{{#arraymap:{{{associatedPersons}}}|;|@@@@|{{#set: Associated Person=@@@@}} }} }}<!--
# Set Documentary Sources & Paratexts
-->{{#arraymap:{{{documentarySources}}}|;|@@@@|{{#set: Documentary Source=@@@@}} }}<!--
-->{{#arraymap:{{{paratexts}}}|;|@@@@|{{#set: Paratext=@@@@}} }}<!--
-->{{#arraymap:{{{contributors}}}|;|@@@@|{{#set: Contributor=@@@@}} }}<!--
-->{{#arraymap:{{{partneringInstitutions}}}|;|@@@@|{{#set: Partnering Institution=@@@@}} }}<!--
# Set Wiggins & Greg numbers
-->{{#if: {{{wiginsNo|}}} | {{#set: Wiggins Number={{{wigginsNo|}}} }} }}<!--
-->{{#if: {{{gregNo|}}} | {{#set: Greg Number={{{gregNo|}}} }} }}<!--
-->[[Category:Plays]][[Category:All]]<!--
-->[[Category:Plays]][[Category:All]]<!--
--></span></includeonly>
--></span></includeonly>

Revision as of 05:46, 16 August 2019

This is the "Play" template. It should be called in the following format at the top of each Play page:

{{Play
|dramatists= (; separated string)
|year=
|company= (; separated string)
|venue= (; separated string)
|associatedPersons= (; separated string)
|probableGenres= (; separated string)
|themes= (; separated string)
|gregNo= (string)
|wigginsNo= (string)
}}

Edit the page to see the template text.