Template:Game Page/Preload: Difference between revisions

From Modding Haven
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 20: Line 20:


==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><noinclude>
[[Category:Game page]]
__NOEDITSECTION__</includeonly><noinclude>
Below is the preloaded template that will show up when adding a new game page:
Below is the preloaded template that will show up when adding a new game page:
<pre>{{Infobox game
<pre>{{Infobox game
Line 52: Line 49:


==Mods==
==Mods==
<dpl>
{{Mod List
category            = Game Name mods                  <!-- Change this -->
|1=category         = {{PAGENAME}}
mode                = category
|2=replaceintitle   = /{{PAGENAME}}\//,
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]]
__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__