Difference between revisions of "VideoBob"

From Sega Retro

(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{BobTablePlus|
+
{{#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 71: Line 91:
 
{{#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}}
 +
}}}}|}}
 
}}<noinclude>
 
}}<noinclude>
 
==Usage==
 
==Usage==
Line 77: Line 123:
 
<pre>
 
<pre>
 
{{VideoBob
 
{{VideoBob
 +
| logo=
 
| bobscreen=
 
| bobscreen=
 
| title=
 
| title=
Line 92: Line 139:
 
...
 
...
 
}}
 
}}
 +
| relatedto= <!--for Omni templates-->
 
}}
 
}}
 
</pre>
 
</pre>
  
 
[[Category:Breakout box templates]]</noinclude>
 
[[Category:Breakout box templates]]</noinclude>

Revision as of 20:11, 5 January 2021

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=
| studio=
| publisher=
| distributor=
| seasons=
| episodes=
| airdate=
| airdate_final=
| channel=
| runtime=
| language=
| releases={{ReleasesVideo
...
}}
| relatedto= <!--for Omni templates-->
}}