Difference between revisions of "StageBob"

From Sega Retro

 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{BobTable|
+
{{#vardefine:type|6}}<!--for now-->{{BobTablePlus|
{{BobRow||{{{logos|}}}|align=center}}
+
{{BobRowPlus
{{BobRow||{{{stageimage|}}}|align=center|default=[[File:Notavailable.svg]]|content=[[File:{{{stageimage}}}|{{#if:{{{imgwidth|}}}|{{{imgwidth}}}|{{#if:{{{stageimage2|}}}|160|320}}x240}}px]]{{#if:{{{stageimage2|}}}|[[File:{{{stageimage2}}}|{{#if:{{{imgwidth2|}}}|{{{imgwidth2}}}|160x240}}px]]|}}}}
+
| if={{{logos|}}}
{{BobRow||{{{title|}}}|default=''{{PAGENAME}}''|content=''{{{title}}}''|headline=yes|align=center}}
+
| align=center
{{BobRow|Date(s)|{{{startdate|}}}|content={{{startdate}}} {{#if:{{{enddate|}}}|– {{{enddate}}}|}}}}
+
| content={{{logos|}}}
{{BobRow|Location|{{{location|}}}}}
+
}}
{{BobRow|Attendance|{{{attendance|}}}}}
+
{{BobRowPlus
{{BobRow|Publisher|{{{publisher|}}}}}
+
| if={{{stageimage|}}}
{{BobRow|Distributor(s)|{{{distributor|}}}}}
+
| align=center
{{BobRow|Running time|{{{runtime|}}}}}
+
| default=[[File:Notavailable.svg]]
{{BobRow|Language|{{{language|}}}}}
+
| content={{#if: {{{stageimage2|}}}
{{BobRow||{{{releases|}}}|align=center|content={{releasesHeader}}
+
| {{tabs
 +
| icon1={{#if:{{{tab1|}}}|{{{tab1}}}|{{{stageimage|}}}}}
 +
| icon2={{#if:{{{tab2|}}}|{{{tab2}}}|{{{stageimage2|}}}}}
 +
| content1=[[File:{{{stageimage}}}|320x240px]]
 +
| content2=[[File:{{{stageimage2}}}|320x240px]]
 +
| orientation=horizontal
 +
| hidetitle=yes
 +
| tabliststyle=margin:2px;
 +
}}
 +
| [[File:{{{stageimage}}}|320x240px]]
 +
}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{title|}}}
 +
| default=''{{PAGENAME}}''
 +
| content=''{{{title}}}''
 +
| headline=yes
 +
| align=center
 +
}}
 +
{{BobRowPlus
 +
| if={{{startdate|}}}
 +
| title=Date(s)
 +
| content={{{startdate}}} {{#if:{{{enddate|}}}|– {{{enddate}}}}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{location|}}}
 +
| title=Location
 +
| content={{{location|}}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{attendance|}}}
 +
| title=Attendance
 +
| content={{{attendance|}}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{publisher|}}}
 +
| title=Publisher
 +
| content={{{publisher|}}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{distributor|}}}
 +
| title=Distributor(s)
 +
| content={{{distributor|}}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{runtime|}}}
 +
| title=Running time
 +
| content={{{runtime|}}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{language|}}}
 +
| title=Language
 +
| content={{{language|}}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{releases|}}}
 +
| align=center
 +
| content={{releasesHeader}}
 
{{{releases}}}
 
{{{releases}}}
{{releasesEnd}}}}
+
{{releasesEnd}}
{{BobRow||{{{bbfc|}}}{{{oflc|}}}|content=
+
}}
{{#if:{{{bbfc|}}}|{{BBFC|{{{bbfc}}}}}|}}
+
{{BobRowPlus
{{#if:{{{oflc|}}}|{{OFLC|{{{oflc}}}}}|}}}}
+
| if={{{bbfc|}}}{{{oflc|}}}
 +
| content=
 +
{{#if:{{{bbfc|}}}|{{BBFC|{{{bbfc}}}}}}}
 +
{{#if:{{{oflc|}}}|{{OFLC|{{{oflc}}}}}}}
 +
}}
 
}}<noinclude>
 
}}<noinclude>
 
==Usage==
 
==Usage==
Line 24: Line 85:
 
| logos=
 
| logos=
 
| stageimage=
 
| stageimage=
| imgwidth=
 
 
| title=
 
| title=
 
| startdate=
 
| startdate=

Latest revision as of 12:25, 30 November 2021

Notavailable.svg
StageBob

Usage

This template is to be used on articles about stage plays and concerts. Place the following at the top of a page:

{{StageBob
| logos=
| stageimage=
| title=
| startdate=
| enddate=
| location=
| attendance=
| runtime=
| publisher=
| distributor=
| releases={{ReleasesVideo
...
}}
}}