Template:AutoArgbox: Difference between revisions

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

Latest revision as of 00:15, 7 June 2018

{{#show:AutoArgbox|?argName|default=none}}
{{#show:AutoArgbox|?argStatus|default=Completed}}
[[{{#show:AutoArgbox|?argImage|default=File:Example.png}}|{{#show:AutoArgbox|?argImageWidth|default=250}}px]]
Type [[List_of_Investigations#{{#show:AutoArgbox|?argType|default=none}}|{{#show:AutoArgbox|?argType|default=none}}]]
Creators {{#show:AutoArgbox|?argCreator|default=none}} & {{#show:AutoArgbox|?argCreator2|default=}}
Discovered {{#show:AutoArgbox|?argDiscoverDate|default=}}
Completed {{#show:AutoArgbox|?argCompleteDate|default=}}
Closed {{#show:AutoArgbox|?argCloseDate|default=}}
Reopened {{#show:AutoArgbox|?argReopenDate|default=}}
Timeline {{#show:AutoArgbox|?argTimeline|default=}}

<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
Creator {{{creator}}}
Parameters

See {{argbox}}.