Difference between revisions of "VideoBob"

From Sega Retro

 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{BobTablePlus|
+
{{#vardefine:type|6}}{{#vardefine:videocode|{{{videocode|}}}}}{{#if:{{{relatedto|}}}|{{RelationStore|{{#titleparts:{{PAGENAME}}}}|{{{relatedto|}}}|video}}|}}{{BobTablePlus|
 +
{{BobRowPlus
 +
| if={{{logo|}}}
 +
| content=[[File:{{{logo}}}|320x100px]]
 +
| align=center
 +
}}
 
{{BobRowPlus
 
{{BobRowPlus
 
| if={{{bobscreen|}}}
 
| if={{{bobscreen|}}}
 
| 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 14: 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 52: 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 71: Line 106:
 
{{#if:{{{oflc|}}}|{{OFLC|{{{oflc}}}}}|}}
 
{{#if:{{{oflc|}}}|{{OFLC|{{{oflc}}}}}|}}
 
}}
 
}}
 +
{{#if:{{{defaultratingsystem|}}}|{{#cargo_store:
 +
_table = magdefaultratingsystems
 +
|code={{#var:videocode}}
 +
|system={{{defaultratingsystem|}}}
 +
|firstissue=0
 +
}}{{#if:{{{defaultratingsystem2|}}}|{{#cargo_store:
 +
_table = magdefaultratingsystems
 +
|code={{#var:videocode}}
 +
|system={{{defaultratingsystem2|}}}
 +
|firstissue={{padleft:{{{defaultratingsystem2_issue|0}}}|8|0}}
 +
}}}}{{#if:{{{defaultratingsystem3|}}}|{{#cargo_store:
 +
_table = magdefaultratingsystems
 +
|code={{#var:videocode}}
 +
|system={{{defaultratingsystem3|}}}
 +
|firstissue={{padleft:{{{defaultratingsystem3_issue|0}}}|8|0}}
 +
}}}}{{#if:{{{defaultratingsystem4|}}}|{{#cargo_store:
 +
_table = magdefaultratingsystems
 +
|code={{#var:videocode}}
 +
|system={{{defaultratingsystem4|}}}
 +
|firstissue={{padleft:{{{defaultratingsystem4_issue|0}}}|8|0}}
 +
}}}}{{#if:{{{defaultratingsystem5|}}}|{{#cargo_store:
 +
_table = magdefaultratingsystems
 +
|code={{#var:videocode}}
 +
|system={{{defaultratingsystem5|}}}
 +
|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>
 
==Usage==
 
==Usage==
Line 77: Line 143:
 
<pre>
 
<pre>
 
{{VideoBob
 
{{VideoBob
 +
| logo=
 
| bobscreen=
 
| bobscreen=
 
| title=
 
| title=
 +
| format=
 
| studio=
 
| studio=
 
| publisher=
 
| publisher=
 
| distributor=
 
| distributor=
 +
| licensor=
 
| seasons=
 
| seasons=
 
| episodes=
 
| episodes=
Line 88: 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-->
}}