Difference between revisions of "Template:Argbox"

From Game Detectives Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
Line 17: Line 17:
 
{{#if:{{{status|}}}|
 
{{#if:{{{status|}}}|
 
{{!}}Status
 
{{!}}Status
{{!}}{{#switch:{{{status}}}|Completed=style="text-align:center; background-color: #aaffaa"|On Going=style="text-align:center; background-color: #5ac3ec"|Abandoned=style="text-align:center; background-color: #fb5757"|On Hold=style="text-align:center; background-color: #F37338"|style="text-align:center;"}}{{!}}{{{status}}}
+
{{!}}{{#switch:{{{status}}}|Completed=style="text-align:center; background-color: #aaffaa"|Active=style="text-align:center; background-color: #5ac3ec"|Abandoned=style="text-align:center; background-color: #fb5757"|On Hold=style="text-align:center; background-color: #F37338"|style="text-align:center;"}}{{!}}{{{status}}}
 
{{!}}- style="background-color:#eeeeee"
 
{{!}}- style="background-color:#eeeeee"
 
}}
 
}}

Revision as of 00:24, 21 June 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
| creator    = Valve
| status     = Completed
| type       = official ARG
| discovered = 01-01-1970
| completed  = 01-01-1971
| timeline   = [[Valve]]
}}

Results in...

Valve ARG
Completed on 01-01-1971
Example.png
Type official ARG
Creator Valve
Discovered 01-01-1970
Completed 01-01-1971
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
creator creator of the arg String Optional
type the type of the arg String Optional
status status of the arg On Going, On Hold, Completed or Abandoned String Optional
discovered time of the arg discovery Date Optional
completed time of the arg completion Date Optional
timeline timeline of the arg Reference Optional