Template:Game Page/Preload: Difference between revisions

From Modding Haven
Jump to navigation Jump to search
(Created page with "{{Infobox game |title = Game Name |image = 320x320px |developer = Developer |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:{{PAGENAME}}/Preload </inputbox> ==Mods== <dpl> category = Game Name mods mode...")
 
mNo edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox game
<includeonly>{{Infobox game
|title = Game Name
|title = Game Name
|image = [[File:Game_Name_boxart.jpg|320x320px]]
|image = [[File:Game_Name_boxart.jpg|320x320px]]
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         = Game name mods
mode                = category
|2=replaceintitle   = /Game name mods\//,
ordermethod          = title
}}
addpagecounter      = true
 
replaceintitle       = /Game Name mods\//,
[[Category:Game page]]
format             = ,\n* [[%PAGE%|%TITLE%]] <small>(%COUNT% views)</small> ²{#ifeq:¦²{GETSHORTDESC:%PAGE%}²¦¦ - ²{GETSHORTDESC:%PAGE%}²}²,,
__NOEDITSECTION__</includeonly><noinclude>
</dpl>
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        = Game name mods        <!-- Change these to the current page name -->
|2=replaceintitle  = /Game name mods\//,
}}


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

Latest revision as of 04:15, 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
|1=category         = Game name mods        <!-- Change these to the current page name -->
|2=replaceintitle   = /Game name mods\//,
}}

[[Category:Game page]]
__NOEDITSECTION__