Difference between revisions of "VideoBob"

From Sega Retro

(apologies)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#vardefine:videocode|{{{videocode|}}}}}{{BobTablePlus|
+
{{#vardefine:type|6}}{{#vardefine:videocode|{{{videocode|}}}}}{{#if:{{{relatedto|}}}|{{RelationStore|{{#titleparts:{{PAGENAME}}}}|{{{relatedto|}}}|video}}|}}{{BobTablePlus|
 
{{BobRowPlus
 
{{BobRowPlus
 
| if={{{logo|}}}
 
| if={{{logo|}}}
Line 9: Line 9:
 
| align=center
 
| align=center
 
| default=[[File:Notavailable.svg]]
 
| default=[[File:Notavailable.svg]]
| content=[[File:{{{bobscreen}}}|320x240px]]
+
| content={{#if:{{{bobscreen2|}}}
 +
| {{tabs
 +
| icon1={{#if:{{{tab1|}}}|{{{tab1|}}}|{{{bobscreen|}}}}}
 +
| icon2={{#if:{{{tab2|}}}|{{{tab2|}}}|{{{bobscreen2|}}}}}
 +
| icon3={{#if:{{{tab3|}}}|{{{tab3|}}}|{{{bobscreen3|}}}}}
 +
| icon4={{#if:{{{tab4|}}}|{{{tab4|}}}|{{{bobscreen4|}}}}}
 +
| content1=[[File:{{{bobscreen|}}}|320x240px]]
 +
| content2=[[File:{{{bobscreen2|}}}|320x240px]]
 +
| content3={{#if:{{{bobscreen3|}}}|[[File:{{{bobscreen3|}}}|320x240px]]}}
 +
| content4={{#if:{{{bobscreen4|}}}|[[File:{{{bobscreen4|}}}|320x240px]]}}
 +
| orientation=horizontal
 +
| hidetitle=yes
 +
| tabliststyle=margin:2px;
 +
}}
 +
| [[File:{{{bobscreen|}}}|320x240px]]
 +
}}
 
}}
 
}}
 
{{BobRowPlus
 
{{BobRowPlus
Line 19: Line 34:
 
}}
 
}}
 
{{BobRowPlus
 
{{BobRowPlus
 +
| if={{{format|}}}
 +
| title=Format
 +
| content={{{format|}}}{{#vardefine:systemfull|{{{format|}}}}}{{#if:{{#pos:{{{format}}}|,}}|{{#vardefine:multi|yes}}}}
 +
}}
 +
{{#vardefine:companyrole|Studio}}{{BobRowPlus
 
| if={{{studio|}}}
 
| if={{{studio|}}}
 
| title=Studio
 
| title=Studio
| content={{{studio|}}}
+
| content={{#if:{{#pos:{{{studio|}}}|<}}|{{{studio|}}}|{{company|{{{studio|}}}}}}}
 
}}
 
}}
{{BobRowPlus
+
{{#vardefine:companyrole|Publisher}}{{BobRowPlus
 
| if={{{publisher|}}}
 
| if={{{publisher|}}}
 
| title=Publisher
 
| title=Publisher
| content={{{publisher|}}}
+
| content=<span itemprop="publisher">{{#if:{{#pos:{{{publisher|}}}|<}}|{{{publisher|}}}|{{company|{{{publisher|}}}}}}}</span>
 
}}
 
}}
{{BobRowPlus
+
{{#vardefine:companyrole|Distributor}}{{BobRowPlus
 
| if={{{distributor|}}}
 
| if={{{distributor|}}}
| title=Distributor(s)
+
| title=Distributor
| content={{{distributor|}}}
+
| content={{#if:{{#pos:{{{distributor|}}}|<}}|{{{distributor|}}}|{{company|{{{distributor|}}}}}}}
 +
}}
 +
{{#vardefine:companyrole|Licensor}}{{BobRowPlus
 +
| if={{{licensor|}}}
 +
| title=Licensor
 +
| content={{#if:{{#pos:{{{licensor|}}}|<}}|{{{licensor|}}}|{{company|{{{licensor|}}}}}}}
 
}}
 
}}
 
{{BobRowPlus
 
{{BobRowPlus
Line 57: Line 82:
 
| title=Running time
 
| title=Running time
 
| content={{{runtime|}}}
 
| content={{{runtime|}}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{country|}}}
 +
| title=Country of origin
 +
| content={{{country|}}}{{#vardefine:country|{{CountryCheck|{{{country|}}}}}}}{{#if:{{#var:country}}|[[Category:Television shows in {{#var:country}}]]|}}
 
}}
 
}}
 
{{BobRowPlus
 
{{BobRowPlus
Line 101: Line 131:
 
|system={{{defaultratingsystem5|}}}
 
|system={{{defaultratingsystem5|}}}
 
|firstissue={{padleft:{{{defaultratingsystem5_issue|0}}}|8|0}}
 
|firstissue={{padleft:{{{defaultratingsystem5_issue|0}}}|8|0}}
 +
}}}}{{#if:{{{defaultratingsystem6|}}}|{{#cargo_store:
 +
_table = magdefaultratingsystems
 +
|code={{#var:videocode}}
 +
|system={{{defaultratingsystem6|}}}
 +
|firstissue={{padleft:{{{defaultratingsystem6_issue|0}}}|8|0}}
 
}}}}|}}
 
}}}}|}}
 
}}<noinclude>
 
}}<noinclude>
Line 111: Line 146:
 
| bobscreen=
 
| bobscreen=
 
| title=
 
| title=
 +
| format=
 
| studio=
 
| studio=
 
| publisher=
 
| publisher=
 
| distributor=
 
| distributor=
 +
| licensor=
 
| seasons=
 
| seasons=
 
| episodes=
 
| episodes=
Line 120: Line 157:
 
| channel=
 
| channel=
 
| runtime=
 
| runtime=
 +
| country=
 
| language=
 
| language=
 
| releases={{ReleasesVideo
 
| releases={{ReleasesVideo
 
...
 
...
 
}}
 
}}
 +
| relatedto= <!--for Omni templates-->
 
}}
 
}}
 
</pre>
 
</pre>
  
 
[[Category:Breakout box templates]]</noinclude>
 
[[Category:Breakout box templates]]</noinclude>

Latest revision as of 15:37, 8 April 2024

Notavailable.svg
VideoBob

Usage

This template is to be used on articles about videos, films and TV series. Place the following at the top of a page:

{{VideoBob
| logo=
| bobscreen=
| title=
| format=
| studio=
| publisher=
| distributor=
| licensor=
| seasons=
| episodes=
| airdate=
| airdate_final=
| channel=
| runtime=
| country=
| language=
| releases={{ReleasesVideo
...
}}
| relatedto= <!--for Omni templates-->
}}