Template:Argbox: Difference between revisions
Jump to navigation
Jump to search
m remove leading whitespace to allow articles to start higher on the page |
No edit summary |
||
| Line 28: | Line 28: | ||
{{!}}Completed | {{!}}Completed | ||
{{!}}style="text-align:center;"{{!}}{{{completed}}} | {{!}}style="text-align:center;"{{!}}{{{completed}}} | ||
{{!}}- style="background-color:#eeeeee" | |||
}} | |||
{{#if:{{{reopened|}}}| | |||
{{!}}Reopened | |||
{{!}}style="text-align:center;"{{!}}{{{reopened}}} | |||
{{!}}- style="background-color:#eeeeee" | {{!}}- style="background-color:#eeeeee" | ||
}} | }} | ||
| Line 57: | Line 62: | ||
| discovered = 1970-01-01 | | discovered = 1970-01-01 | ||
| completed = 1971-01-01 | | completed = 1971-01-01 | ||
| reopened = 1972-01-01 | |||
| timeline = [[Valve]] | | timeline = [[Valve]] | ||
}}</pre> | }}</pre> | ||
| Line 72: | Line 78: | ||
| discovered = 1970-01-01 | | discovered = 1970-01-01 | ||
| completed = 1971-01-01 | | completed = 1971-01-01 | ||
| reopened = 1972-01-01 | |||
| timeline = [[Valve]] | | timeline = [[Valve]] | ||
}} | }} | ||
| Line 158: | Line 165: | ||
| Date of the ARG completion, YYYY-MM-DD | | Date of the ARG completion, YYYY-MM-DD | ||
| | | | ||
| | |||
| Date | |||
| Optional | |||
|- | |||
| reopened | |||
| Date of the ARG reopening, YYYY-MM-DD | |||
| | |||
| | | | ||
| Date | | Date | ||
Revision as of 21:19, 28 December 2017
| 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
| reopened = 1972-01-01
| timeline = [[Valve]]
}}
Results in...
| Valve ARG | |
|---|---|
| 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 |
| 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, 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 | ||
| 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 |
