Difference between revisions of "VideoBob"
From Sega Retro
(Created page with "{{BobTable| {{BobRow||{{{bobscreen|}}}|align=center|default=File:Notavailable.svg|content=[[File:{{{bobscreen}}}|320x240px]]}} {{BobRow||{{{title|}}}|default=''{{PAGENAME}...") |
|||
(15 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{#vardefine:type|6}}{{#vardefine:videocode|{{{videocode|}}}}}{{#if:{{{relatedto|}}}|{{RelationStore|{{#titleparts:{{PAGENAME}}}}|{{{relatedto|}}}|video}}|}}{{BobTablePlus| |
− | {{ | + | {{BobRowPlus |
− | {{ | + | | if={{{logo|}}} |
− | {{ | + | | content=[[File:{{{logo}}}|320x100px]] |
− | {{ | + | | align=center |
− | {{ | + | }} |
− | {{ | + | {{BobRowPlus |
− | {{ | + | | if={{{bobscreen|}}} |
− | {{ | + | | align=center |
− | {{ | + | | default=[[File:Notavailable.svg]] |
− | {{ | + | | 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 | ||
+ | | if={{{title|}}} | ||
+ | | default=''{{PAGENAME}}'' | ||
+ | | content=''{{{title}}}'' | ||
+ | | headline=yes | ||
+ | | align=center | ||
+ | }} | ||
+ | {{BobRowPlus | ||
+ | | if={{{format|}}} | ||
+ | | title=Format | ||
+ | | content={{{format|}}}{{#vardefine:systemfull|{{{format|}}}}}{{#if:{{#pos:{{{format}}}|,}}|{{#vardefine:multi|yes}}}} | ||
+ | }} | ||
+ | {{#vardefine:companyrole|Studio}}{{BobRowPlus | ||
+ | | if={{{studio|}}} | ||
+ | | title=Studio | ||
+ | | content={{#if:{{#pos:{{{studio|}}}|<}}|{{{studio|}}}|{{company|{{{studio|}}}}}}} | ||
+ | }} | ||
+ | {{#vardefine:companyrole|Publisher}}{{BobRowPlus | ||
+ | | if={{{publisher|}}} | ||
+ | | title=Publisher | ||
+ | | content=<span itemprop="publisher">{{#if:{{#pos:{{{publisher|}}}|<}}|{{{publisher|}}}|{{company|{{{publisher|}}}}}}}</span> | ||
+ | }} | ||
+ | {{#vardefine:companyrole|Distributor}}{{BobRowPlus | ||
+ | | if={{{distributor|}}} | ||
+ | | title=Distributor | ||
+ | | content={{#if:{{#pos:{{{distributor|}}}|<}}|{{{distributor|}}}|{{company|{{{distributor|}}}}}}} | ||
+ | }} | ||
+ | {{#vardefine:companyrole|Licensor}}{{BobRowPlus | ||
+ | | if={{{licensor|}}} | ||
+ | | title=Licensor | ||
+ | | content={{#if:{{#pos:{{{licensor|}}}|<}}|{{{licensor|}}}|{{company|{{{licensor|}}}}}}} | ||
+ | }} | ||
+ | {{BobRowPlus | ||
+ | | if={{{seasons|}}} | ||
+ | | title=Number of seasons | ||
+ | | content={{{seasons|}}} | ||
+ | }} | ||
+ | {{BobRowPlus | ||
+ | | if={{{episodes|}}} | ||
+ | | title=Number of episodes | ||
+ | | content={{{episodes|}}} | ||
+ | }} | ||
+ | {{BobRowPlus | ||
+ | | if={{{airdate|}}} | ||
+ | | title=Original airdate | ||
+ | | content={{{airdate}}} {{#if:{{{airdate_final|}}}| — {{{airdate_final}}}}} | ||
+ | }} | ||
+ | {{BobRowPlus | ||
+ | | if={{{channel|}}} | ||
+ | | title=Original channel(s) | ||
+ | | content={{{channel|}}} | ||
+ | }} | ||
+ | {{BobRowPlus | ||
+ | | if={{{runtime|}}} | ||
+ | | title=Running time | ||
+ | | 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 | ||
+ | | if={{{language|}}} | ||
+ | | title=Language | ||
+ | | content={{{language|}}} | ||
+ | }} | ||
+ | {{BobRowPlus | ||
+ | | if={{{releases|}}} | ||
+ | | align=center | ||
+ | | content={{releasesHeader}} | ||
{{{releases}}} | {{{releases}}} | ||
− | {{releasesEnd}}}} | + | {{releasesEnd}} |
+ | }} | ||
+ | {{BobRowPlus | ||
+ | | if={{{bbfc|}}}{{{oflc|}}} | ||
+ | | content= | ||
+ | {{#if:{{{bbfc|}}}|{{BBFC|{{{bbfc}}}}}|}} | ||
+ | {{#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 19: | Line 143: | ||
<pre> | <pre> | ||
{{VideoBob | {{VideoBob | ||
+ | | logo= | ||
| bobscreen= | | bobscreen= | ||
| title= | | title= | ||
+ | | format= | ||
| studio= | | studio= | ||
| publisher= | | publisher= | ||
| distributor= | | distributor= | ||
+ | | licensor= | ||
| seasons= | | seasons= | ||
| episodes= | | episodes= | ||
| airdate= | | airdate= | ||
| airdate_final= | | airdate_final= | ||
+ | | 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
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--> }}