Difference between revisions of "Template:AutoArgbox/doc"

From Game Detectives Wiki
Jump to: navigation, search
(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...")
(No difference)

Revision as of 00:18, 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
Example.png
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 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 Official, Unofficial, Investigation String Optional
status Status of the ARG Active, On Hold, Completed or Discontinued 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 Whether to render a link to a Hall of Fame true or emtpy Boolean Optional