GameIntro – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Fix) |
Lou Montana (talk | contribs) m (Fix line returns) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>[[File:{{{image|MaldenFi17.jpg}}}|{{{size|250}}}px|right]]<!-- | <includeonly>[[File:{{{image|MaldenFi17.jpg}}}|{{{size|250}}}px|right]]<!-- | ||
-->{{#if: {{{game|}}} | Introduced with: {{GVI|{{{game}}}|{{{version|?}}}| | -->{{#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: {{{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> }} | ||
=== Introduction === | === Introduction === | ||
{{#if: {{{EAdate|}}} | {{#if: {{{releasedate|}}} | <!-- released --> | {{Messagebox/BI||This product is in '''Early Access'''.}}}}}} | {{#if: {{{EAdate|}}} | {{#if: {{{releasedate|}}} | <!-- released --> | {{Messagebox/BI||This product is in '''Early Access'''.}}}}}} | ||
Line 99: | Line 99: | ||
== 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'''''|'''''size'''''|'''''intro'''''|'''''feature''#'''|'''''premfeature''#'''|'''''freefeature''#'''|'''''supportfeature''#'''|'''''gallery''#'''|'''''dlcs'''''|'''''start''#'''|'''''social''#'''|'''''isDLC'''''}} | ||
* image: | * image: image displayed on the top right | ||
* game: ( | * game: (Optional, default empty) DLC introduction - see [[Template:GVI]] | ||
* version: ( | * version: (Optional, default "?") DLC introduction - see [[Template:GVI]] | ||
* EAdate: ( | * EAdate: (Optional, default empty) Early Access date, format yyyymmdd | ||
* releasedate: ( | * releasedate: (Optional, default empty) release date, format yyyymmdd | ||
* enddate: ( | * enddate: (Optional, default empty) end date, format yyyymmdd | ||
* latestversion: ( | * latestversion: (Optional, default empty) latest version, displayed as is (no "v" prefix) | ||
* size: ( | * size: (Optional, default 250) size of ''image'' in px | ||
* intro: | * intro: a short summary of what the game is about | ||
* feature'''#''': (Optional) | * feature'''#''': (Optional) a list of features (# in range 1..10) | ||
* premfeature'''#''': (Optional) | * premfeature'''#''': (Optional) a list of premium content (# in range 1..10) | ||
* freefeature'''#''': (Optional) | * freefeature'''#''': (Optional) a list of free content (# in range 1..10) | ||
* supportfeature'''#''': (Optional) | * supportfeature'''#''': (Optional) a list of supporting content (# in range 1..10) | ||
* gallery'''#''': (Optional) | * gallery'''#''': (Optional) images displayed at the bottom of the page (# in range 1..10) | ||
* trailer: (Optional) | * trailer: (Optional) id of the YouTube video to be displayed - see [[Template:Youtube]] | ||
* dlcs: (Optional) | * dlcs: (Optional) available DLCs | ||
* start'''#''': (Optional) | * start'''#''': (Optional) a list with "getting started" pages (# in range 1..7) | ||
* social'''#''': (Optional) | * social'''#''': (Optional) links to social media (# in range 1..5) | ||
* isDLC: (Optional, default n) | * isDLC: (Optional, default n) enter ''y'' if it is a DLC. This will prevent {{hl|[[:Category: Projects]]}} from being added to the page | ||
{{Feature|informative| | {{Feature|informative| | ||
Line 124: | Line 124: | ||
* The page is automatically added to ''Introduced with version xxx'' pages (if a DLC)}} | * The page is automatically added to ''Introduced with version xxx'' pages (if a DLC)}} | ||
== Example == | == Example == | ||
{| class="wikitable" | {| class="wikitable valign-top" | ||
|+ Examples | |+ Examples | ||
! Code | ! Code | ||
! style="min-width: 500px" | Result | ! style="min-width: 500px" | Result | ||
|- | |- | ||
| <syntaxhighlight lang="html+handlebars">{{GameIntro}}</syntaxhighlight> | |||
| {{GameIntro}} | | {{GameIntro}} | ||
|- | |- | ||
| <syntaxhighlight lang="handlebars"> | |||
{{GameIntro | {{GameIntro | ||
|image= arma3 zeus logo.png | |image= arma3 zeus logo.png | ||
Line 138: | Line 138: | ||
|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 {{arma3}} 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 | ||
|freefeature1= '''Free Features''' - Features that are available to everyone | |freefeature1= '''Free Features''' - Features that are available to everyone | ||
Line 154: | Line 154: | ||
|start4= [http://forums.bistudio.com/forumdisplay.php?199-ARMA-3-ZEUS-EDITING Bohemia Interactive Forums - Zeus Editing] | |start4= [http://forums.bistudio.com/forumdisplay.php?199-ARMA-3-ZEUS-EDITING Bohemia Interactive Forums - Zeus Editing] | ||
|start5= [http://www.arma3.com/dlc/zeus Official Site] | |start5= [http://www.arma3.com/dlc/zeus Official Site] | ||
|social1= [https://www.youtube.com/user/Arma3official | |social1= [https://www.youtube.com/user/Arma3official {{arma3}} on YouTube] | ||
|isDLC= y | |isDLC= y | ||
}} | }} | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|{{GameIntro | | {{GameIntro | ||
|image= arma3 zeus logo.png | |image= arma3 zeus logo.png | ||
|game= arma3 | |game= arma3 | ||
|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 {{arma3}} 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 | ||
Line 179: | Line 179: | ||
|start4= [http://forums.bistudio.com/forumdisplay.php?199-ARMA-3-ZEUS-EDITING Bohemia Interactive Forums - Zeus Editing] | |start4= [http://forums.bistudio.com/forumdisplay.php?199-ARMA-3-ZEUS-EDITING Bohemia Interactive Forums - Zeus Editing] | ||
|start5= [http://www.arma3.com/dlc/zeus Official Site] | |start5= [http://www.arma3.com/dlc/zeus Official Site] | ||
|social1= [https://www.youtube.com/user/Arma3official | |social1= [https://www.youtube.com/user/Arma3official {{arma3}} on YouTube] | ||
|isDLC= y | |isDLC= y | ||
}} | }} | ||
Line 186: | Line 186: | ||
== Template == | == Template == | ||
<spoiler text="Show template"> | <spoiler text="Show template"> | ||
<syntaxhighlight lang=" | <syntaxhighlight lang="handlebars"> | ||
{{GameIntro | {{GameIntro | ||
|image= | |image= | ||
|game= | |game= | ||
|version= | |version= | ||
|releasedate= | |EAdate= | ||
|intro= | |releasedate= | ||
|enddate= | |||
|latestversion= | |||
|intro= | |||
|feature1= | |feature1= | ||
|premfeature1= | |premfeature1= |
Latest revision as of 17:18, 7 December 2023
Usage
{{GameIntro|image|game|version|releasedate|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
- 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!
| |
Introduced with: 1.16 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
GalleryDLCsGetting Started
Social Media
|