Template:Production Info: Difference between revisions

From YSTV History Wiki
m (d'oh)
No edit summary
 
(15 intermediate revisions by 6 users not shown)
Line 3: Line 3:
! {{Hl2}} colspan="2" style="text-align: center; font-size: larger;" | {{{name}}}
! {{Hl2}} colspan="2" style="text-align: center; font-size: larger;" | {{{name}}}
|-  
|-  
{{ #if: {{{url<includeonly>|</includeonly>}}} |
! colspan="2" style="text-align: center; white-space: nowrap;" {{!}} [{{{url}}} Watch Online]  }}
|-
{{#if: {{{logofile<includeonly>|</includeonly>}}} |
{{#if: {{{logofile<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align: center;" {{!}} [[image:{{{logofile}}}|{{{logosize|200px}}}|{{{logoalt<includeonly>|</includeonly>}}}]] }}
{{!}} colspan="2" style="text-align: center;" {{!}} [[File:{{{logofile}}}|{{{logosize|200px}}}|{{{logoalt<includeonly>|</includeonly>}}}]] }}
|-
|-
! Genre:
! Genre:
Line 10: Line 13:
|-  
|-  
{{ #if: {{{broadcast<includeonly>|</includeonly>}}} |
{{ #if: {{{broadcast<includeonly>|</includeonly>}}} |
! style="white-space: nowrap;" | Broadcast:
! style="white-space: nowrap;" {{!}} Broadcast:
| {{{broadcast<includeonly>|</includeonly>}}}
{{!}} {{{broadcast}}} }}
|-
|-
{{ #if: {{{start date<includeonly>|</includeonly>}}} |
{{ #if: {{{start date<includeonly>|</includeonly>}}} |
! style="white-space: nowrap;" | First Broadcast:
! style="white-space: nowrap;" {{!}} First Broadcast:
| {{{start date<includeonly>|</includeonly>}}}
{{!}} {{{start date}}} }}
|-
|-
{{ #if: {{{end date<includeonly>|</includeonly>}}} |
{{ #if: {{{end date<includeonly>|</includeonly>}}} |
Line 21: Line 24:
{{!}} {{{end date}}} }}
{{!}} {{{end date}}} }}
|-
|-
! style="white-space: nowrap;" | Producers:
{{ #if: {{{executive producers<includeonly>|</includeonly>}}} |
! Executive Producer(s):
{{!}} {{{executive producers}}} }}
|-
! style="white-space: nowrap;" | Producer(s):
| {{{producers<includeonly>|</includeonly>}}}
| {{{producers<includeonly>|</includeonly>}}}
[[Category: Productions]]
|}<noinclude>
|}<noinclude>


Use:
<div style="background-color: #91ee90; margin-top: 1em; padding: 0.5em;">
  <nowiki>
'''Template Documentation'''
{{Production Info
 
  |name=Show Name
To include this template on a production page:
  |logofile=imagefilename (optional)
  <nowiki>{{Production Info
  |genre=Genre
| name = Show Name
  |start date=first broadcast
| url = Watch Online link
  |end date=last broadcast (optional)
| logofile = Image File Name (optional)
  |producers=list of producers
| logoalt = Image Description
}}
| genre = Genre
</nowiki>
| broadcast = Date of Broadcast (optional; for one-offs)
| start date = First Broadcast (optional)
| end date = Last Broadcast (optional)
| executive producers = List of Executive Producers
| producers = List of Producers
}}</nowiki>
</div>


[[Category:Style and Navigation|{{PAGENAME}}]]
[[Category:Style and Navigation|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 19:36, 8 December 2022

{{{name}}}
[{{{url}}} Watch Online]
[[File:{{{logofile}}}|200px|{{{logoalt}}}]]
Genre: {{{genre}}}
Broadcast: {{{broadcast}}}
First Broadcast: {{{start date}}}
Last Broadcast: {{{end date}}}
Executive Producer(s): {{{executive producers}}}
Producer(s): {{{producers}}}

Template Documentation

To include this template on a production page:

{{Production Info
| name = Show Name
| url = Watch Online link
| logofile = Image File Name (optional)
| logoalt = Image Description
| genre = Genre
| broadcast = Date of Broadcast (optional; for one-offs)
| start date = First Broadcast (optional)
| end date = Last Broadcast (optional)
| executive producers = List of Executive Producers
| producers = List of Producers
}}