Actions

Template

Difference between revisions of "Fangame"

From Sonic Retro

m (+. (Mostly adapted from <http://en.wikipedia.org/wiki/Template:Infobox_software>. I've tried to keep new fields' names identical.) I plan to soon use the new fields on the Open Sonic article.)
m (Removed the example section since it was placing the template in the fan games category.)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{|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|}}}|align=center|default=[[File:Notavailable.svg]]<includeonly>[[Category:No titlescreen]]</includeonly>|content={{#if: {{{screen2|}}} |
{{ #if: {{{screen|}}} | [[Image:{{{screen}}}|{{ #if: {{{screenwidth|}}} | {{{screenwidth}}}px | 320px }}]] | [[Image:Notavailable.svg|{{ #if: {{{screenwidth|}}} | {{{screenwidth}}}px | 320px }}]] }}
+
{{tabs
|-
+
| hidetitle=yes
! Fast Facts on <i>{{ #if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}</i>
+
| instant=yes
|-
+
| style=border:none; padding:0px;
|style="padding: 0.3em; line-height: 1.5em; padding-left: 5px;" |
+
| orientation=horizontal
{{ #if: {{{version|}}} | '''Latest Version''': {{{version}}}<br> | }}{{
+
| width=320px
#if: {{{date|}}} | '''Latest Release Date''': {{{date}}}<br> | }}{{
+
| icon1={{{tab1|Image 1}}}
#if: {{{engine|}}} | '''Engine''': {{{engine}}}<br> | }}{{
+
| icon2={{{tab2|Image 2}}}
#if: {{{credits|}}} | '''Credits''': {{{credits}}}<br> | }}{{
+
| icon3={{#if:{{{screen3|}}}|{{{tab3|Image 3}}}}}
#if: {{{status|}}} | '''Development Status''': {{{status}}}<br> | }}{{
+
| content1={{bobscreen|{{{screen}}}}}
#if: {{{programming language|}}} | '''Written In''': {{{programming language}}}<br> | }}{{
+
| content2={{bobscreen|{{{screen2}}}}}
#if: {{{operating system|}}} | '''Operating System''': {{{operating system}}}<br> | }}{{
+
| content3={{#if:{{{screen3|}}}|{{bobscreen|{{{screen3}}}}}}}
#if: {{{platform|}}} | '''Platform''': {{{platform}}}<br> | }}{{
+
}}
#if: {{{modes|}}} | '''Mode(s)''': {{{modes}}}<br> | }}{{
+
|{{bobscreen|{{{screen}}}}}}}{{#ifeq: {{fileext|{{{screen}}}}} | jpg | [[Category:JPEG titlescreen]] }}}}
#if: {{{license|}}} | '''License''': {{{license}}}<br> | }}
+
{{BobRow||{{{title|}}}|default=''<span itemprop="name">{{PAGENAME}}</span>''|content=''<span itemprop="name">{{{title}}}</span>''|headline=yes|align=center}}
|}
+
{{BobRow|Latest version|{{{version|}}}}}
<noinclude>
+
{{BobRow|Latest release date|{{{date|}}}}}
 +
{{BobRow|Engine|{{{engine|}}}}}
 +
{{BobRow|Credits|{{{credits|}}}}}
 +
{{BobRow|Development status|{{{status|}}}}}
 +
{{BobRow|Written in|{{{programming language|}}}}}
 +
{{BobRow|Operating system|{{{operating system|}}}}}
 +
{{BobRow|Platform|{{{platform|}}}}}
 +
{{BobRow|Mode(s)|{{{modes|}}}}}
 +
{{BobRow|License|{{{license|}}}}}
 +
}}
 +
<includeonly>[[Category:Fan games]]</includeonly><noinclude>
  
 
==Usage==
 
==Usage==
This template is to be used on articles about [[fangame]]s. Place the following at the top of a page:
+
This template is to be used on articles about [[fangame]]s. Place the following at the top of a page. Remove the comment marks <nowiki><!--</nowiki> and <nowiki>--></nowiki> only from the fields you fill in.
  
 
<pre>
 
<pre>
 
{{Fangame
 
{{Fangame
 
| title=
 
| title=
| screen=
+
| screen=<!-- Open Sonic title screen.png -->
| screenwidth=
+
| screenwidth=<!-- default is 320 -->
| version=
+
| version=<!-- 0.1.3 -->
| date=
+
| date=<!-- February 16, 2010 -->
| engine=
+
| engine=<!-- original -->
 
| credits=
 
| credits=
| status=
+
| status=<!-- Planned / Active / Stalled / Unmaintained / Discontinued / etc. -->
| programming language=
+
<!-- Only if your game's engine is original:
| operating system=
+
| programming language=<!-- C -->
| platform=
+
| operating system=<!-- Microsoft Windows, Mac OS X, and Linux -->
| modes=
+
| platform=<!-- This should normally be blank. See documentation. -->
| license=
+
-->
 +
| modes=<!-- if the game supports both, write: "Single-player, multiplayer" -->
 +
| license=<!-- Freeware / Freeware with source code available / Freeware with open-source code / etc. -->
 
}}
 
}}
 
</pre>
 
</pre>
  
All fields except '''screen''' are optional; please leave unused fields in place so that someone else can fill them in later.
+
All fields are optional. Please leave unused fields in place so that someone else can fill them in later.
  
 
If '''title''' is not specified, it will read the name of the page.
 
If '''title''' is not specified, it will read the name of the page.
  
'''status''' can be set to "Planned", "Active", "Stalled", "Unmaintained", "Discontinued", "Abandonware", or anything else.
+
'''status''' can be set to "Planned", "Active", "Stalled", "Unmaintained", "Discontinued", or anything else.
 +
 
 +
If your game's '''engine''' is a premade engine, such as the [[Retro Sonic]] engine, link to it, and erase the ''programming language'', ''operating system'', and ''platform'' parameters from your article's template call. If your game's engine was custom-created specifically for your game, write "original", and try to fill in the the ''programming language'', ''operating system'', and ''platform'' fields.
  
 
'''operating system''' can be, for example, "Windows XP and later", or be "Windows Vista and later", or be "BSD, Linux, Mac OS, and Microsoft Windows", or be "Unix-like", or be anything else.
 
'''operating system''' can be, for example, "Windows XP and later", or be "Windows Vista and later", or be "BSD, Linux, Mac OS, and Microsoft Windows", or be "Unix-like", or be anything else.
Line 52: Line 66:
 
'''modes''' can be either "Single-player" or "Single-player, multiplayer".
 
'''modes''' can be either "Single-player" or "Single-player, multiplayer".
  
'''license''' can be "Proprietary commercial software", "Freeware", "Freeware with source code available", "Freeware with open-source code", "Open source including media", or similar. For a game to be open-source including its media, none of the graphics or other media may be ripped from Sega games.
+
'''license''' can be "Proprietary commercial software", "Freeware", "Freeware with source code available", "Freeware with open-source code", "Game and media are both fully open-source", or similar. Note that if the sprites are ripped from any Sega games, then the media cannot be considered open-source.
 
 
== Example ==
 
 
 
The following example is for illustration purposes only and may not include up-to-date information. You need not update it for the sake of truth.
 
 
 
{{Fangame
 
| title=''Open Sonic''
 
| screen=Open Sonic title screen.png
 
| screenwidth=
 
| version=0.1.3
 
| date=February 16, 2010
 
| engine=''Open Sonic''
 
| credits=Alexandre Martins
 
| status=Active
 
| programming language=C
 
| operating system=Microsoft Windows, Mac OS X, Linux
 
| modes=Single-player
 
| license=
 
}}
 
 
 
<pre>
 
{{Fangame
 
| title=''Open Sonic''
 
| screen=Open Sonic title screen.png
 
| screenwidth=
 
| version=0.1.3
 
| date=February 16, 2010
 
| engine=''Open Sonic''
 
| credits=Alexandre Martins
 
| status=Active
 
| programming language=C
 
| operating system=Microsoft Windows, Mac OS X, Linux
 
| modes=Single-player
 
| license=
 
}}
 
</pre>
 
  
 
[[Category:Breakout box templates|Fangame]]</noinclude>
 
[[Category:Breakout box templates|Fangame]]</noinclude>

Latest revision as of 23:55, 10 January 2020

Notavailable.svg
Fangame


Usage

This template is to be used on articles about fangames. Place the following at the top of a page. Remove the comment marks <!-- and --> only from the fields you fill in.

{{Fangame
| title=
| screen=<!-- Open Sonic title screen.png -->
| screenwidth=<!-- default is 320 -->
| version=<!-- 0.1.3 -->
| date=<!-- February 16, 2010 -->
| engine=<!-- original -->
| credits=
| status=<!-- Planned / Active / Stalled / Unmaintained / Discontinued / etc. -->
<!-- Only if your game's engine is original:
| programming language=<!-- C -->
| operating system=<!-- Microsoft Windows, Mac OS X, and Linux -->
| platform=<!-- This should normally be blank. See documentation. -->
-->
| modes=<!-- if the game supports both, write: "Single-player, multiplayer" -->
| license=<!-- Freeware / Freeware with source code available / Freeware with open-source code / etc. -->
}}

All fields are optional. Please leave unused fields in place so that someone else can fill them in later.

If title is not specified, it will read the name of the page.

status can be set to "Planned", "Active", "Stalled", "Unmaintained", "Discontinued", or anything else.

If your game's engine is a premade engine, such as the Retro Sonic engine, link to it, and erase the programming language, operating system, and platform parameters from your article's template call. If your game's engine was custom-created specifically for your game, write "original", and try to fill in the the programming language, operating system, and platform fields.

operating system can be, for example, "Windows XP and later", or be "Windows Vista and later", or be "BSD, Linux, Mac OS, and Microsoft Windows", or be "Unix-like", or be anything else.

Only specify platform if necessary. If a game runs on anything which runs "Java" or "Adobe Flash", say so. Do not write vague platitudes like "cross-platform" unless the game runs on a huge list of platforms and the article lists them all.

modes can be either "Single-player" or "Single-player, multiplayer".

license can be "Proprietary commercial software", "Freeware", "Freeware with source code available", "Freeware with open-source code", "Game and media are both fully open-source", or similar. Note that if the sprites are ripped from any Sega games, then the media cannot be considered open-source.