Difference between revisions of "ToyBob"

From Sega Retro

m (+licensor)
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{BobTable|
+
{{#vardefine:systemfull|Toy}}{{#vardefine:type|5}}{{BobTablePlus|
{{BobRow||{{{toyimage|}}}|align=center|default=[[File:Notavailable.svg]]|content=[[File:{{{toyimage}}}|{{#if:{{{imagewidth|}}}|{{{imagewidth}}}|320x240}}px]]}}
+
{{BobRowPlus
{{BobRow||{{{title|}}}|default=Fast facts on ''{{PAGENAME}}''|content=Fast facts on ''{{{title}}}''|headline=yes|align=center}}
+
| if={{{logo|}}}
{{BobRow|Manufacturer|{{{manufacturer|}}}}}
+
| content=[[File:{{{logo}}}|320x100px]]
{{BobRow|Publisher|{{{publisher|}}}}}
+
| align=center
{{BobRow|Distributor(s)|{{{distributor|}}}}}
+
}}
{{BobRow||{{{releases|}}}|content={{releasesHeader}}
+
{{BobRowPlus
 +
| if={{{toyimage|}}}
 +
| align=center
 +
| default=[[File:Notavailable.svg]]
 +
| content=[[File:{{{toyimage}}}|{{#if:{{{toyimage2|}}}|160x240|320x240}}px]]{{#if:{{{toyimage2|}}}|[[File:{{{toyimage2|}}}|160x240px]]}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{title|}}}
 +
| default={{PAGENAME}}
 +
| content={{{title}}}
 +
| headline=yes
 +
| align=center
 +
}}
 +
{{#vardefine:companyrole|Manufacturer}}{{BobRowPlus
 +
| if={{{manufacturer|}}}
 +
| title=Manufacturer
 +
| content={{#if:{{#pos:{{{manufacturer|}}}|<}}|{{{manufacturer|}}}|{{company|{{{manufacturer|}}}}}}}
 +
}}
 +
{{#vardefine:companyrole|Publisher}}{{BobRowPlus
 +
| if={{{publisher|}}}
 +
| title=Publisher
 +
| content={{#if:{{#pos:{{{publisher|}}}|<}}|{{{publisher|}}}|{{company|{{{publisher|}}}}}}}
 +
}}
 +
{{#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={{{releases|}}}
 +
| content={{releasesHeader}}
 
{{{releases}}}
 
{{{releases}}}
{{releasesEnd}}}}
+
{{releasesEnd}}
}}<noinclude>
+
}}
 +
}}<includeonly>[[Category:Toys]]</includeonly><noinclude>
 
This template is to be used on articles about toys. Place the following at the top of a page:
 
This template is to be used on articles about toys. Place the following at the top of a page:
  
Line 14: Line 50:
 
{{ToyBob
 
{{ToyBob
 
| toyimage=
 
| toyimage=
| imgwidth=
 
 
| title=
 
| title=
 
| manufacturer=
 
| manufacturer=
 
| distributor=
 
| distributor=
| releases={{releases
+
| licensor=
 +
| releases={{releasesToy
 
...
 
...
 
}}
 
}}
Line 24: Line 60:
 
</pre>
 
</pre>
  
All fields except "toyimage" are optional. See [[:Template:Releases]] for how to add individual releases and variants of the toy.
+
All fields are optional. See [[:Template:Releases]] for how to add individual releases and variants of the toy.
 
 
  
[[Category:Breakout box templates|ToyBob]]</noinclude>
+
[[Category:Breakout box templates]]</noinclude>

Latest revision as of 22:53, 7 December 2021

Notavailable.svg
ToyBob

This template is to be used on articles about toys. Place the following at the top of a page:

{{ToyBob
| toyimage=
| title=
| manufacturer=
| distributor=
| licensor=
| releases={{releasesToy
...
}}
}}

All fields are optional. See Template:Releases for how to add individual releases and variants of the toy.