Difference between revisions of "Template:GameIntro"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (added support for more DLCs (Arma 3 has so many :D))
m (added support for more social media)
Line 64: Line 64:
 
=== Social Media ===
 
=== Social Media ===
 
* {{{social1}}} |}}
 
* {{{social1}}} |}}
{{#if: {{{social2|}}} | * {{{social2}}} |}}
+
{{#if: {{{social2|}}} | * {{{social2}}} |}}<!--
 +
-->{{#if: {{{social3|}}} | * {{{social3}}} |}}<!--
 +
-->{{#if: {{{social4|}}} | * {{{social4}}} |}}<!--
 +
-->{{#if: {{{social5|}}} | * {{{social5}}} |}}
  
 
__NOTOC__
 
__NOTOC__
Line 78: Line 81:
 
* feature'''#''': (optional) A list of features (# in range 1..15)
 
* feature'''#''': (optional) A list of features (# in range 1..15)
 
* 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)
* dlc'''#''': (optional) Available DLCs (# in range 1..7)
+
* 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)
* social'''#''': (optional) Links to social media (# in range 1..3)
+
* social'''#''': (optional) Links to social media (# in range 1..5)
  
 
''Template will automatically remove TOC and edit-sections. Additionally, page is automatically added to category [[:Category:Projects|Projects]].''
 
''Template will automatically remove TOC and edit-sections. Additionally, page is automatically added to category [[:Category:Projects|Projects]].''

Revision as of 12:10, 29 December 2020


Usage

{{GameIntro|image|size|intro|feature#|gallery#|dlc#|start#|social'#}}

  • image: Image displayed on the top right
  • 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..15)
  • gallery#: (optional) Images displayed at the bottom of the page (# in range 1..4)
  • 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)

Template will automatically remove TOC and edit-sections. Additionally, page is automatically added to category Projects.

Example

See source code of DayZ.