Difference between revisions of "Template:GameIntro"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (gallery tweaks)
m (added size parameter for the main image)
Line 1: Line 1:
<includeOnly>[[File:{{{image|MaldenFi17.jpg}}}|400px|right]]
+
<includeOnly>[[File:{{{image|MaldenFi17.jpg}}}|{{{size|250}}}|right]]
  
 
=== Introduction ===
 
=== Introduction ===
Line 65: Line 65:
  
 
== Usage ==
 
== Usage ==
{{<nowiki/>GameIntro|'''''image'''''|'''''intro'''''|'''''feature''#'''|'''''gallery''#'''|'''''dlc''#'''|'''''start''#'''|'''''social'#'''}}
+
{{<nowiki/>GameIntro|'''''image'''''|'''''size'''''|'''''intro'''''|'''''feature''#'''|'''''gallery''#'''|'''''dlc''#'''|'''''start''#'''|'''''social'#'''}}
 
* image: Image displayed on the top right
 
* 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
 
* intro: A short summary of what the game is about
 
* feature'''#''': (optional) A list of features (# in range 1..15)
 
* feature'''#''': (optional) A list of features (# in range 1..15)

Revision as of 23:58, 28 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..7)
  • start#: # (optional) A list with "getting started" pages (# in range 1..7)
  • social#: (optional) Links to social media (# in range 1..3)

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

Example

See source code of DayZ.