Difference between revisions of "Template:Argbox"

From Game Detectives Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
m
m
Line 37: Line 37:
 
{{#ifeq:{{{halloffame|}}}|true|
 
{{#ifeq:{{{halloffame|}}}|true|
 
{{!}}Hall of Fame
 
{{!}}Hall of Fame
{{!}}style="text-align:center;"{{!}}[[{{FULLPAGENAME}}/Hall of Fame]]
+
{{!}}style="text-align:center;"{{!}}[[{{FULLPAGENAME}}/Hall of Fame|Hall of Fame]]
 
{{!}}- style="background-color:#eeeeee"
 
{{!}}- style="background-color:#eeeeee"
 
}}
 
}}

Revision as of 15:58, 2 December 2016

Argbox

Example.png


Description
This template is used to create an arg infobox.
Syntax
Type {{argbox}} somewhere, with parameters as shown below.
Sample output
{{argbox
| float       = left
| name        = Valve ARG
| image       = File:Example.png
| imagewidth  = 150
| description = This it the description of an arg, I somehow forgot about it
| creator     = Valve
| type        = Official ARG
| status      = Completed
| discovered  = 1970-01-01
| completed   = 1971-01-01
| timeline    = [[Valve]]
}}

Results in...

Valve ARG
Completed on 1971-01-01
Example.png
This it the description of an arg, I somehow forgot about it
Type official ARG
Creator Valve
Discovered 1970-01-01
Completed 1971-01-01
Timeline Valve

Parameters

Parameter Description Default Accepted Values Type Status
float box is aligned to the the left or the right. right left or right String Optional
clear content is delayed until just the right or left column is complete. right left or right String Optional
name The name of the ARG infobox Title of the current page String Optional
image The thumb of the ARG infobox Image:Example.png any valid link from local source or external String Optional
imagewidth Width of the thumb image of the ARG info box 250 any valid integer Int Optional
description Short description of the ARG String Optional
creator Creator of the ARG String Optional
type The type of the ARG Official, Independent, Community String Optional
status Status of the ARG Active, On Hold, Completed or Abandoned String Optional
discovered Date of the ARG discovery, YYYY-MM-DD Date Optional
completed Date of the ARG completion, YYYY-MM-DD Date Optional
timeline Wikilink to the timeline article of the ARG String Optional
halloffame Wether to render a link to a Hall of Fame true or emtpy Boolean Optional