GameIntro – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Fix line returns) |
Lou Montana (talk | contribs) (Add platform-specific release date) |
||
Line 2: | Line 2: | ||
-->{{#if: {{{isDLC|}}} | {{#if: {{{game|}}} | Introduced with: {{GVI|{{{game}}}|{{{version|?}}}}}{{TemplateCase||[[Category:Introduced with {{Name|{{{game|}}}}} version {{{version|}}}]]}}<br> }} }}<!-- | -->{{#if: {{{isDLC|}}} | {{#if: {{{game|}}} | Introduced with: {{GVI|{{{game}}}|{{{version|?}}}}}{{TemplateCase||[[Category:Introduced with {{Name|{{{game|}}}}} version {{{version|}}}]]}}<br> }} }}<!-- | ||
-->{{#if: {{{EAdate|}}} | Early Access: {{#time: M d, Y|{{{EAdate}}}}}<br> }}<!-- | -->{{#if: {{{EAdate|}}} | Early Access: {{#time: M d, Y|{{{EAdate}}}}}<br> }}<!-- | ||
-->{{#if: {{{releasedate|}}} | Released: {{#time: M d, Y|{{{releasedate}}}}}<br> }}<!-- | -->{{#if: {{{releasedate|}}} | ||
| Released: {{#time: M d, Y|{{{releasedate}}}}}<br> | |||
| <!-- | |||
-->{{#if: {{{releasedate-pc|}}}{{{releasedate-xbox|}}}{{{releasedate-playstation|}}} | Released:}}<!-- | |||
-->{{#if: {{{releasedate-pc|}}} | * {{#time: M d, Y|{{{releasedate-pc}}}}} on PC }}<!-- | |||
-->{{#if: {{{releasedate-xbox|}}} | * {{#time: M d, Y|{{{releasedate-xbox}}}}} on Xbox }}<!-- | |||
-->{{#if: {{{releasedate-playstation|}}} | * {{#time: M d, Y|{{{releasedate-playstation}}}}} on PlayStation }} | |||
}}<!-- | |||
-->{{#if: {{{enddate|}}} | Ended: {{#time: M d, Y|{{{enddate}}}}}<br> }}<!-- | -->{{#if: {{{enddate|}}} | Ended: {{#time: M d, Y|{{{enddate}}}}}<br> }}<!-- | ||
-->{{#if: {{{latestversion|}}} | Latest version: {{{latestversion}}}<br> }} | -->{{#if: {{{latestversion|}}} | Latest version: {{{latestversion}}}<br> }} | ||
Line 98: | Line 105: | ||
{{#ifeq: {{{isDLC|n}}} | n | {{TemplateCase||[[Category:Projects]]}}}}</includeonly><noinclude> | {{#ifeq: {{{isDLC|n}}} | n | {{TemplateCase||[[Category:Projects]]}}}}</includeonly><noinclude> | ||
== Usage == | == Usage == | ||
{{<nowiki/>GameIntro|'''''image'''''|'''''game'''''|'''''version'''''|'''''releasedate'''''|'''''size'''''|'''''intro'''''|'''''feature''#'''|'''''premfeature''#'''|'''''freefeature''#'''|'''''supportfeature''#'''|'''''gallery''#'''|'''''dlcs'''''|'''''start''#'''|'''''social''#'''|'''''isDLC'''''}} | {{<nowiki/>GameIntro|'''''image'''''|'''''game'''''|'''''version'''''|'''''releasedate/releasedate-pc/releasedate-xbox/releasedate-playstation'''''|'''''size'''''|'''''intro'''''|'''''feature''#'''|'''''premfeature''#'''|'''''freefeature''#'''|'''''supportfeature''#'''|'''''gallery''#'''|'''''dlcs'''''|'''''start''#'''|'''''social''#'''|'''''isDLC'''''}} | ||
* image: image displayed on the top right | * image: image displayed on the top right | ||
* game: (Optional, default empty) DLC introduction - see [[Template:GVI]] | * game: (Optional, default empty) DLC introduction - see [[Template:GVI]] | ||
* version: (Optional, default "?") DLC introduction - see [[Template:GVI]] | * version: (Optional, default "?") DLC introduction - see [[Template:GVI]] | ||
* EAdate: (Optional, default empty) Early Access date, format yyyymmdd | * EAdate: (Optional, default empty) Early Access date, format yyyymmdd | ||
* releasedate: (Optional, default empty) release date, format yyyymmdd | * releasedate: (Optional, default empty) release date, format yyyymmdd. If undefined, below fields can be used: | ||
** releasedate-pc: (Optional, default empty) PC release date, format yyyymmdd | |||
** releasedate-xbox: (Optional, default empty) Xbox release date, format yyyymmdd | |||
** releasedate-playstation: (Optional, default empty) PlayStation release date, format yyyymmdd | |||
* enddate: (Optional, default empty) end date, format yyyymmdd | * enddate: (Optional, default empty) end date, format yyyymmdd | ||
* latestversion: (Optional, default empty) latest version, displayed as is (no "v" prefix) | * latestversion: (Optional, default empty) latest version, displayed as is (no "v" prefix) | ||
Line 131: | Line 141: | ||
| <syntaxhighlight lang="html+handlebars">{{GameIntro}}</syntaxhighlight> | | <syntaxhighlight lang="html+handlebars">{{GameIntro}}</syntaxhighlight> | ||
| {{GameIntro}} | | {{GameIntro}} | ||
|- | |||
| <syntaxhighlight lang="html+handlebars"> | |||
{{GameIntro | |||
|releasedate= 2001-06-22 | |||
|releasedate-xbox= 2005-11-08 | |||
}} | |||
</syntaxhighlight> | |||
| {{GameIntro | |||
|releasedate= 2001-06-22 | |||
|releasedate-xbox= 2005-11-08 | |||
}} | |||
|- | |||
| <syntaxhighlight lang="html+handlebars"> | |||
{{GameIntro | |||
|releasedate-pc= 2001-06-22 | |||
|releasedate-xbox= 2005-11-08 | |||
}} | |||
</syntaxhighlight> | |||
| {{GameIntro | |||
|releasedate-pc= 2001-06-22 | |||
|releasedate-xbox= 2005-11-08 | |||
}} | |||
|- | |- | ||
| <syntaxhighlight lang="handlebars"> | | <syntaxhighlight lang="handlebars"> | ||
Line 138: | Line 170: | ||
|version= 1.16 | |version= 1.16 | ||
|releasedate= 2014-02-13 | |releasedate= 2014-02-13 | ||
|intro= Zeus is a Free DLC for | |intro= Zeus is a Free DLC for Arma 3 that was announced on 13th February 2014 and is available since 10th April 2014. [...] | ||
|feature1= '''Basic Features''' - Some basic features. (Leave empty if Premium Content, Free Content and Supporting Content are used) | |feature1= '''Basic Features''' - Some basic features. (Leave empty if Premium Content, Free Content and Supporting Content are used) | ||
|premfeature1= '''Premium Features''' - Features that are only available if one owns the DLC | |premfeature1= '''Premium Features''' - Features that are only available if one owns the DLC |
Latest revision as of 15:54, 20 December 2024
Usage
{{GameIntro|image|game|version|releasedate/releasedate-pc/releasedate-xbox/releasedate-playstation|size|intro|feature#|premfeature#|freefeature#|supportfeature#|gallery#|dlcs|start#|social#|isDLC}}
- image: image displayed on the top right
- game: (Optional, default empty) DLC introduction - see Template:GVI
- version: (Optional, default "?") DLC introduction - see Template:GVI
- EAdate: (Optional, default empty) Early Access date, format yyyymmdd
- releasedate: (Optional, default empty) release date, format yyyymmdd. If undefined, below fields can be used:
- releasedate-pc: (Optional, default empty) PC release date, format yyyymmdd
- releasedate-xbox: (Optional, default empty) Xbox release date, format yyyymmdd
- releasedate-playstation: (Optional, default empty) PlayStation release date, format yyyymmdd
- enddate: (Optional, default empty) end date, format yyyymmdd
- latestversion: (Optional, default empty) latest version, displayed as is (no "v" prefix)
- size: (Optional, default 250) size of image in px
- intro: a short summary of what the game is about
- feature#: (Optional) a list of features (# in range 1..10)
- premfeature#: (Optional) a list of premium content (# in range 1..10)
- freefeature#: (Optional) a list of free content (# in range 1..10)
- supportfeature#: (Optional) a list of supporting content (# in range 1..10)
- gallery#: (Optional) images displayed at the bottom of the page (# in range 1..10)
- trailer: (Optional) id of the YouTube video to be displayed - see Template:Youtube
- dlcs: (Optional) available DLCs
- start#: (Optional) a list with "getting started" pages (# in range 1..7)
- social#: (Optional) links to social media (# in range 1..5)
- isDLC: (Optional, default n) enter y if it is a DLC. This will prevent Category: Projects from being added to the page
Example
Code | Result |
---|---|
IntroductionPlease add some introductory text!
| |
Released: Jun 22, 2001IntroductionPlease add some introductory text!
| |
Released:
IntroductionPlease add some introductory text!
| |
Introduced with: ![]() Released: Feb 13, 2014 IntroductionZeus is a Free DLC for Arma 3 that was announced on 13th February 2014 and is available since 10th April 2014. [...] Features
Premium Content
Free Content
Supporting Content
GalleryDLCs![]() ![]() Trailer Getting Started
Social Media
|