Template:Game Page/Preload: Difference between revisions

From Modding Haven
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 29: Line 29:
</dpl>
</dpl>


[[Category:Game page]]</includeonly>
[[Category:Game page]]</includeonly><noinclude>
Below is the preloaded template that will show up when adding a new game page:
<pre>{{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==
<dpl>
category            = Game Name mods                  <!-- Change this -->
mode                = category
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>

Revision as of 20:44, 5 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==
<dpl>
category             = Game Name mods                   <!-- Change this -->
mode                 = category
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]]