GameIntro – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
m (fixed trailer)
m (added example)
Line 83: Line 83:
== Usage ==
== Usage ==
{{Wiki|todo|
{{Wiki|todo|
* Update template so it has an extra parameter for introduced with e.g. GVI Template
* Add support for premium content
* Add support for premium content
* Add support for supporting content
* Add support for supporting content
* Add support for free platform updates or free content
* Add support for free platform updates or free content}}
* Add trailer param?}}
{{<nowiki/>GameIntro|'''''image'''''|'''''game'''''|'''''version'''''|'''''size'''''|'''''intro'''''|'''''feature''#'''|'''''gallery''#'''|'''''dlc''#'''|'''''start''#'''|'''''social''#'''|'''''isDLC'''''}}
{{<nowiki/>GameIntro|'''''image'''''|'''''size'''''|'''''intro'''''|'''''feature''#'''|'''''gallery''#'''|'''''dlc''#'''|'''''start''#'''|'''''social''#'''|'''''isDLC'''''}}
* image: Image displayed on the top right
* image: Image displayed on the top right
* game: (optional) Needs to be defined if '''''isDLC''''' is set. See [[Template:GVI]]
* version: (optional)  Needs to be defined if '''''isDLC''''' is set. See [[Template:GVI]]
* size: (optional, default 250) Size of ''image'' in px
* size: (optional, default 250) Size of ''image'' in px
* intro: A short summary of what the game is about
* intro: A short summary of what the game is about
* feature'''#''': (Optional) A list of features (# in range 1..20)
* feature'''#''': (Optional) A list of features (# in range 1..20)
* gallery'''#''': (Optional) Images displayed at the bottom of the page (# in range 1..4)
* gallery'''#''': (Optional) Images displayed at the bottom of the page (# in range 1..4)
* trailer: (Optional) Displays a YouTube video. See [[Template:Youtube]]
* dlc'''#''': (Optional) Available DLCs (# in range 1..13)
* dlc'''#''': (Optional) Available DLCs (# in range 1..13)
* start'''#''': (Optional) A list with "getting started" pages (# in range 1..7)
* start'''#''': (Optional) A list with "getting started" pages (# in range 1..7)
Line 99: Line 100:
* isDLC: (Optional, default n) Enter ''y'' if it is a DLC. This will prevent <tt>[[:Category: Projects]]</tt> from being added to the page
* isDLC: (Optional, default n) Enter ''y'' if it is a DLC. This will prevent <tt>[[:Category: Projects]]</tt> from being added to the page


{{Feature | Informative | The template will automatically remove TOC and section edit links. Additionally, the page is automatically added to the [[:Category:Projects|Projects]] category (if not a DLC).}}
{{Feature | Informative |The template will automatically remove TOC and section edit links. Additionally, the page is automatically added to the [[:Category:Projects|Projects]] category (if not a DLC).}}
== Example ==
{| class="wikitable"
|+ Examples
! Code
! style="min-width: 500px" | Result
|-
| <pre>{{GameIntro
|image = arma3 zeus logo.png
|game= arma3
|version= 1.16
|intro = Zeus is a Free DLC for {{arma3}} that was announced on 13th February 2014 and is available since 10th April 2014. [...]
|gallery1 = arma3 dlc zeus screenshot 1.jpg
|gallery2 = arma3 dlc zeus screenshot 2.jpg
|gallery3 = arma3 dlc zeus screenshot 3.jpg
|gallery4 = arma3 dlc zeus screenshot 4.jpg
|start1 = [[Arma 3 Field Manual - Zeus|Field Manual]]
|start2 = [[Curator|Zeus Editing]]
|start3 = [http://forums.bistudio.com/forumdisplay.php?198-ARMA-3-ZEUS Bohemia Interactive Forums - Zeus]
|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]
|isDLC = y
|trailer= 5JiXznUyldM
}}</pre>
| {{GameIntro
|image = arma3 zeus logo.png
|game= arma3
|version= 1.16
|intro = Zeus is a Free DLC for {{arma3}} that was announced on 13th February 2014 and is available since 10th April 2014. [...]
|gallery1 = arma3 dlc zeus screenshot 1.jpg
|gallery2 = arma3 dlc zeus screenshot 2.jpg
|gallery3 = arma3 dlc zeus screenshot 3.jpg
|gallery4 = arma3 dlc zeus screenshot 4.jpg
|start1 = [[Arma 3 Field Manual - Zeus|Field Manual]]
|start2 = [[Curator|Zeus Editing]]
|start3 = [http://forums.bistudio.com/forumdisplay.php?198-ARMA-3-ZEUS Bohemia Interactive Forums - Zeus]
|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]
|isDLC = y
|trailer= 5JiXznUyldM
}}
|}
 


== Template ==
== Template ==

Revision as of 12:58, 16 February 2021

Usage

🚧
TODO:
  • Add support for premium content
  • Add support for supporting content
  • Add support for free platform updates or free content

{{GameIntro|image|game|version|size|intro|feature#|gallery#|dlc#|start#|social#|isDLC}}

  • image: Image displayed on the top right
  • game: (optional) Needs to be defined if isDLC is set. See Template:GVI
  • version: (optional) Needs to be defined if isDLC is set. See Template:GVI
  • 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..20)
  • gallery#: (Optional) Images displayed at the bottom of the page (# in range 1..4)
  • trailer: (Optional) Displays a YouTube video. See Template:Youtube
  • dlc#: (Optional) Available DLCs (# in range 1..13)
  • 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
The template will automatically remove TOC and section edit links. Additionally, the page is automatically added to the Projects category (if not a DLC).

Example

Examples
Code Result
{{GameIntro
|image = arma3 zeus logo.png
|game= arma3
|version= 1.16
|intro = Zeus is a Free DLC for {{arma3}} that was announced on 13th February 2014 and is available since 10th April 2014. [...]
|gallery1 = arma3 dlc zeus screenshot 1.jpg
|gallery2 = arma3 dlc zeus screenshot 2.jpg
|gallery3 = arma3 dlc zeus screenshot 3.jpg
|gallery4 = arma3 dlc zeus screenshot 4.jpg
|start1 = [[Arma 3 Field Manual - Zeus|Field Manual]]
|start2 = [[Curator|Zeus Editing]]
|start3 = [http://forums.bistudio.com/forumdisplay.php?198-ARMA-3-ZEUS Bohemia Interactive Forums - Zeus]
|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]
|isDLC = y
|trailer= 5JiXznUyldM
}}
arma3 zeus logo.png

Introduction

Introduced with: Arma 3 logo black.png1.16
Zeus is a Free DLC for Arma 3 that was announced on 13th February 2014 and is available since 10th April 2014. [...]



Gallery



Trailer

Getting Started





Template

{{GameIntro
|image = 
|intro = 
|feature1 = 
|feature2 = 
|feature3 = 
|feature4 = 
|feature5 = 
|feature6 = 
|feature7 = 
|feature8 = 
|feature9 = 
|feature10 = 
|feature11 = 
|start1 = 
|start2 = 
|start3 = 
|start4 = 
|start5 = 
|gallery1 = 
|gallery2 = 
|gallery3 = 
|gallery4 = 
}}

Example

See pages using this template.