Actions

Template

Difference between revisions of "ProgramBob"

From Sonic Retro

(Undo revision 209777 by GerbilSoft (talk))
Line 1: Line 1:
 
<includeonly>{{ #if: {{{obsolete|}}} | {{ObsoleteProgram|text={{{obsoletetext|}}}}} | }}
 
<includeonly>{{ #if: {{{obsolete|}}} | {{ObsoleteProgram|text={{{obsoletetext|}}}}} | }}
{|cellpadding="0" cellspacing="0" style="max-width: 340px; padding: 0px; float: right; margin-left: 15px; clear:left;" class="breakout" id="programbob"
+
{{BobTable|
| style="text-align: center;"|
+
{{BobRow||{{{screen|}}}|align=center|default=[[File:Notavailable.svg]]<includeonly>[[Category:No titlescreen]]</includeonly>|content={{bobscreen|{{{screen}}}}}{{#ifeq: {{fileext|{{{screen}}}}} | jpg | [[Category:JPEG titlescreen]] }}}}
{{ #if: {{{screen|}}} | [[Image:{{{screen}}}|{{ #if: {{{screenwidth|}}} | {{{screenwidth}}}px | 320px }}]] | [[Image:Notavailable.svg|{{ #if: {{{screenwidth|}}} | {{{screenwidth}}}px | 320px }}]] }}
+
{{BobRow||{{{title|}}}|default=''<span itemprop="name">{{PAGENAME}}</span>''|content=''<span itemprop="name">{{{title}}}</span>''|headline=yes|align=center}}
|-
+
{{BobRow|Category|{{{category}}}}}
! Fast Facts on ''{{ #if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}''
+
{{BobRow|Version|{{{version}}}}}
|-
+
{{BobRow|Last Release|{{{lastrelease}}}}}
|style="padding: 0.3em; line-height: 1.5em; padding-left: 5px;" |{{
+
{{BobRow|Status|{{{status}}}}}
#if: {{{category|}}} | '''Category''': {{{category}}}<br> | }}{{
+
{{BobRow|System|{{{system}}}}}
#if: {{{version|}}} | '''Version''': {{{version}}}<br> | }}{{
+
{{BobRow|Supported Games|{{{games}}}}}
#if: {{{date|}}} | '''Last Release''': {{{date}}}<br> | }}{{
+
{{BobRow|Credits|{{{credits}}}}}
#if: {{{status|}}} | '''Status''': {{{status}}}<br> | }}{{
+
{{BobRow|Thanks|{{{thanks}}}}}
#if: {{{system|}}} | '''System''': {{{system}}}<br> | }}{{
+
}}
#if: {{{games|}}} | '''Supported Games''': ''{{{games}}}''<br> | }}{{
 
#if: {{{credits|}}} | '''Credits''': {{{credits}}}<br> | }}{{
 
#if: {{{thanks|}}} | '''Thanks''': {{{thanks}}}<br> | }}
 
|}
 
 
[[Category:{{{category|Uncategorized}}} programs]]
 
[[Category:{{{category|Uncategorized}}} programs]]
 
{{ #if: {{{system|}}} | [[Category:{{{system}}} programs]] | }}</includeonly><noinclude>
 
{{ #if: {{{system|}}} | [[Category:{{{system}}} programs]] | }}</includeonly><noinclude>
 
==Usage==
 
==Usage==
 
This template is to be used on articles about [[:Category:Programs|programs]]. Place the following at the top of a page:
 
This template is to be used on articles about [[:Category:Programs|programs]]. Place the following at the top of a page:
 +
  
 
<pre>
 
<pre>

Revision as of 09:29, 14 August 2015

|content=Expression error: Unexpected < operator.
<div style="transform:scale(1,1); transform-origin:0% 0%; width:Expression error: Unexpected / operator.px !important;">[[File:{{{screen}}}|Expression error: Unexpected / operator.px]]
</div>}}

!style="padding-top:2px;padding-bottom:2px;text-align:center;"| ProgramBob |- |style="padding-top:2px; padding-bottom:2px; width:320px; text-align:left; "| Category: {{{category}}} |- |style="padding-top:2px; padding-bottom:2px; width:320px; text-align:left; "| Version: {{{version}}} |- |style="padding-top:2px; padding-bottom:2px; width:320px; text-align:left; "| Last Release: {{{lastrelease}}} |- |style="padding-top:2px; padding-bottom:2px; width:320px; text-align:left; "| Status: {{{status}}} |- |style="padding-top:2px; padding-bottom:2px; width:320px; text-align:left; "| System: {{{system}}} |- |style="padding-top:2px; padding-bottom:2px; width:320px; text-align:left; "| Supported Games: {{{games}}} |- |style="padding-top:2px; padding-bottom:2px; width:320px; text-align:left; "| Credits: {{{credits}}} |- |style="padding-top:2px; padding-bottom:2px; width:320px; text-align:left; "| Thanks: {{{thanks}}} |- }} </includeonly>

Usage

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


{{Program
| screen=
| screenwidth=
| category=
| version=
| date=
| status=
| system=
| games=
| credits=
| thanks=
| obsolete=
}}

All fields except "screen" are optional.