Template:Play: Difference between revisions

(Pushed from Lost Plays Database.)
 
(24 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "Play" template.
This is the "Play" template.
It should be called in the following format:
It should be called in the following format at the top of each Play page:
<pre>
<pre>
{{Play
{{Play
|playwright=
|dramatists= (; separated string)
|year=
|year=
|historicalRecords=
|company= (; separated string)
|theatricalProvenance=
|venue= (; separated string)
|probableGenres=
|associatedPersons= (; separated string)
|possibleSources=
|probableGenres= (; separated string)
|references=
|themes= (; separated string)
|criticalCommentary=
|tags= (; separated string)
|forWhatItsWorth=
|gregNo= (string)
|worksCited=
|wigginsNo= (string)
|attribution= (string)
|isStub= (boolean; blank=false)
|isSparse= (boolean; blank=false)
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly><!--
[[Playwright::{{{playwright|}}}]] ([[Year::{{{year|}}}]])
# Set Page name to Title property
==Historical Records==
-->{{#set: Title={{PAGENAME}} }}<!--
{{{historicalRecords|}}}
# Set & display Dramatists and Year
==Theatrical Provenance==
-->{{#arraymap: {{{dramatists|}}}|;|@@@@|[[Dramatist::@@@@]][[Category:@@@@]]|,&nbsp;}} ([[{{{year|}}}]])<!--
{{{theatricalProvenance|}}}


# Hide everything from hereon in a hidden element --><span style="display:none"><!--


==Probable Genre(s)==
# Set Year
{{#if:{{{probableGenres|}}}|{{#arraymap:{{{probableGenres}}}|,|@@@|[[Genre::@@@]] }} }}
-->{{#if:{{{year|}}}|{{#set:Year={{{year|}}} }} }}<!--


# Set Venue & Company
-->{{#arraymap: {{{venue|}}}|;|@@@@|{{#set:Venue=@@@@}}[[Category:@@@@]] }}<!--
-->{{#arraymap: {{{company|}}}|;|@@@@|{{#set:Company=@@@@}}[[Category:@@@@]] }}<!--


==Possible Narrative and Dramatic Sources or Analogues==
# Set Probable Genres & Themes
{{{possibleSources|}}}
-->{{#if:{{{probableGenres|}}}|{{#arraymap:{{{probableGenres}}}|;|@@@@|{{#set: Genre=@@@@}}[[Category:@@@@]] }} }}<!--
-->{{#if:{{{themes|}}}|{{#arraymap:{{{themes}}}|;|@@@@|{{#set: Theme=@@@@}}[[Category:@@@@]] }} }}<!--
-->{{#if:{{{tags|}}}|{{#arraymap:{{{tags}}}|;|@@@@|{{#set: Tag=@@@@}}[[Category:@@@@]] }} }}<!--


# Set Associated Persons
-->{{#if:{{{associatedPersons|}}}|{{#arraymap:{{{associatedPersons}}}|;|@@@@|{{#set: Associated Person=@@@@}}[[Category:@@@@]] }} }}<!--


==References to the Play==
# Set Documentary Sources & Paratexts
{{{references|}}}
-->{{#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|}}} }} }}<!--
-->{{#ifeq: {{{isStub|}}} |Yes| {{#set:  Article Completeness=stub }} }}<!--
-->{{#ifeq: {{{isSparse|}}} |Yes| {{#set: Article Completeness=sparse }} }}<!--


==Critical Commentary==
# Set attribution and functional categories
{{{criticalCommentary|}}}
-->{{#if: {{{attribution|}}} | {{#set: Article Attribution={{{attribution|}}} }} }}<!--
 
-->[[Category:Plays]][[Category:All]]<!--
 
--></span>{{#ifeq: {{{isStub|}}} |Yes| {{Play/Stub_Warning}} }}</includeonly>
==For What It's Worth==
{{{forWhatItsWorth|}}}
 
 
==Works Cited==
{{{worksCited|}}}
 
[[Category:Play]][[Category:All]]
</includeonly>

Latest revision as of 07:58, 25 August 2021

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)
|tags= (; separated string)
|gregNo= (string)
|wigginsNo= (string)
|attribution= (string)
|isStub= (boolean; blank=false)
|isSparse= (boolean; blank=false)
}}

Edit the page to see the template text.