Difference between revisions of "Template:Argbox"
From Game Detectives Wiki
[unchecked revision] | [unchecked revision] |
Imnotgoats (talk | contribs) |
(Adding a parameter for a generated link to a Hall of Fame subpage. Rewriting/fixing the parameters table) |
||
Line 33: | Line 33: | ||
{{!}}Timeline | {{!}}Timeline | ||
{{!}}style="text-align:center;"{{!}}{{{timeline}}} | {{!}}style="text-align:center;"{{!}}{{{timeline}}} | ||
+ | {{!}}- style="background-color:#eeeeee" | ||
+ | }} | ||
+ | {{#ifeq:{{{halloffame|}}}|true| | ||
+ | {{!}}Hall of Fame | ||
+ | {{!}}style="text-align:center;"{{!}}[[{{FULLPAGENAME}}/Hall of Fame]] | ||
{{!}}- style="background-color:#eeeeee" | {{!}}- style="background-color:#eeeeee" | ||
}} | }} | ||
Line 97: | Line 102: | ||
|- | |- | ||
| name | | name | ||
− | | | + | | The name of the ARG infobox |
| Title of the current page | | Title of the current page | ||
| | | | ||
Line 104: | Line 109: | ||
|- | |- | ||
| image | | image | ||
− | | | + | | The thumb of the ARG infobox |
|<code>Image:Example.png</code> | |<code>Image:Example.png</code> | ||
| any valid link from local source or external | | any valid link from local source or external | ||
Line 111: | Line 116: | ||
|- | |- | ||
| imagewidth | | imagewidth | ||
− | | | + | | Width of the thumb image of the ARG info box |
|<code>250</code> | |<code>250</code> | ||
|any valid integer | |any valid integer | ||
Line 118: | Line 123: | ||
|- | |- | ||
| description | | description | ||
− | | | + | | Short description of the ARG |
| | | | ||
| | | | ||
Line 125: | Line 130: | ||
|- | |- | ||
| creator | | creator | ||
− | | | + | | Creator of the ARG |
| | | | ||
| | | | ||
Line 132: | Line 137: | ||
|- | |- | ||
| type | | type | ||
− | | | + | | The type of the ARG |
− | |||
| | | | ||
+ | | <code>Official</code>, <code>Independent</code>, <code>Community</code> | ||
| String | | String | ||
| Optional | | Optional | ||
|- | |- | ||
| status | | status | ||
− | | | + | | Status of the ARG |
| | | | ||
− | | <code> | + | | <code>Active</code>, <code>On Hold</code>, <code>Completed</code> or <code>Abandoned</code> |
| String | | String | ||
| Optional | | Optional | ||
|- | |- | ||
| discovered | | discovered | ||
− | | | + | | Date of the ARG discovery, [[:Meta:Style Guide#Date Formats|YYYY-MM-DD]] |
| | | | ||
| | | | ||
Line 153: | Line 158: | ||
|- | |- | ||
| completed | | completed | ||
− | | | + | | Date of the ARG completion |
| | | | ||
| | | | ||
Line 160: | Line 165: | ||
|- | |- | ||
| timeline | | timeline | ||
− | | timeline of the | + | | Wikilink to the timeline article of the ARG |
| | | | ||
| | | | ||
− | | | + | | String |
+ | | Optional | ||
+ | |- | ||
+ | | halloffame | ||
+ | | Wether to render a link to a Hall of Fame | ||
+ | | | ||
+ | | <code>true</code> or emtpy | ||
+ | | Boolean | ||
| Optional | | Optional | ||
|} | |} | ||
</noinclude> | </noinclude> |
Revision as of 15:54, 2 December 2016
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 = 01-01-1970 | completed = 01-01-1971 | timeline = [[Valve]] }}
Results in...
Valve ARG | |
---|---|
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 | 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 | 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 |