Actions

Template

Difference between revisions of "Hack"

From Sonic Retro

m (Adding missing equals sign in description)
(Added "works on hardware" section. I think this would come in handy for people looking to play hacks on their consoles.)
 
(17 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<includeonly>{|cellpadding="0" cellspacing="0" style="max-width: 340px; padding: 0px; float: right; margin-left: 15px; clear:left;" class="breakout"
+
{{#vardefine:type|0}}{{#vardefine:genre|0}}{{BobTable|
| style="text-align: center;"|
+
{{BobRow||{{{screen|}}}|default=[[File:Notavailable.svg]]<includeonly>[[Category:No titlescreen]]</includeonly>|content={{bobscreen|{{{screen}}}}}| align=center}}
{{ #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|Version|{{{version|}}}}}
! Fast Facts on ''{{ #if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}''
+
{{BobRow|Last release|{{{date|}}}}}
|-
+
{{BobRow|Status|{{{status|}}}}}
|style="padding: 0.3em; line-height: 1.5em; padding-left: 5px;" |
+
{{BobRow|System|{{{system|}}}}}
{{ #if: {{{version|}}} | '''Version''': {{{version}}}<br> | }}{{
+
{{BobRow|Works on Hardware|{{{worksonhardware|}}}}}
#if: {{{date|}}} | '''Last Release''': {{{date}}}<br> | }}{{
+
{{BobRow|ROM size|{{{romsize|}}}}}
#if: {{{system|}}} | '''System''': {{{system}}}<br> | }}{{
+
{{BobRow|Original game|''[[{{{originalgame|}}}]]''}}
#if: {{{romsize|}}} | '''ROM size''': {{{romsize}}}<br> | }}{{
+
{{BobRow|Peripherals supported|{{{peripherals|}}}}}
#if: {{{originalgame|}}} | '''Original Game''': ''[[{{{originalgame}}}]]''<br> | }}{{
+
{{BobRow|Credits|{{{credits|}}}}}
#if: {{{peripherals|}}} | '''Peripherals Supported''': {{{peripherals}}}<br> | }}{{
+
{{BobRow|Thanks|{{{thanks|}}}}}
#if: {{{credits|}}} | '''Credits''': {{{credits}}}<br> | }}{{
+
}}
#if: {{{thanks|}}} | '''Thanks''': {{{thanks}}}<br> | }}
+
<includeonly><div style="display: none">
|}
+
{{#if: {{{originalgame|}}}|[[Category:{{{originalgame}}} hacks]]|}}
{{#if: {{{originalgame|}}}|[[Category:{{{originalgame}}} Hacks]]|}}
+
{{#ifeq: {{{visualmods|}}}|yes|[[Category:Hacks with visual modifications]]|}}
</includeonly><noinclude>
+
{{#ifeq: {{{audiomods|}}}|yes|[[Category:Hacks with audio modifications]]|}}
 +
{{#ifeq: {{{layoutmods|}}}|yes|[[Category:Hacks with layout modifications]]|}}
 +
{{#ifeq: {{{basicenginemods|}}}|yes|[[Category:Hacks with basic engine modifications]]|}}
 +
{{#ifeq: {{{advenginemods|}}}|yes|[[Category:Hacks with advanced engine modifications]]|}}
 +
{{#if: {{{romsize|}}} | | [[Category:Hacks with no ROM size]] }}</div></includeonly><noinclude>
 
==Usage==
 
==Usage==
 
This template is to be used on articles about [[hacks]]. Place the following at the top of a page:
 
This template is to be used on articles about [[hacks]]. Place the following at the top of a page:
Line 23: Line 27:
 
{{Hack
 
{{Hack
 
| screen=
 
| screen=
| screenwidth=
+
| title=
 
| version=
 
| version=
 
| date=
 
| date=
 +
| status=
 
| system=
 
| system=
 +
| worksonhardware=
 
| originalgame=
 
| originalgame=
 
| peripherals=
 
| peripherals=
Line 32: Line 38:
 
| credits=
 
| credits=
 
| thanks=
 
| thanks=
 +
| visualmods=
 +
| audiomods=
 +
| layoutmods=
 +
| basicenginemods=
 +
| advenginemods=
 
}}
 
}}
 
</pre>
 
</pre>
Line 37: Line 48:
 
All fields except "screen" are optional.
 
All fields except "screen" are optional.
  
[[Category:Breakout Box Templates|Hack]]</noinclude>
+
[[Category:Breakout box templates|Hack]]</noinclude>

Latest revision as of 16:52, 15 December 2019

Notavailable.svg
Hack
Original game: [[]]

Usage

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

{{Hack
| screen=
| title=
| version=
| date=
| status=
| system=
| worksonhardware=
| originalgame=
| peripherals=
| romsize=
| credits=
| thanks=
| visualmods=
| audiomods=
| layoutmods=
| basicenginemods=
| advenginemods=
}}

All fields except "screen" are optional.