Template:Play: Difference between revisions

(Pushed from Lost Plays Database.)
(Pushed from Lost Plays Database.)
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
|dramatists= (; separated string)
|dramatists= (; separated string)
|year=
|year=
|auspices=
|auspices= (; separated string)
|tags=
|tags= (; separated string)
|historicalRecords=
|probableGenres= (; separated string)
|theatricalProvenance=
|probableGenres=
|possibleSources=
|references=
|criticalCommentary=
|forWhatItsWorth=
|worksCited=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly><!--
</noinclude><includeonly><!--
# Initial SMW assignations
# Set Page name to Title property
  - Title
  - Dramatists
  - Year
-->{{#set: Title={{PAGENAME}} }}<!--
-->{{#set: Title={{PAGENAME}} }}<!--
# Set & display Dramatists and Year
-->{{#arraymap: {{{dramatists|}}}|;|@@@@|[[Dramatist::@@@@]]|,&nbsp;}} ([[Year::{{{year|}}}]])<!--
# Hide everything from hereon in a hidden element --><span style="display:none"><!--
# Set Auspices
-->{{#arraymap: {{{auspices|}}}|;|{{#set:Auspice=@@@@}} }}<!--
-->{{#arraymap: {{{auspices|}}}|;|{{#set:Auspice=@@@@}} }}<!--
# Content
# Set Probable Genres
-->{{#arraymap: {{{dramatists|}}}|;|@@@@|[[Dramatist::@@@@]]|,}} ([[Year::{{{year|}}}]])
-->{{#if:{{{probableGenres|}}}|{{#arraymap:{{{probableGenres}}}|;|@@@@|{{#set: Genre=@@@@}} }} }}<!--
==Historical Records==
-->[[Category:Play]][[Category:All]]<!--
{{{historicalRecords|}}}
--></span></includeonly>
 
 
==Theatrical Provenance==
{{{theatricalProvenance|}}}
 
 
==Probable Genre(s)==
{{#if:{{{probableGenres|}}}|{{#arraymap:{{{probableGenres}}}|;|@@@|[[Genre::@@@]] }} }}
 
 
==Possible Narrative and Dramatic Sources or Analogues==
{{{possibleSources|}}}
 
 
==References to the Play==
{{{references|}}}
 
 
==Critical Commentary==
{{{criticalCommentary|}}}
 
 
==For What It's Worth==
{{{forWhatItsWorth|}}}
 
 
==Works Cited==
{{{worksCited|}}}
 
[[Category:Play]][[Category:All]]
</includeonly>

Revision as of 07:23, 4 June 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=
|auspices= (; separated string)
|tags= (; separated string)
|probableGenres= (; separated string)
}}

Edit the page to see the template text.