Difference between revisions of "NeoDex:Templates"

From NeoDex
Jump to navigation Jump to search
(removed sponser game infobox, we no longer track sponser games. Remove NP ratio info from other game infoboxes)
Line 262: Line 262:
'''|GameID=<br />'''
'''|GameID=<br />'''
'''|World=<br />'''
'''|World=<br />'''
'''|Categories=<br />'''
'''|Categories=}}'''
'''|Ratio=}}'''


In this template, the ''GameImage'' variable should hold the name of the Click-to-Play image of the game in question, uploaded to the NeoDex. The double square brackets and the namespace ''Image:'' is not needed. For naming conventions, see the [[NeoDex:Image use policy]].
In this template, the ''GameImage'' variable should hold the name of the Click-to-Play image of the game in question, uploaded to the NeoDex. The double square brackets and the namespace ''Image:'' is not needed. For naming conventions, see the [[NeoDex:Image use policy]].
Line 270: Line 269:


The ''World'' variable should be filled in with what world the game takes place in, and the ''categories'' variable needs the list of categories a game is allocated under, in the order they are displayed on the game page.
The ''World'' variable should be filled in with what world the game takes place in, and the ''categories'' variable needs the list of categories a game is allocated under, in the order they are displayed on the game page.
Finally, the ''Ratio'' variable should be filled with the [[NP]] to point ratio, that is, how many Neopoints 100 game points earns. This is no longer displayed on a game page, but often existing game articles retain it from before the Game Room revamp. If all else fails, this can be found from comparing a selection of scores to Neopoints given. Note that this should not just be done with one set of point score and Neopoints, as rounding takes place.
<br clear=all>
<br clear=all>


Line 284: Line 281:


<br clear="all" />
<br clear="all" />
----
===Infobox SponsorGame===
{{Infobox SponsorGame}}
[[Template:Infobox SponsorGame]] is used, like the Infobox Game template, for displaying information about a flash game, but this one is designed specifically for a sponsored game. All new sponsored game articles should include this.
To add the Infobox SponsorGame template to a page, use the following code:
'''<nowiki>{{Infobox SponsorGame| GameImage=</nowiki>'''
'''|GameID='''<br />
'''|World='''<br />
'''|Categories='''<br />
'''|Ratio=100:100}}'''<br />
All of these variables work exactly the same as in the Infobox Game template: the ''GameImage'' variable should hold the name of the Click-to-Play image of the game in question, uploaded to the NeoDex. The double square brackets and the namespace ''Image:'' is not needed. For naming conventions, see the [[NeoDex:Image use policy]].
The ''GameID'' variable should hold the identification number of a game. On the game's URL, this is the number at the end, after ''?game_id=''. The template uses this number to get the correct links to the High Score and game pages.
The ''World'' variable should be filled in with what world the game takes place in, and the ''categories'' variable needs the list of categories a game is allocated under, in the order they are displayed on the game page.
Finally, the ''Ratio'' variable should be filled with the [[NP]] to point ratio, that is, how many Neopoints 100 game points earns.
<br clear=all>


----
----
Line 323: Line 296:
'''|World='''<br />
'''|World='''<br />
'''|Categories='''<br />
'''|Categories='''<br />
'''|Ratio='''<br />
'''|GG_Y/N='''<br />
'''|GG_Y/N='''<br />
'''|Replacement=}}'''
'''|Replacement=}}'''

Revision as of 22:33, 31 December 2009