Template:Gameinfo

From Libregamewiki
Jump to navigation Jump to search

Template documentation

Usage

The Gameinfo template features many fields, all of them are optional. You generally want to write it like this:

{{Gameinfo
|field_1 = value_1
|field_2 = value_2
[...]
|field_n = value_n
}}

Where field_1 to field_n are field names and value_1 to value_n are the respective values.

List of fields

This is the list of all possible fields:

  • title: Title of the game
  • image: An image of the game, preferably a screenshot
    • Syntax: Image:Image.png
  • caption: Caption of the image
  • genre: Genre
    • Should be a link to the genre category
  • developer: Developer
  • code license: Code license
    • Provide a link to LibreGameWiki page of the license, if available
    • If the license has a version number, mention it
  • media license: Media license
    • Provide a link to LibreGameWiki page of the license, if available
    • If the license has a version number, mention it
  • engine: Game engine used by the game
    • Provide a link to the LibreGameWiki page of the engine, if available
  • latest release: Version number of the latest release, e.g. 1.0.0. If it's rolling release, write “(Rolling release)”
  • release date: Date of the latest release.
    • Syntax: <MONTH_NAME> <DAY>{{th}}, <YEAR>
      • <MONTH_NAME>: English language month name, e.g. January
      • <DAY>: Numeric day in month, e.g. 1
      • {{th}}: For days 1, 2, 3, 21, 22, 23 or 31, you must replace th with st, nd or rd, whichever is appropriate for an ordinal number
      • <YEAR>: Full release year, e.g. 1970
  • release date iso: Date of the latest release written in YYYY-MM-DD format
    • e.g. 1970-01-01
  • release announcement: URL to a webpage that announces the latest release
  • language: Programming language the game is written in
  • library: If the game uses a library, write it here
  • platform: Platform the game runs on (i.e. the operating system) (use platforms if multiple)
    • Use the following templates: {{Windows}}, {{Linux}}, {{Mac}}, {{Android}}, {{iOS}}, {{FreeBSD}}, {{OpenBSD}}, {{DragonFly BSD}}
  • link homepage: Link to the game’s homepage/website
    • e.g. https://example.org
  • link blog: Link to a blog
  • link chatweb: Link to a chat room for the webbrowser
    • e.g. https://example.org/chatroom
  • chat: Link to an IRC chatroom
    • e.g. irc://example.org/#example
  • link feed: Link to an RSS, Atom or similar feed
  • link forum: Link to a discussion forum (web)
  • link pad: Link to a pad_file.xml file (a PAD file)
  • link project: Link for development project page for developers of the game
  • link tracker: Link to a bug and/or feature tracker
  • link scmweb: Link to a web view of a source code management
  • scm: Console command to check out source code from a source code management
    • e.g. git checkout ssh://example.org

To some fields, you may append references with <ref> or add other annotations whenever it makes sense in the given context.

Plural fields

You can also replace some of the fields above with a plural variant in case a game has multiple developers, programming languages, etc. This is the list of supported plural fields:

  • genres: plural of genre
  • developers: plural of developer
  • platforms: plural of platform
  • engines: plural of engine
  • libraries: plural of library
  • languages: plural of language
  • code licenses: plural of code license
  • media licenses: plural of media license

If you use a plural, separate the each entry with a comma. For example, for languages, you could write “C++, Haskell, Lua”.

You should not use both the singular and plural variant of the same field in the template at the same time, e.g. if you use developers, you shouldn't use developer and vice-versa.


Example template

You can copy this page to create a new game page (remove the value of each field that does not apply):

{{Gameinfo
|title          = Example Game
|image          = Image:Image.png
|caption        = This is an example caption
|genre          = [[:Category:Example games|Example Genre]]
|developer      = Joe Doe
|code license   = [[Example License]] 1.0
|media license  = [[Example License]] 1.0
|engine         = [[Example Engine]]
|latest release = 1.0.0-example
|release date   = January 1{{st}}, 1970
|release date iso = 1970-01-01
|release announcement = https://example.org/announcement.html
|language       = Example Programming Language
|library        = [[Example Library]]
|platforms      = {{Example Platform 1}}, {{Example Platform 2}}
|link homepage  = https://example.org/
|link blog      = https://example.org/blog
|link chatweb   = https://example.org/webchat
|chat           = irc://example.org/#example-game
|link feed      = https://example.org/feed.rss
|link forum     = https://example.org/forum
|link pad       = https://example.org/pad_file.xml
|link project   = https://example.org/developers
|link tracker   = https://example.org/issues
|link scmweb    = https://example.org/game.git
|scm            = git checkout ssh://example.org
}}




Blank template

{{Gameinfo
|title          = 
|image          = 
|caption        = 
|genre          = 
|developer      = 
|code license   = 
|media license  = 
|engine         = 
|latest release = 
|release date   = 
|release date iso = 
|release announcement = 
|language       = 
|library        = 
|platforms      = 
|link homepage  = 
|link blog      = 
|link chatweb   = 
|chat           =
|link feed      = 
|link forum     = 
|link pad       = 
|link project   = 
|link tracker   =
|link scmweb    = 
|scm            = 
}}