GameIntro – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
m (small fix)
m (Fix line returns)
 
(43 intermediate revisions by 2 users 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: {{{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: {{{releasedate|}}} | Released: {{#time: M d, Y|{{{releasedate}}}}}<br> }}<!--
-->{{#if: {{{enddate|}}} | Ended: {{#time: M d, Y|{{{enddate}}}}}<br> }}<!--
-->{{#if: {{{latestversion|}}} | Latest version: {{{latestversion}}}<br> }}
=== Introduction ===
=== Introduction ===
{{#if: {{{EAdate|}}} | {{#if: {{{releasedate|}}} | <!-- released --> | {{Messagebox/BI||This product is in '''Early Access'''.}}}}}}
{{{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}}} |}}<!--
-->{{#if: {{{feature6|}}} | * {{{feature6}}} }}<!--
-->{{#if: {{{feature6|}}} | * {{{feature6}}} |}}<!--
-->{{#if: {{{feature7|}}} | * {{{feature7}}} }}<!--
-->{{#if: {{{feature7|}}} | * {{{feature7}}} |}}<!--
-->{{#if: {{{feature8|}}} | * {{{feature8}}} }}<!--
-->{{#if: {{{feature8|}}} | * {{{feature8}}} |}}<!--
-->{{#if: {{{feature9|}}} | * {{{feature9}}} }}<!--
-->{{#if: {{{feature9|}}} | * {{{feature9}}} |}}<!--
-->{{#if: {{{feature10|}}} | * {{{feature10}}} }}<!--
-->{{#if: {{{feature10|}}} | * {{{feature10}}} |}}<!--
-->{{#if: {{{premfeature1|}}} |
-->{{#if: {{{feature11|}}} | * {{{feature11}}} |}}<!--
=== Premium Content ===
-->{{#if: {{{feature12|}}} | * {{{feature12}}} |}}<!--
* {{{premfeature1}}} }}
-->{{#if: {{{feature13|}}} | * {{{feature13}}} |}}<!--
{{#if: {{{premfeature2|}}} | * {{{premfeature2}}}}}<!--
-->{{#if: {{{feature14|}}} | * {{{feature14}}} |}}<!--
-->{{#if: {{{premfeature3|}}} | * {{{premfeature3}}} }}<!--
-->{{#if: {{{feature15|}}} | * {{{feature15}}} |}}<!--
-->{{#if: {{{premfeature4|}}} | * {{{premfeature4}}} }}<!--
-->{{#if: {{{feature16|}}} | * {{{feature16}}} |}}<!--
-->{{#if: {{{premfeature5|}}} | * {{{premfeature5}}} }}<!--
-->{{#if: {{{feature17|}}} | * {{{feature17}}} |}}<!--
-->{{#if: {{{premfeature6|}}} | * {{{premfeature6}}} }}<!--
-->{{#if: {{{feature18|}}} | * {{{feature18}}} |}}<!--
-->{{#if: {{{premfeature7|}}} | * {{{premfeature7}}} }}<!--
-->{{#if: {{{feature19|}}} | * {{{feature19}}} |}}<!--
-->{{#if: {{{premfeature8|}}} | * {{{premfeature8}}} }}<!--
-->{{#if: {{{feature20|}}} | * {{{feature20}}} |}}
-->{{#if: {{{premfeature9|}}} | * {{{premfeature9}}} }}<!--
 
-->{{#if: {{{premfeature10|}}} | * {{{premfeature10}}} }}
{{#if: {{{freefeature1|}}} |
=== Free Content ===
* {{{freefeature1}}} }}
{{#if: {{{freefeature2|}}} | * {{{freefeature2}}}}}<!--
-->{{#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: {{{supportfeature1|}}} |
=== Supporting Content ===
* {{{supportfeature1}}} }}
{{#if: {{{supportfeature2|}}} | * {{{supportfeature2}}}}}<!--
-->{{#if: {{{supportfeature3|}}} | * {{{supportfeature3}}} }}<!--
-->{{#if: {{{supportfeature4|}}} | * {{{supportfeature4}}} }}<!--
-->{{#if: {{{supportfeature5|}}} | * {{{supportfeature5}}} }}<!--
-->{{#if: {{{supportfeature6|}}} | * {{{supportfeature6}}} }}<!--
-->{{#if: {{{supportefeature7|}}} | * {{{supportfeature7}}} }}<!--
-->{{#if: {{{supportfeature8|}}} | * {{{supportfeature8}}} }}<!--
-->{{#if: {{{supportfeature9|}}} | * {{{supportfeature9}}} }}<!--
-->{{#if: {{{supportfeature10|}}} | * {{{supportfeature10}}} }}
{{#if: {{{gallery1|}}}|
{{#if: {{{gallery1|}}}|
=== Gallery ===
=== Gallery ===
Line 34: Line 63:
{{{gallery3}}}
{{{gallery3}}}
{{{gallery4}}}
{{{gallery4}}}
{{{gallery5}}}
{{{gallery6}}}
{{{gallery7}}}
{{{gallery8}}}
{{{gallery9}}}
{{{gallery10}}}
|class=center
|class=center
|mode=nolines
|mode=nolines
|widths=250px
|widths=350px
}}
}}
}}
}}
 
{{#if: {{{dlcs|}}} |
{{#if: {{{dlc1|}}} |  
=== DLCs ===
=== DLCs ===
* {{{dlc1}}} | }}
{{{dlcs}}} }}<!--
{{#if: {{{dlc2|}}} | * {{{dlc2}}} |}}<!--
-->{{#if: {{{trailer|}}} | {{Youtube|{{{trailer}}}|Trailer|center|500}}}}
-->{{#if: {{{dlc3|}}} | * {{{dlc3}}} |}}<!--
{{#if: {{{start1|}}} |
-->{{#if: {{{dlc4|}}} | * {{{dlc4}}} |}}<!--
-->{{#if: {{{dlc5|}}} | * {{{dlc5}}} |}}<!--
-->{{#if: {{{dlc6|}}} | * {{{dlc6}}} |}}<!--
-->{{#if: {{{dlc7|}}} | * {{{dlc7}}} |}}<!--
-->{{#if: {{{dlc8|}}} | * {{{dlc8}}} |}}<!--
-->{{#if: {{{dlc9|}}} | * {{{dlc9}}} |}}<!--
-->{{#if: {{{dlc10|}}} | * {{{dlc10}}} |}}<!--
-->{{#if: {{{dlc11|}}} | * {{{dlc11}}} |}}<!--
-->{{#if: {{{dlc12|}}} | * {{{dlc12}}} |}}<!--
-->{{#if: {{{dlc13|}}} | * {{{dlc13}}} |}}
 
{{#if: {{{start1|}}} |  
=== Getting Started ===
=== Getting Started ===
* {{{start1}}} | }}
* {{{start1}}} }}
{{#if: {{{start2|}}} | * {{{start2}}} |}}<!--
{{#if: {{{start2|}}} | * {{{start2}}} }}<!--
-->{{#if: {{{start3|}}} | * {{{start3}}} |}}<!--
-->{{#if: {{{start3|}}} | * {{{start3}}} }}<!--
-->{{#if: {{{start4|}}} | * {{{start4}}} |}}<!--
-->{{#if: {{{start4|}}} | * {{{start4}}} }}<!--
-->{{#if: {{{start5|}}} | * {{{start5}}} |}}<!--
-->{{#if: {{{start5|}}} | * {{{start5}}} }}<!--
-->{{#if: {{{start6|}}} | * {{{start6}}} |}}<!--
-->{{#if: {{{start6|}}} | * {{{start6}}} }}<!--
-->{{#if: {{{start7|}}} | * {{{start7}}} |}}
-->{{#if: {{{start7|}}} | * {{{start7}}} }}
 
{{#if: {{{social1|}}} |
{{#if: {{{social1|}}} |  
=== Social Media ===
=== Social Media ===
* {{{social1}}} |}}
* {{{social1}}} }}
{{#if: {{{social2|}}} | * {{{social2}}} |}}<!--
{{#if: {{{social2|}}} | * {{{social2}}} }}<!--
-->{{#if: {{{social3|}}} | * {{{social3}}} |}}<!--
-->{{#if: {{{social3|}}} | * {{{social3}}} }}<!--
-->{{#if: {{{social4|}}} | * {{{social4}}} |}}<!--
-->{{#if: {{{social4|}}} | * {{{social4}}} }}<!--
-->{{#if: {{{social5|}}} | * {{{social5}}} |}}
-->{{#if: {{{social5|}}} | * {{{social5}}} }}
 
__NOTOC__
__NOTOC__
__NOEDITSECTION__
__NOEDITSECTION__
{{#ifeq: {{{isDLC|n}}} | n | [[Category:Projects]]}}
{{#ifeq: {{{isDLC|n}}} | n | {{TemplateCase||[[Category:Projects]]}}}}</includeonly><noinclude>
== Usage ==
{{<nowiki/>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 {{hl|[[:Category: Projects]]}} from being added to the page


</includeOnly><noinclude>
{{Feature|informative|
* The template will automatically remove TOC and section edit links
* The page is automatically added to the [[:Category:Projects|Projects]] category (if not a DLC)
* The page is automatically added to ''Introduced with version xxx'' pages (if a DLC)}}
== Example ==
{| class="wikitable valign-top"
|+ Examples
! Code
! style="min-width: 500px" | Result
|-
| <syntaxhighlight lang="html+handlebars">{{GameIntro}}</syntaxhighlight>
| {{GameIntro}}
|-
| <syntaxhighlight lang="handlebars">
{{GameIntro
|image= arma3 zeus logo.png
|game= arma3
|version= 1.16
|releasedate= 2014-02-13
|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)
|premfeature1= '''Premium Features''' - Features that are only available if one owns the DLC
|freefeature1= '''Free Features''' - Features that are available to everyone
|supportfeature1= '''Supporting Features''' - Features that expand the platform
|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
|trailer= 5JiXznUyldM
|dlcs= [[File:arma3 zeus logo.png|200px|link= Arma 3 Zeus]] [[File:arma3 karts logo.png|200px|link= Arma 3 Karts]]
|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]
|social1= [https://www.youtube.com/user/Arma3official {{arma3}} on YouTube]
|isDLC= y
}}
</syntaxhighlight>
| {{GameIntro
|image= arma3 zeus logo.png
|game= arma3
|version= 1.16
|releasedate= 2014-02-13
|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)
|premfeature1= '''Premium Features''' - Features that are only available if one owns the DLC
|freefeature1= '''Free Features''' - Features that are available to everyone
|supportfeature1= '''Supporting Features''' - Features that expand the platform
|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
|trailer= 5JiXznUyldM
|dlcs= [[File:arma3 zeus logo.png|200px|link= Arma 3 Zeus]] [[File:arma3 karts logo.png|200px|link= Arma 3 Karts]]
|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]
|social1= [https://www.youtube.com/user/Arma3official {{arma3}} on YouTube]
|isDLC= y
}}
|}


== Usage ==
== Template ==
{{<nowiki/>GameIntro|'''''image'''''|'''''size'''''|'''''intro'''''|'''''feature''#'''|'''''gallery''#'''|'''''dlc''#'''|'''''start''#'''|'''''social'#'''|'''''isDLC'''''}}
<spoiler text="Show template">
* image: Image displayed on the top right
<syntaxhighlight lang="handlebars">
* size: (optional, default 250) Size of ''image'' in px
{{GameIntro
* intro: A short summary of what the game is about
|image=
* feature'''#''': (optional) A list of features (# in range 1..20)
|game=
* gallery'''#''': (optional) Images displayed at the bottom of the page (# in range 1..4)
|version=
* dlc'''#''': (optional) Available DLCs (# in range 1..13)
|EAdate=
* start'''#''': # (optional) A list with "getting started" pages (# in range 1..7)
|releasedate=
* social'''#''': (optional) Links to social media (# in range 1..5)
|enddate=
* isDLC': (optional, default n) Enter ''y'' if it is a DLC. This will prevent <nowiki>[[Category: Projects]]</nowiki> from being added to the page
|latestversion=
 
|intro=
''Template will automatically remove TOC and edit-sections. Additionally, page is automatically added to category [[:Category:Projects|Projects]].''
|feature1=
|premfeature1=
|freefeature1=
|supportfeature1=
|gallery1=
|gallery2=
|gallery3=
|gallery4=
|trailer=
|dlcs=
|start1=
|start2=
|start3=
|start4=
|start5=
|start6=
|start7=
|social1=
|social2=
|social3=
|social4=
|social5=
|isDLC=
}}
</syntaxhighlight>
</spoiler>


= Example =
== Example ==
'''See source code of [[:Category:DayZ]].'''
See [[Special:WhatLinksHere/{{FULLPAGENAME}} | pages using this template]].


[[Category:Templates|{{uc:{{PAGENAME}}}}]]
[[Category:Templates|{{uc:{{PAGENAME}}}}]]
</noinclude>
</noinclude>

Latest revision as of 18: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
  • The template will automatically remove TOC and section edit links
  • The page is automatically added to the Projects category (if not a DLC)
  • The page is automatically added to Introduced with version xxx pages (if a DLC)

Example

Examples
Code Result
{{GameIntro}}
MaldenFi17.jpg

Introduction

Please add some introductory text!









{{GameIntro
|image= arma3 zeus logo.png
|game= arma3
|version= 1.16
|releasedate= 2014-02-13
|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)
|premfeature1= '''Premium Features''' - Features that are only available if one owns the DLC
|freefeature1= '''Free Features''' - Features that are available to everyone
|supportfeature1= '''Supporting Features''' - Features that expand the platform
|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
|trailer= 5JiXznUyldM
|dlcs= [[File:arma3 zeus logo.png|200px|link= Arma 3 Zeus]] [[File:arma3 karts logo.png|200px|link= Arma 3 Karts]]
|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]
|social1= [https://www.youtube.com/user/Arma3official {{arma3}} on YouTube]
|isDLC= y
}}
arma3 zeus logo.png
Introduced with: Arma 3 logo black.png1.16
Released: Feb 13, 2014

Introduction

Zeus is a Free DLC for Arma 3 that was announced on 13th February 2014 and is available since 10th April 2014. [...]

Features

  • Basic Features - Some basic features. (Leave empty if Premium Content, Free Content and Supporting Content are used)

Premium Content

  • Premium Features - Features that are only available if one owns the DLC

Free Content

  • Free Features - Features that are available to everyone

Supporting Content

  • Supporting Features - Features that expand the platform

Gallery

DLCs

arma3 zeus logo.png arma3 karts logo.png
Trailer

Getting Started

Social Media



Template

{{GameIntro
|image=
|game=
|version=
|EAdate=
|releasedate=
|enddate=
|latestversion=
|intro=
|feature1=
|premfeature1=
|freefeature1=
|supportfeature1=
|gallery1=
|gallery2=
|gallery3=
|gallery4=
|trailer=
|dlcs=
|start1=
|start2=
|start3=
|start4=
|start5=
|start6=
|start7=
|social1=
|social2=
|social3=
|social4=
|social5=
|isDLC=
}}
↑ Back to spoiler's top

Example

See pages using this template.