Difference between revisions of "Template:Argbox"
From Game Detectives Wiki
[unchecked revision] | [unchecked revision] |
m |
m (Reverted edits by Artemisbot (talk) to last revision by Crash) |
||
Line 1: | Line 1: | ||
{| class="wikitable" style="float:{{{float|right}}}; clear:{{{clear|right}}};" width="22.5%" | {| class="wikitable" style="float:{{{float|right}}}; clear:{{{clear|right}}};" width="22.5%" | ||
!colspan="2"|{{{name|{{PAGENAME}}}}} | !colspan="2"|{{{name|{{PAGENAME}}}}} | ||
− | [[ | + | [[{{#setmainimage:{{{image|Image:Example.png}}}}}|{{{imagewidth|250}}}px]]<br/>''{{{caption| }}}'' |
|- | |- | ||
|style="font-size:10px; text-align:center; background-color:#eeeeee" colspan="2"|{{#if:{{{description|}}}|''{{{description}}}''}} | |style="font-size:10px; text-align:center; background-color:#eeeeee" colspan="2"|{{#if:{{{description|}}}|''{{{description}}}''}} | ||
Line 59: | Line 59: | ||
| float = left | | float = left | ||
| name = Valve ARG | | name = Valve ARG | ||
− | | image = Example.png | + | | image = File:Example.png |
| imagewidth = 150 | | imagewidth = 150 | ||
| description = This it the description of an arg, I somehow forgot about it | | description = This it the description of an arg, I somehow forgot about it | ||
Line 76: | Line 76: | ||
| float = left | | float = left | ||
| name = Valve ARG | | name = Valve ARG | ||
− | | image = Example.png | + | | image = File:Example.png |
| imagewidth = 150 | | imagewidth = 150 | ||
| description = This it the description of an arg, I somehow forgot about it | | description = This it the description of an arg, I somehow forgot about it |
Revision as of 18:31, 22 February 2018
Argbox | |
---|---|
- 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 | closed = 1971-01-01 | reopened = 1972-01-01 | timeline = [[Valve]] }}
Results in...
Valve ARG | |
---|---|
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 |
Closed | 1971-01-01 |
Reopened | 1972-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
|
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 | ||
closed | Date of the ARG closing, YYYY-MM-DD (to be used ONLY in conjunction with reopened) | Date | Optional | ||
reopened | Date of the ARG reopening, 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 |