Template:Game Page/Preload: Difference between revisions

From Modding Haven
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 20: Line 20:


==Mods==
==Mods==
<dpl>
{{Mod List
category             = Game Name mods
|category=category              = Game name mods
mode                = category
|replaceintitle=replaceintitle   = /Game name mods\//,
ordermethod          = title
}}
addpagecounter      = true
replaceintitle       = /Game Name mods\//,
format             = ,\n* [[%PAGE%|%TITLE%]] <small>(%COUNT% views)</small> ²{#ifeq:¦²{GETSHORTDESC:%PAGE%}²¦¦ - ²{GETSHORTDESC:%PAGE%}²}²,,
</dpl>


[[Category:Game page]]</includeonly><noinclude>
[[Category:Game page]]</includeonly><noinclude>
Line 52: Line 48:


==Mods==
==Mods==
<dpl>
{{Mod List
category             = Game Name mods                   <!-- Change this -->
|category=category              = Game name mods       <!-- Change these to the current page name -->
mode                = category
|replaceintitle=replaceintitle   = /Game name mods\//,
ordermethod          = title
}}
addpagecounter      = true
replaceintitle       = /Game Name mods\//,             <!-- Change this -->
format             = ,\n* [[%PAGE%|%TITLE%]] <small>(%COUNT% views)</small> ²{#ifeq:¦²{GETSHORTDESC:%PAGE%}²¦¦ - ²{GETSHORTDESC:%PAGE%}²}²,,
</dpl>


[[Category:Game page]]</pre></noinclude>
[[Category:Game page]]</pre></noinclude>

Revision as of 03:28, 6 February 2024

Below is the preloaded template that will show up when adding a new game page:

{{Infobox game
|title = Game Name                                      <!-- Please use the full title as is, with the exception of switching '&' to 'and' -->
|image = [[File:Game_Name_boxart.jpg|320x320px]]        <!-- You can link directly to files on wikipedia, wikicommons, and pcgamingwiki like this -->
|developer = [[wikipedia:Developer|Developer]]
|publisher = [[wikipedia:Publisher|Publisher]]
|platform = Windows, PlayStation 3, Xbox 360
|release = September 11, 2011
}}

<inputbox>
type=create
prefix={{PAGENAME}}/
placeholder=Mod name
buttonlabel=Add a new mod
break=no
preload=Template:Mod Page/Preload
preloadparams[]={{PAGENAME}}
preloadparams[]=
</inputbox>

==Mods==
{{Mod List
|category=category               = Game name mods        <!-- Change these to the current page name -->
|replaceintitle=replaceintitle   = /Game name mods\//,
}}

[[Category:Game page]]