GameIntro – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
m (added isDLC param)
m (fixed missing {})
Line 71: Line 71:
__NOTOC__
__NOTOC__
__NOEDITSECTION__
__NOEDITSECTION__
{{#ifeq: {{isDLC|n}} | n | [[Category:Projects]]}}
{{#ifeq: {{{isDLC|n}}} | n | [[Category:Projects]]}}


</includeOnly><noinclude>
</includeOnly><noinclude>

Revision as of 22:35, 30 December 2020


Usage

{{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..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)
  • isDLC': (optional, default n) Enter y if it is a DLC. This will prevent [[Category: Projects]] from being added to the page

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

Example

See source code of Category:DayZ.