GameIntro – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Fix big spacing) |
Lou Montana (talk | contribs) (Some wiki formatting) |
||
Line 75: | Line 75: | ||
__NOTOC__ | __NOTOC__ | ||
__NOEDITSECTION__ | __NOEDITSECTION__ | ||
{{#ifeq: {{{isDLC|n}}} | n | [[Category:Projects]]}} | {{#ifeq: {{{isDLC|n}}} | n | [[Category:Projects]]}}</includeOnly><noinclude> | ||
</includeOnly><noinclude> | |||
== Usage == | == Usage == | ||
{{<nowiki/>GameIntro|'''''image'''''|'''''size'''''|'''''intro'''''|'''''feature''#'''|'''''gallery''#'''|'''''dlc''#'''|'''''start''#'''|'''''social'#'''|'''''isDLC'''''}} | {{<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 | ||
* intro: A short summary of what the game is about | * intro: A short summary of what the game is about | ||
* feature'''#''': ( | * feature'''#''': (Optional) A list of features (# in range 1..20) | ||
* gallery'''#''': ( | * gallery'''#''': (Optional) Images displayed at the bottom of the page (# in range 1..4) | ||
* dlc'''#''': ( | * dlc'''#''': (Optional) Available DLCs (# in range 1..13) | ||
* start'''#''': | * start'''#''': (Optional) A list with "getting started" pages (# in range 1..7) | ||
* social'''#''': ( | * social'''#''': (Optional) Links to social media (# in range 1..5) | ||
* isDLC | * isDLC: (Optional, default n) Enter ''y'' if it is a DLC. This will prevent <nowiki>[[Category: Projects]]</nowiki> from being added to the page | ||
{{Informative | The template will automatically remove TOC and section edit links. Additionally, the page is automatically added to the [[:Category:Projects|Projects]] category (if not a DLC).}} | |||
== Template == | |||
<spoiler text="Show template"> | |||
<pre> | |||
{{GameIntro | |||
|image = | |||
|intro = | |||
|feature1 = | |||
|feature2 = | |||
|feature3 = | |||
|feature4 = | |||
|feature5 = | |||
|feature6 = | |||
|feature7 = | |||
|feature8 = | |||
|feature9 = | |||
|feature10 = | |||
|feature11 = | |||
|start1 = | |||
|start2 = | |||
|start3 = | |||
|start4 = | |||
|start5 = | |||
|gallery1 = | |||
|gallery2 = | |||
|gallery3 = | |||
|gallery4 = | |||
}} | |||
</pre> | |||
</spoiler> | |||
= Example = | == Example == | ||
See [[Special:WhatLinksHere/{{FULLPAGENAME}} | pages using this template]]. | |||
[[Category:Templates|{{uc:{{PAGENAME}}}}]] | [[Category:Templates|{{uc:{{PAGENAME}}}}]] | ||
</noinclude> | </noinclude> |
Revision as of 01:39, 4 January 2021
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..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
Template
{{GameIntro |image = |intro = |feature1 = |feature2 = |feature3 = |feature4 = |feature5 = |feature6 = |feature7 = |feature8 = |feature9 = |feature10 = |feature11 = |start1 = |start2 = |start3 = |start4 = |start5 = |gallery1 = |gallery2 = |gallery3 = |gallery4 = }}