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>{| class="infobox" style="font-size:90%; text-align:left; width:20em;" cellspacing="2"
 
! class="summary" style="font-size:110%; text-align:center;" colspan="2" | ''{{{name|{{PAGENAME}}}}}''
 
! class="summary" style="font-size:110%; text-align:center;" colspan="2" | ''{{{name|{{PAGENAME}}}}}''
 +
{{#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|}}}|
 
{{#if:{{{started|}}}|
Line 11: Line 14:
 
{{!}} {{{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>
 
|}__NOTOC__</includeonly><noinclude>
Line 27: Line 27:
 
| image          =  
 
| image          =  
 
| image_size    =  
 
| image_size    =  
| caption        =  
+
| image_caption  =  
 
}}</pre>
 
}}</pre>
  
Line 52: Line 52:
 
| Image width (defaults to 200px if empty).
 
| Image width (defaults to 200px if empty).
 
|-
 
|-
| '''caption'''
+
| '''image_caption'''
 
| Image caption, which should tell more about the image.
 
| Image caption, which should tell more about the image.
 
|}
 
|}

Revision as of 20:00, 19 April 2010

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

Usage

{{Game
| name           = 
| started        =
| ended          =
| image          = 
| image_size     = 
| image_caption  = 
}}

Parameters

Note: * denotes required fields.

Parameter Explanation
name * The full common name of the game. (defaults to {{PAGENAME}} 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).
image_caption Image caption, which should tell more about the image.