GameIntro – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
m (added trailer)
m (fixed trailer)
Line 58: Line 58:
-->{{#if: {{{dlc13|}}} | * {{{dlc13}}} }}
-->{{#if: {{{dlc13|}}} | * {{{dlc13}}} }}


{{#if: {{{trailer|}}} | {{Youtube|{{{trailer}}}|Trailer|center|600}}
{{#if: {{{trailer|}}} | {{Youtube|{{{trailer}}}|Trailer|center|600}}}}


{{#if: {{{start1|}}} |
{{#if: {{{start1|}}} |

Revision as of 13:48, 16 February 2021

Usage

🚧
TODO:
  • Update template so it has an extra parameter for introduced with e.g. GVI Template
  • Add support for premium content
  • Add support for supporting content
  • Add support for free platform updates or free content
  • Add trailer param?

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

  • 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..20)
  • 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)
  • 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).

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.