Difference between revisions of "Template:Game"

From Disobiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>{| class="infobox" style="font-size:90%; text-align:left; width:20em;" cellspacing="2"
+
<includeonly><div class="infobox game">
! class="summary" style="font-size:110%; text-align:center;" colspan="2" | ''{{{name|{{PAGENAME}}}}}''
+
[[File:Help.png|link=Template:Game#Usage|right]]
{{#if:{{{image|}}}|
+
<div class="title">{{{Title|{{PAGENAME}}}}}</div>
{{!}}-
+
{{#if:{{{image|}}}|[[File:{{{image}}}{{#if:{{{image_size|}}}|{{!}}{{{image_size}}}px|{{!}}235px}}{{#if:{{{image_link|}}}|{{!}}link={{{image_link}}}}}|center]]{{#if:{{{image_caption|}}}|<br />{{{image_caption}}}}}}}
! style="font-size:85%; line-height:1.25em; text-align:center;" colspan="2" {{!}} [[File:{{{image}}}{{#if:{{{image_size|}}}|{{!}}{{{image_size}}}px|{{!}}200px}}{{#if:{{{image_link|}}}|{{!}}link={{{image_link}}}}}]] {{#if:{{{image_caption|}}}|<br />{{{image_caption}}}}}
+
{|
}}
 
 
|-
 
|-
 
{{#if:{{{started|}}}|
 
{{#if:{{{started|}}}|
Line 16: Line 15:
 
{{!}}-
 
{{!}}-
 
}}
 
}}
|}__NOTOC__</includeonly><noinclude>
+
|}</div>__NOTOC__</includeonly><noinclude>
 
Use this template to summarize information about a game or treasure hunt.
 
Use this template to summarize information about a game or treasure hunt.
  
Line 32: Line 31:
 
}}</pre>
 
}}</pre>
  
==Parameters==
+
<pre>
Note: * denotes required fields.<br />
+
{{Game
 
+
| image          = The Clock Without a Face Cover.jpg
{| class="wikitable"
+
| started        = 2010-04-07
! style="text-align: left" | Parameter
+
| ended          = ''Ongoing''
! style="text-align: left" | Explanation
+
}}
|-  
+
</pre>
| '''name''' *
 
| The full common name of the game. (defaults to <nowiki>{{PAGENAME}}</nowiki> if empty).
 
|-
 
| '''image'''
 
| A relevant image for the fiction.
 
|-
 
| '''image_link'''
 
| A URL to visit instead of the full-size image itself.
 
|-
 
| '''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>

Revision as of 14:13, 20 April 2010

Use this template to summarize information about a game or treasure hunt.

Usage

{{Game
| name           = 
| image          = 
| image_link     =
| image_size     = 
| image_caption  = 
| started        =
| ended          =
}}
{{Game
| image          = The Clock Without a Face Cover.jpg
| started        = 2010-04-07
| ended          = ''Ongoing''
}}