Actions

Template

Difference between revisions of "Hack"

From Sonic Retro

(Fix linebreaks for #if templates.)
(Undo revision 221928 by GerbilSoft (talk) ...this causes extra linebreaks to show up. TODO: Subclass of Bob?)
Line 6: Line 6:
 
|-
 
|-
 
|style="padding: 0.3em; line-height: 1.5em; padding-left: 5px;" |
 
|style="padding: 0.3em; line-height: 1.5em; padding-left: 5px;" |
{{ #if: {{{version|}}} | '''Version''': {{{version}}}<br> | }}
+
{{ #if: {{{version|}}} | '''Version''': {{{version}}}<br> | }}{{
{{ #if: {{{date|}}} | '''Last Release''': {{{date}}}<br> | }}
+
#if: {{{date|}}} | '''Last Release''': {{{date}}}<br> | }}{{
{{ #if: {{{status|}}} | '''Status''': {{{status}}}<br> | }}
+
#if: {{{status|}}} | '''Status''': {{{status}}}<br> | }}{{
{{ #if: {{{system|}}} | '''System''': {{{system}}}<br> | }}
+
#if: {{{system|}}} | '''System''': {{{system}}}<br> | }}{{
{{ #if: {{{romsize|}}} | '''ROM size''': {{{romsize}}}<br> | }}
+
#if: {{{romsize|}}} | '''ROM size''': {{{romsize}}}<br> | }}{{
{{ #if: {{{originalgame|}}} | '''Original Game''': ''[[{{{originalgame}}}]]''<br> | }}
+
#if: {{{originalgame|}}} | '''Original Game''': ''[[{{{originalgame}}}]]''<br> | }}{{
{{ #if: {{{peripherals|}}} | '''Peripherals Supported''': {{{peripherals}}}<br> | }}
+
#if: {{{peripherals|}}} | '''Peripherals Supported''': {{{peripherals}}}<br> | }}{{
{{ #if: {{{credits|}}} | '''Credits''': {{{credits}}}<br> | }}
+
#if: {{{credits|}}} | '''Credits''': {{{credits}}}<br> | }}{{
{{ #if: {{{thanks|}}} | '''Thanks''': {{{thanks}}}<br> | }}
+
#if: {{{thanks|}}} | '''Thanks''': {{{thanks}}}<br> | }}
 
|}<div style="display: none">
 
|}<div style="display: none">
 
{{#if: {{{originalgame|}}}|[[Category:{{{originalgame}}} hacks]]|}}
 
{{#if: {{{originalgame|}}}|[[Category:{{{originalgame}}} hacks]]|}}

Revision as of 15:32, 12 September 2015

Usage

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

{{Hack
| screen=
| screenwidth=
| version=
| date=
| status=
| system=
| originalgame=
| peripherals=
| romsize=
| credits=
| thanks=
}}

All fields except "screen" are optional.