GameIntro – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (added isDLC param)
Line 71: Line 71:
__NOTOC__
__NOTOC__
__NOEDITSECTION__
__NOEDITSECTION__
[[Category:Projects]]
{{#ifeq: {{isDLC|n}} | n | [[Category:Projects]]}}
 
</includeOnly><noinclude>
</includeOnly><noinclude>


== Usage ==
== Usage ==
{{<nowiki/>GameIntro|'''''image'''''|'''''size'''''|'''''intro'''''|'''''feature''#'''|'''''gallery''#'''|'''''dlc''#'''|'''''start''#'''|'''''social'#'''}}
{{<nowiki/>GameIntro|'''''image'''''|'''''size'''''|'''''intro'''''|'''''feature''#'''|'''''gallery''#'''|'''''dlc''#'''|'''''start''#'''|'''''social'#'''|'''''isDLC'''''}}
* image: Image displayed on the top right
* image: Image displayed on the top right
* size: (optional, default 250) Size of ''image'' in px
* size: (optional, default 250) Size of ''image'' in px
Line 84: Line 85:
* 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..5)
* social'''#''': (optional) Links to social media (# in range 1..5)
* isDLC': (optional, default n) Enter ''y'' if it is a DLC. This will prevent <nowiki>[[Category: Projects]]</nowiki> from being added to the page


''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 19: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.