GameIntro – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
m (added example)
(added support for premium/free and supporting content)
Line 4: Line 4:
{{#if: {{{isDLC|}}} | Introduced with: {{GVI|{{{game}}}|{{{version}}}}}
{{#if: {{{isDLC|}}} | Introduced with: {{GVI|{{{game}}}|{{{version}}}}}
}}<br>
}}<br>
{{{intro|Please add some introductory text!}}}
{{{intro|Please add some introductory text!}}}
{{#if: {{{feature1|}}} |
{{#if: {{{feature1|}}} |
=== Features ===
=== Features ===
* {{{feature1}}} }}
* {{{feature1}}} }}
{{#if: {{{feature2|}}} |
{{#if: {{{feature2|}}} | * {{{feature2}}}}}<!--
* {{{feature2}}}}}
-->{{#if: {{{feature3|}}} | * {{{feature3}}} }}<!--
{{#if: {{{feature3|}}} | * {{{feature3}}} }}<!--
-->{{#if: {{{feature4|}}} | * {{{feature4}}} }}<!--
-->{{#if: {{{feature4|}}} | * {{{feature4}}} }}<!--
-->{{#if: {{{feature5|}}} | * {{{feature5}}} }}<!--
-->{{#if: {{{feature5|}}} | * {{{feature5}}} }}<!--
Line 17: Line 18:
-->{{#if: {{{feature8|}}} | * {{{feature8}}} }}<!--
-->{{#if: {{{feature8|}}} | * {{{feature8}}} }}<!--
-->{{#if: {{{feature9|}}} | * {{{feature9}}} }}<!--
-->{{#if: {{{feature9|}}} | * {{{feature9}}} }}<!--
-->{{#if: {{{feature10|}}} | * {{{feature10}}} }}<!--
-->{{#if: {{{feature10|}}} | * {{{feature10}}} }}
-->{{#if: {{{feature11|}}} | * {{{feature11}}} }}<!--
 
-->{{#if: {{{feature12|}}} | * {{{feature12}}} }}<!--
{{#if: {{{premfeature1|}}} |
-->{{#if: {{{feature13|}}} | * {{{feature13}}} }}<!--
==== Premium Content ====
-->{{#if: {{{feature14|}}} | * {{{feature14}}} }}<!--
* {{{premfeature1}}} }}
-->{{#if: {{{feature15|}}} | * {{{feature15}}} }}<!--
{{#if: {{{premfeature2|}}} | ** {{{premfeature2}}}}}<!--
-->{{#if: {{{feature16|}}} | * {{{feature16}}} }}<!--
-->{{#if: {{{premfeature3|}}} | ** {{{premfeature3}}} }}<!--
-->{{#if: {{{feature17|}}} | * {{{feature17}}} }}<!--
-->{{#if: {{{premfeature4|}}} | ** {{{premfeature4}}} }}<!--
-->{{#if: {{{feature18|}}} | * {{{feature18}}} }}<!--
-->{{#if: {{{premfeature5|}}} | ** {{{premfeature5}}} }}<!--
-->{{#if: {{{feature19|}}} | * {{{feature19}}} }}<!--
-->{{#if: {{{premfeature6|}}} | ** {{{premfeature6}}} }}<!--
-->{{#if: {{{feature20|}}} | * {{{feature20}}} }}
-->{{#if: {{{premfeature7|}}} | ** {{{premfeature7}}} }}<!--
-->{{#if: {{{premfeature8|}}} | ** {{{premfeature8}}} }}<!--
-->{{#if: {{{premfeature9|}}} | ** {{{premfeature9}}} }}<!--
-->{{#if: {{{premfeature10|}}} | ** {{{premfeature10}}} }}
 
{{#if: {{{freefeature1|}}} |
==== Free Content ====
* {{{freefeature1}}} }}
{{#if: {{{freefeature2|}}} | ** {{{premfeature2}}}}}<!--
-->{{#if: {{{freefeature3|}}} | ** {{{freefeature3}}} }}<!--
-->{{#if: {{{freefeature4|}}} | ** {{{freefeature4}}} }}<!--
-->{{#if: {{{freefeature5|}}} | ** {{{freefeature5}}} }}<!--
-->{{#if: {{{freefeature6|}}} | ** {{{freefeature6}}} }}<!--
-->{{#if: {{{freefeature7|}}} | ** {{{freefeature7}}} }}<!--
-->{{#if: {{{freefeature8|}}} | ** {{{freefeature8}}} }}<!--
-->{{#if: {{{freefeature9|}}} | ** {{{freefeature9}}} }}<!--
-->{{#if: {{{freefeature10|}}} | ** {{{freefeature10}}} }}


{{#if: {{{gallery1|}}}|
{{#if: {{{gallery1|}}}|
Line 86: Line 103:
* 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}}
{{<nowiki/>GameIntro|'''''image'''''|'''''game'''''|'''''version'''''|'''''size'''''|'''''intro'''''|'''''feature''#'''|'''''gallery''#'''|'''''dlc''#'''|'''''start''#'''|'''''social''#'''|'''''isDLC'''''}}
{{<nowiki/>GameIntro|'''''image'''''|'''''game'''''|'''''version'''''|'''''size'''''|'''''intro'''''|'''''feature''#'''|'''''premfeature''#'''|'''''freefeature''#'''|'''''supportfeature''#'''|'''''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]]
* game: (optional) Needs to be defined if '''''isDLC''''' is set. See [[Template:GVI]]
Line 92: Line 109:
* 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..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..4)
* gallery'''#''': (Optional) Images displayed at the bottom of the page (# in range 1..4)
* trailer: (Optional) Displays a YouTube video. See [[Template:Youtube]]
* trailer: (Optional) Displays a YouTube video. See [[Template:Youtube]]

Revision as of 13:48, 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#|premfeature#|freefeature#|supportfeature#|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..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..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.