Difference between revisions of "ProtoBob"

From Sega Retro

m
 
(13 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
| if={{{bobscreen|}}}
 
| if={{{bobscreen|}}}
 
| align=center
 
| align=center
| default=[[File:Notavailable.svg]]<includeonly>[[Category:No titlescreen]]</includeonly>
+
| default=[[File:Notavailable.svg]]<includeonly>[[Category:No title screen]]</includeonly>
| content={{#vardefine:bobscreenwidth|{{#ifexpr:{{#mediawidth:{{{bobscreen|}}}}}>320|320|}}}}{{#vardefine:forcewidescreen|{{{forcewidescreen|}}}}}
+
| content={{#if:{{{bobscreen2|}}}
{{bobscreen|{{{bobscreen|}}}|forcewidescreen={{#var:forcewidescreen}}|width={{#var:bobscreenwidth}}}}
+
| {{tabs
{{#ifeq:{{lc:{{fileext|{{{bobscreen}}}}}}}|jpg|[[Category:JPEG titlescreen]]}}
+
| icon1={{#if:{{{tab1|}}}|{{{tab1|}}}|{{{bobscreen|}}}}}
 +
| icon2={{#if:{{{tab2|}}}|{{{tab2|}}}|{{{bobscreen2|}}}}}
 +
| icon3={{#if:{{{tab3|}}}|{{{tab3|}}}|{{{bobscreen3|}}}}}
 +
| content1={{bobscreen|{{{bobscreen|}}}|forcewidescreen={{{forcewidescreen1|}}}|noresize={{{noresize1|}}}|smsgg={{#if:{{#pos:{{{tab1|}}}|Game Gear}}|{{{smsgg|}}}}}}}
 +
| content2={{bobscreen|{{{bobscreen2|}}}|forcewidescreen={{{forcewidescreen2|}}}|noresize={{{noresize2|}}}|smsgg={{#if:{{#pos:{{{tab2|}}}|Game Gear}}|{{{smsgg|}}}}}}}
 +
| content3={{#if:{{{bobscreen3|}}}|{{bobscreen|{{{bobscreen3|}}}|forcewidescreen={{{forcewidescreen3|}}}|noresize={{{noresize3|}}}|smsgg={{#if:{{#pos:{{{tab3|}}}|Game Gear}}|{{{smsgg|}}}}}}}}}
 +
| orientation=horizontal
 +
| hidetitle=yes
 +
| tabliststyle=margin:2px;
 +
}}
 +
| {{bobscreen|{{{bobscreen|}}}|forcewidescreen={{{forcewidescreen|}}}|noresize={{{noresize|}}}|smsgg={{#switch:{{{system|}}}|[[Sega Game Gear]]={{{smsgg|}}}}}}}
 +
}}{{#switch:{{lc:{{fileext|{{{bobscreen|}}}}}}}|jpg|jpeg=[[Category:JPEG title screen]]}}
 
}}
 
}}
 
{{BobRowPlus
 
{{BobRowPlus
 
| if={{{title|}}}
 
| if={{{title|}}}
 
| default=''<span itemprop="name">{{PAGENAME}}</span>''
 
| default=''<span itemprop="name">{{PAGENAME}}</span>''
| content=''<span itemprop="name">{{{title}}}</span>''
+
| content=''<span itemprop="name">{{{title|}}}</span>''
 
| headline=yes
 
| headline=yes
 
| align=center
 
| align=center
Line 18: Line 29:
 
| if={{{final|}}}
 
| if={{{final|}}}
 
| title=Prerelease of
 
| title=Prerelease of
| content=''[[{{{Final}}}]]''
+
| content=''[[{{{final|}}}|{{#explode:{{{final|}}}| (|0}}]]''
 
}}
 
}}
 
{{BobRowPlus
 
{{BobRowPlus
 
| if={{{system|}}}
 
| if={{{system|}}}
 
| title=System
 
| title=System
| content={{{system}}}{{#vardefine:systemfull|{{{system|}}}}}
+
| content={{{system|}}}{{#vardefine:systemfull|{{{system|}}}}}
 
}}
 
}}
 
{{BobRowPlus
 
{{BobRowPlus
 
| if={{{date|}}}
 
| if={{{date|}}}
 
| title=Build date
 
| title=Build date
| content={{{date}}}
+
| content={{{date|}}}
 
}}
 
}}
 
{{BobRowPlus
 
{{BobRowPlus
 
| if={{{romsize|}}}
 
| if={{{romsize|}}}
 
| title=ROM size
 
| title=ROM size
| content={{{romsize}}}
+
| content={{{romsize|}}}
 
}}
 
}}
 
{{BobRowPlus
 
{{BobRowPlus
 
| if={{{source|}}}
 
| if={{{source|}}}
 
| title=Source
 
| title=Source
| content={{{source}}}
+
| content={{{source|}}}
 
}}
 
}}
 
{{BobRowPlus
 
{{BobRowPlus
 
| if={{{foundby|}}}
 
| if={{{foundby|}}}
 
| title=Found by
 
| title=Found by
| content={{{foundby}}}
+
| content={{{foundby|}}}
 
}}
 
}}
}}<includeonly>[[Category:Prototypes]]</includeonly>
+
}}{{#vardefine:prototype|true}}<includeonly>[[Category:Prototypes]]</includeonly>
 
</div>
 
</div>
 
 
<noinclude>
 
<noinclude>
 
This template is to be used on articles about prototype video games. Place the following at the top of a page:
 
This template is to be used on articles about prototype video games. Place the following at the top of a page:
Line 63: Line 73:
 
}}
 
}}
 
</pre>
 
</pre>
 
  
 
[[Category:Breakout box templates]]</noinclude>
 
[[Category:Breakout box templates]]</noinclude>

Latest revision as of 15:17, 30 December 2022

Notavailable.svg
ProtoBob

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

{{ProtoBob
| bobscreen=
| title=
| final=
| system=
| date=
| romsize=
| source=
| foundby=
}}