Difference between revisions of "NeoDex:Templates"

From NeoDex
Jump to navigation Jump to search
m
(added Template:Infobox RetiredGame information)
Line 178: Line 178:


With no variables.  
With no variables.  
----


==Infobox Templates==
==Infobox Templates==
Line 204: Line 202:


The second variable is the location of the character's opponent pic, preferably uploaded onto the NeoDex. The third is the character's difficult rating, the forth the number of HP they start with, the fifth the increment of the number of HP per win, the sixth the name of the first item that can be stolen from the character, and the seventh the location of where the challenger is found. A URL link should be included if possible. In the case of an automatic challenger, the phrase ''Automatic Challenger'' should be used instead.  
The second variable is the location of the character's opponent pic, preferably uploaded onto the NeoDex. The third is the character's difficult rating, the forth the number of HP they start with, the fifth the increment of the number of HP per win, the sixth the name of the first item that can be stolen from the character, and the seventh the location of where the challenger is found. A URL link should be included if possible. In the case of an automatic challenger, the phrase ''Automatic Challenger'' should be used instead.  
----


===Infobox Game===
===Infobox Game===
Line 219: Line 219:
'''|Ratio=}}'''
'''|Ratio=}}'''


In this template, the '''GameImage''' variable should hold the location of the Click-to-Play image of the game in question. 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.  
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]].  
 
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.  
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.  
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.  
===Infobox RetiredGame===
{{Infobox RetiredGame}}
[[Template:Infobox RetiredGame]] is used, like the Infobox Game template, to show information about a flash game, but this template is designed specifically for a retired game. It should be included in the History section of the replacement game where it talks about the past version, or on the article about the retired game itself if no replacement exists.
To add the Infobox RetiredGame template to a page, use the following code:
'''<nowiki>{{Infobox RetiredGame|GameImage=</nowiki>'''
'''|RetiredGame='''<br />
'''|GameID='''<br />
'''|World='''<br />
'''|Categories='''<br />
'''|Ratio='''<br />
'''|GG_Y/N='''<br />
'''|Replacement=}}'''
The majority of the variables in this template work like their counterparts in the Infobox Game template above. The additions are: the ''RetiredGame'' variable, where the name of the retired game is entered (this is not drawn automatically as frequently information on retired games should be included with their successor); the ''GG_Y/N'' variable, which should hold "Yes" or "No" to indicate whether the game is available in the [[Game Graveyard]] or not; and the ''Replacement'' variable, which should hold the name of its successor, if applicable, "N/A", if not.
If the game was retired before the new Game Room system was adopted, the old categories should be used in the ''Categories'' variable.


==Other Templates==
==Other Templates==

Revision as of 17:29, 6 January 2007