Difference between revisions of "ProtoBob"

From Sega Retro

Line 4: Line 4:
 
|final={{FormatSQL|{{{final|}}}}}
 
|final={{FormatSQL|{{{final|}}}}}
 
|format={{delink|{{{system|}}}}}
 
|format={{delink|{{{system|}}}}}
|date={{{date|}}}
+
|date={{stripref|{{{date|}}}}}
 
}}</includeonly>{{BobTablePlus|
 
}}</includeonly>{{BobTablePlus|
 
{{BobRowPlus
 
{{BobRowPlus
 
| 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={{#vardefine:bobscreenwidth|{{#ifexpr:{{#mediawidth:{{{bobscreen|}}}}}>320|320|}}}}{{#vardefine:forcewidescreen|{{{forcewidescreen|}}}}}
 
{{bobscreen|{{{bobscreen|}}}|forcewidescreen={{#var:forcewidescreen}}|width={{#var:bobscreenwidth}}}}
 
{{bobscreen|{{{bobscreen|}}}|forcewidescreen={{#var:forcewidescreen}}|width={{#var:bobscreenwidth}}}}
{{#ifeq:{{lc:{{fileext|{{{bobscreen}}}}}}}|jpg|[[Category:JPEG titlescreen]]}}
+
{{#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 29: Line 29:
 
| 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>
 
}}<includeonly>[[Category:Prototypes]]</includeonly>

Revision as of 19:48, 11 June 2021

Notavailable.svg
ProtoBob

This template defines the table "prototypes". View table. 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=
}}