Template:Game Page/Preload: Difference between revisions

From Modding Haven
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(5 intermediate revisions by the same user not shown)
Line 14: Line 14:
buttonlabel=Add a new mod
buttonlabel=Add a new mod
break=no
break=no
preload=Template:{{PAGENAME}}/Preload
preload=Template:Mod Page/Preload
preloadparams[]={{PAGENAME}}
preloadparams[]=
</inputbox>
</inputbox>


==Mods==
==Mods==
<dpl>
{{Mod List
category            = Game Name mods
|1=category         = {{PAGENAME}}
mode                = category
|2=replaceintitle   = /{{PAGENAME}}\//,
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>
[[Category:Game page]]
__NOEDITSECTION__</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==
{{Mod List
|1=category        = {{PAGENAME}}
|2=replaceintitle  = /{{PAGENAME}}\//,
}}
 
[[Category:Game page]]
__NOEDITSECTION__</pre></noinclude>

Latest revision as of 00:41, 29 September 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
|1=category         = {{PAGENAME}}
|2=replaceintitle   = /{{PAGENAME}}\//,
}}

[[Category:Game page]]
__NOEDITSECTION__