The Basics Wiki
No edit summary
 
No edit summary
 
Line 1: Line 1:
  +
<includeonly><div style="background-color: #fefefe; border-collapse: collapse; border-color: #d6d6d6; border-radius: 3px; border-style: solid; border-left-width: 8px; border-bottom-width: 1px; border-right-width: 1px; border-top-width: 1px; color: #333; display: flex; margin: 0 auto 5px auto; min-height: 32px; padding: 0.25em 0.5em; {{{style|}}}" class="plainlinks {{{class|}}}">
== Description ==
 
  +
{{#if:{{{image|}}} | <span style="padding: 2px 0px 2px 0.5em; text-align: center; width: 60px;">[[File:{{{image}}}{{!}}48px{!}}alt{{=}}]]</span>}}
To use this template, add the {{T|{{BASEPAGENAME}}}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobox template uses [[w:Help:Infobox|Fandom's infobox syntax]].
 
  +
{{{text|''Your license text is not specified''}}}
 
  +
</div></includeonly><noinclude>
== Syntax ==
 
  +
{{documentation}}</noinclude>
<pre>{{Game
 
| title = The game's name, displayed on top of the infobox
 
| image = [e.g. "Example.jpg"]
 
| developer =
 
| publisher =
 
| engine = The engine the game runs on
 
| version = Most recently released version of the game. If your wiki does patch notes, you may wish to link to those.
 
| platform = Platform(s) the game is available on
 
| releasedate = When the game released
 
| genre = Genre(s) the game is classified as
 
| mode = Singeplayer, multiplayer, etc.
 
| rating = ESRB / PEGI, etc. ratings
 
| media = What media the game is available on (digital, cartridge, cd, etc.)
 
| requirements = System requirements
 
}}</pre>
 
 
== Sample output ==
 
{{Game
 
| title = The Game of Flower
 
| image = Example.jpg
 
| developer =
 
| publisher =
 
| engine =
 
| version =
 
| platform = PC
 
| releasedate = Soon
 
| genre = RPG
 
| mode = Single player
 
| rating =
 
| media =
 
| requirements = Cutting edge hardware
 
}}
 
<pre>{{Game
 
| title = The Game of Flower
 
| image = Example.jpg
 
| developer =
 
| publisher =
 
| engine =
 
| version =
 
| platform = PC
 
| releasedate = Soon
 
| genre = RPG
 
| mode = Single player
 
| rating =
 
| media =
 
| requirements = Cutting edge hardware
 
}}
 
</pre><includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
 

Latest revision as of 02:25, 4 January 2021

Description
This template is used to create the box used by the various image license templates. The default styling is currently geared to a light-themed wiki. If your wiki has a dark theme and this template is too bright relative to the other elements on your wiki, simply change the following style parameters:
background-color: This is the color of the background and is currently set to: #fefefe
border-color: This is the color of the borders and is currently set to: #d6d6d6
color: This is the color of the text and is currently set to: #333
Syntax
Type {{LicenseBox|<text=License text>}} on the image information page.