Difference between revisions of "Template:Game"

From Disobiki
Jump to navigation Jump to search
 
(106 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>{| class="infobox" style="font-size:90%; text-align:left; width:20em;" cellspacing="2"
+
<includeonly><div class="infobox game horizontal">[[File:Help.png|link=Template:Game#Usage|right]] '''Release date:''' {{{released|}}} &nbsp;&nbsp;&nbsp; Download from [{{{download_url|}}} {{{download_from|}}}]</div>[[Category:All games and puzzles]]{{AutoDEFAULTSORT}}</includeonly><noinclude>
! class="summary" style="font-size:110%; text-align:center;" colspan="2" | ''{{{name|{{PAGENAME}}}}}''
+
Use this template to summarize information about a game.
{{#if:{{{image|}}}|
 
! style="font-size:85%; line-height:1.25em; text-align:center;" colspan="2" {{!}} [[Image:{{{image}}}|{{#if:{{{image_size|}}}|{{{image_size}}}px|200px}}|{{#if:{{{image_link|}}}|link={{{image_link}}}}}|]] {{#if:{{{image_caption|}}}|<br />{{{image_caption}}}}}
 
}}
 
|-
 
{{#if:{{{started|}}}|
 
! Started
 
{{!}} {{{started}}}
 
{{!}}-
 
}}
 
{{#if:{{{ended|}}}|
 
! Ended
 
{{!}} {{{ended}}}
 
{{!}}-
 
}}
 
|}__NOTOC__</includeonly><noinclude>
 
Use this template to summarize information about a game or treasure hunt.
 
  
 
==Usage==
 
==Usage==
Line 22: Line 6:
 
<pre>
 
<pre>
 
{{Game
 
{{Game
| name          =
+
| released            = 2010-04-07
| image          =
+
| download_from      = Big Fish Games
| image_size    =  
+
| download_url       = http://www.bigfishgames.com/download-games/4607/
| image_caption  =  
+
}}
| started       =
+
</pre>
| ended          =
 
}}</pre>
 
 
 
==Parameters==
 
Note: * denotes required fields.<br />
 
 
 
{| class="wikitable"
 
! style="text-align: left" | Parameter
 
! style="text-align: left" | Explanation
 
|-
 
| '''name''' *
 
| The full common name of the game. (defaults to <nowiki>{{PAGENAME}}</nowiki> if empty).
 
|-
 
| '''image'''
 
| A relevant image for the fiction.
 
|-
 
| '''image_size'''
 
| Image width (defaults to 200px if empty).
 
|-
 
| '''image_caption'''
 
| Image caption, which should tell more about the image.
 
|-
 
| '''started'''
 
| Specify the game's start date as YYYY-MM-DD (for ARGs, treasure hunts, etc.).
 
|-
 
| '''ended'''
 
| Specify the game's end date as YYYY-MM-DD (for ARGs, treasure hunts, etc.).
 
|}
 
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 09:22, 16 October 2013

Use this template to summarize information about a game.

Usage

{{Game
| released            = 2010-04-07
| download_from       = Big Fish Games
| download_url        = http://www.bigfishgames.com/download-games/4607/
}}