Template:AutoArgbox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{argbox | {{argbox | ||
| float = {{{float|{{#show:{{ROOTPAGENAME}}|?argFloat|default= | | float = {{{float|{{#show:{{ROOTPAGENAME}}|?argFloat|default=right}}}}} | ||
| clear = {{{clear|{{#show:{{ROOTPAGENAME}}|?argClear|default= | | clear = {{{clear|{{#show:{{ROOTPAGENAME}}|?argClear|default=right}}}}} | ||
| name = {{{name|{{#show:{{ROOTPAGENAME}}|?argName|default=none}} {{#ifeq:{{ROOTPAGENAME}}|{{PAGENAME}}||- [[{{PAGENAME}}|{{SUBPAGENAME}}]]}}}}} | | name = {{{name|{{#show:{{ROOTPAGENAME}}|?argName|default=none}} {{#ifeq:{{ROOTPAGENAME}}|{{PAGENAME}}||- [[{{PAGENAME}}|{{SUBPAGENAME}}]]}}}}} | ||
| image = {{{image|{{#show:{{ROOTPAGENAME}}|?argImage|default=File:Example.png}}}}} | | image = {{{image|{{#show:{{ROOTPAGENAME}}|?argImage|default=File:Example.png}}}}} | ||
| Line 18: | Line 18: | ||
| halloffame = {{{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
| {{#show:AutoArgbox|?argName|default=none}} | |
|---|---|
| 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>
- 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}}.
