Template:AutoArgbox/doc: Difference between revisions

From Game Detectives Wiki
Jump to navigation Jump to search
Mattyb (talk | contribs)
Created page with "<noinclude>{{Documentation subpage}} {{high-risk}}</noinclude> ;Description This is the {{t|autoArgbox|...}} or '''Automatic ARG infobox'' meta-template. This template is use..."
 
Mattyb (talk | contribs)
No edit summary
Line 22: Line 22:


;Parameters
;Parameters
{| class="wikitable"
See {{t|argbox}}.
! Parameter
! Description
! Default
! Accepted Values
! Type
! Status
|-
| float
| box is aligned to the the left or the right.
|<code>right</code>
|<code>left</code> or <code>right</code>
| String
| Optional
|-
| clear
| content is delayed until just the right or left column is complete.
|<code>right</code>
|<code>left</code> or <code>right</code>
| String
| Optional
|-
| name
| The name of the ARG infobox
| Title of the current page
|
| String
| Optional
|-
| image
| The thumb of the ARG infobox
|<code>Image:Example.png</code>
| any valid link from local source or external
| String
| Optional
|-
| imagewidth
| Width of the thumb image of the ARG info box
|<code>250</code>
|any valid integer
| Int
| Optional
|-
| description
| Short description of the ARG
|
|
| String
| Optional
|-
| creator
| A creator of the ARG
|
|
| String
| Optional
|-
| creator2
| A second creator of the ARG
|
|
| String
| Optional
|-
| creator3
| A third creator of the ARG
|
|
| String
| Optional
|-
| type
| The type of the ARG
|
| <code>Official</code>, <code>Unofficial</code>, <code>Investigation</code>
| String
| Optional
|-
| status
| Status of the ARG
|
| <code>Active</code>, <code>On Hold</code>, <code>Completed</code> or <code>Discontinued</code>
| String
| Optional
|-
| discovered
| Date of the ARG discovery, [[:Meta:Style Guide#Date Formats|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
| Whether to render a link to a Hall of Fame
|
| <code>true</code> or emtpy
| Boolean
| Optional
|}

Revision as of 00:19, 7 June 2018

Description

This is the {{autoArgbox}} or 'Automatic ARG infobox meta-template. This template is used to automatically create an ARG infobox on a given subpage using data from the parent page's {{argbox}}.

Syntax

Type {{autoArgbox}} somewhere, with optional parameters as shown below. Any parameters manually defined will override those pulled from data.

Sample output
{{autoArgbox
| float       = left
| name        = Valve ARG
| image       = File:Example.png
}}

Results in...

Valve ARG
Creator {{{creator}}}

Parameters

See {{argbox}}.