Difference between revisions of "Template:Game"

From Disobiki
Jump to navigation Jump to search
 
(108 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:{{{started|}}}|
 
! Started
 
{{!}} {{{started}}}
 
{{!}}-
 
}}
 
{{#if:{{{ended|}}}|
 
! Ended
 
{{!}} {{{ended}}}
 
{{!}}-
 
}}
 
{{#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:{{{caption|}}}|<br />{{{caption}}}}}
 
}}
 
|}__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
| started        =
+
| download_from      = Big Fish Games
| ended          =
+
| download_url       = http://www.bigfishgames.com/download-games/4607/
| image          =  
+
}}
| image_size    =
+
</pre>
| caption       =  
 
}}</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).
 
|-
 
| '''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.).
 
|-
 
| '''image'''
 
| A relevant image for the fiction.
 
|-
 
| '''image_size'''
 
| Image width (defaults to 200px if empty).
 
|-
 
| '''caption'''
 
| Image caption, which should tell more about the image.
 
|}
 
  
 
[[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/
}}