Difference between revisions of "Template:Argbox"

From Game Detectives Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(Added description lol)
Line 3: Line 3:
 
[[{{{image|Image:Example.png}}}|{{{imagewidth|250}}}px]]<br/>''{{{caption| }}}''
 
[[{{{image|Image:Example.png}}}|{{{imagewidth|250}}}px]]<br/>''{{{caption| }}}''
 
|-  
 
|-  
|style="font-size:10px; text-align:center; background-color:#eeeeee" colspan="2"|
+
|style="font-size:10px; text-align:center; background-color:#eeeeee" colspan="2"|{{#if:{{{description|}}}|''{{{description}}}''}}
 
|-
 
|-
 
{{#if:{{{creator|}}}|
 
{{#if:{{{creator|}}}|
Line 44: Line 44:
 
;Sample output
 
;Sample output
 
<pre>{{argbox
 
<pre>{{argbox
| float     = left
+
| float       = left
| name       = Valve ARG
+
| name       = Valve ARG
| image     = File:Example.png
+
| image       = File:Example.png
| imagewidth = 150
+
| imagewidth = 150
| creator   = Valve
+
| description = This it the description of an arg, I somehow forgot about it
| status     = Completed
+
| creator     = Valve
| type       = official ARG
+
| status     = Completed
| discovered = 01-01-1970
+
| type       = official ARG
| completed = 01-01-1971
+
| discovered = 01-01-1970
| timeline   = [[Valve]]
+
| completed   = 01-01-1971
 +
| timeline   = [[Valve]]
 
}}</pre>
 
}}</pre>
  
 
Results in...
 
Results in...
 
{{argbox
 
{{argbox
| float     = left
+
| float       = left
| name       = Valve ARG
+
| name       = Valve ARG
| image     = File:Example.png
+
| image       = File:Example.png
| imagewidth = 150
+
| imagewidth = 150
| creator   = [[Valve]]
+
| description = This it the description of an arg, I somehow forgot about it
| status     = Completed
+
| creator     = [[Valve]]
| type       = official ARG
+
| status     = Completed
| discovered = 01-01-1970
+
| type       = official ARG
| completed = 01-01-1971
+
| discovered = 01-01-1970
| timeline   = [[Valve]]
+
| completed   = 01-01-1971
 +
| timeline   = [[Valve]]
 
}}
 
}}
 
{{clear}}
 
{{clear}}
Line 113: Line 115:
 
|any valid integer
 
|any valid integer
 
| Int
 
| Int
 +
| Optional
 +
|-
 +
| description
 +
| short description of the arg
 +
|
 +
|
 +
| String
 
| Optional
 
| Optional
 
|-
 
|-

Revision as of 08:38, 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
| description = This it the description of an arg, I somehow forgot about it
| 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
This it the description of an arg, I somehow forgot about it
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
description short description of the arg String 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