Difference between revisions of "Template:AutoArgbox"

From Game Detectives Wiki
Jump to: navigation, search
[checked revision][checked revision]
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{argbox
 
{{argbox
| float      = {{#show:{{ROOTPAGENAME}}|?argFloat|default=left}}
+
| float      = {{{float|{{#show:{{ROOTPAGENAME}}|?argFloat|default=right}}}}}
| clear      = {{#show:{{ROOTPAGENAME}}|?argClear|default=left}}
+
| clear      = {{{clear|{{#show:{{ROOTPAGENAME}}|?argClear|default=right}}}}}
| name      = {{#show:{{ROOTPAGENAME}}|?argName|default=none}}{{#ifeq:{{ROOTPAGENAME}}|{{PAGENAME}}|| - [[{{SUBPAGENAME}}]]}}
+
| name      = {{{name|{{#show:{{ROOTPAGENAME}}|?argName|default=none}} {{#ifeq:{{ROOTPAGENAME}}|{{PAGENAME}}||- [[{{PAGENAME}}|{{SUBPAGENAME}}]]}}}}}
| image      = {{#show:{{ROOTPAGENAME}}|?argImage|default=File:Example.png}}
+
| image      = {{{image|{{#show:{{ROOTPAGENAME}}|?argImage|default=File:Example.png}}}}}
| imagewidth = {{#show:{{ROOTPAGENAME}}|?argImageWidth|default=250}}
+
| imagewidth = {{{imagewidth|{{#show:{{ROOTPAGENAME}}|?argImageWidth|default=250}}}}}
| description= {{#show:{{ROOTPAGENAME}}|?argDescription|default=none}}
+
| description= {{{description|{{#show:{{ROOTPAGENAME}}|?argDescription|default=none}}}}}
| creator    = {{#show:{{ROOTPAGENAME}}|?argCreator|default=none}}
+
| creator    = {{{creator|{{#show:{{ROOTPAGENAME}}|?argCreator|default=none}}}}}
| creator2  = {{#show:{{ROOTPAGENAME}}|?argCreator2|default=}}
+
| creator2  = {{{creator2|{{#show:{{ROOTPAGENAME}}|?argCreator2|default=}}}}}
| creator3  = {{#show:{{ROOTPAGENAME}}|?argCreator3|default=}}
+
| creator3  = {{{creator3|{{#show:{{ROOTPAGENAME}}|?argCreator3|default=}}}}}
| type      = {{#show:{{ROOTPAGENAME}}|?argType|default=none}}
+
| type      = {{{type|{{#show:{{ROOTPAGENAME}}|?argType|default=none}}}}}
| status    = {{#show:{{ROOTPAGENAME}}|?argStatus|default=Completed}}
+
| status    = {{{status|{{#show:{{ROOTPAGENAME}}|?argStatus|default=Completed}}}}}
| discovered = {{#show:{{ROOTPAGENAME}}|?argDiscoverDate|default=}}
+
| discovered = {{{discovered|{{#show:{{ROOTPAGENAME}}|?argDiscoverDate|default=}}}}}
| completed  = {{#show:{{ROOTPAGENAME}}|?argCompleteDate|default=}}
+
| completed  = {{{completed|{{#show:{{ROOTPAGENAME}}|?argCompleteDate|default=}}}}}
| closed    = {{#show:{{ROOTPAGENAME}}|?argCloseDate|default=}}
+
| closed    = {{{closed|{{#show:{{ROOTPAGENAME}}|?argCloseDate|default=}}}}}
| reopened  = {{#show:{{ROOTPAGENAME}}|?argReopenDate|default=}}
+
| reopened  = {{{reopened|{{#show:{{ROOTPAGENAME}}|?argReopenDate|default=}}}}}
| timeline  = {{#show:{{ROOTPAGENAME}}|?argTimeline|default=}}
+
| timeline  = {{{timeline|{{#show:{{ROOTPAGENAME}}|?argTimeline|default=}}}}}
| halloffame = {{#show:{{ROOTPAGENAME}}|?argHallOfFame|default=false}}
+
| halloffame = {{{halloffame|{{#show:{{ROOTPAGENAME}}|?argHallOfFame|default=false}}}}}
 
}}
 
}}
 +
<noinclude>{{documentation}}</noinclude>

Latest revision as of 00:15, 7 June 2018

none
Completed
Example.png
none
Type none
Creator none
<templatestyles src="Module:Documentation/styles.css"></templatestyles>
Template documentation[view] [edit] [history] [purge]
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

See {{argbox}}.