Difference between revisions of "NeoDex:Templates"

From NeoDex
Jump to navigation Jump to search
m (→‎BTY: minor corrections)
 
(9 intermediate revisions by 2 users not shown)
Line 213: Line 213:


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


===NQ1===
===NQ1===
{{NQ1}}
<br clear="all" />
{| class="collapsible collapsed" style="border: 5px solid #ffaa00;width:85%; -moz-border-radius-topright: 18px; -moz-border-radius-topleft: 18px; -moz-border-radius-bottomright: 18px; -moz-border-radius-bottomleft: 18px; background-color:#ffaa00; color:#000000;" align="center" cellspacing="0"
!style="text-align:center;background-color:transparent;color:#ffeeaa;"|'''NeoQuest I'''
|-
|-
|cellpadding="0" height="3" style="background-color: transparent; color:#000000; font-size:2px;"|&nbsp;
|-
|}
 
[[Template:NQ1]] lists and links to the main character's article and all the bosses in the game. It should be included at the end of every NQ1 related article.
[[Template:NQ1]] lists and links to the main character's article and all the bosses in the game. It should be included at the end of every NQ1 related article.


Line 221: Line 233:


'''<nowiki>{{NQ1}}</nowiki>'''
'''<nowiki>{{NQ1}}</nowiki>'''
With no variables.
----
===NQ2locations===
<div align="center">
{| id="toc" class="collapsible collapsed" style="border: 5px solid #ffeeaa; width:85%; -moz-border-radius-topright: 18px; -moz-border-radius-topleft: 18px; -moz-border-radius-bottomright: 18px; -moz-border-radius-bottomleft: 18px; background-color:#ffeeaa; color:#000000;" align="center" cellspacing="0
! style="text-align:center;background-color:transparent;color:#ffaa00;"| '''NeoQuest II Locations'''
|-
| style="background-color:#ffaa00; text-align:center; font-size: 8pt; color: #000000; -moz-border-radius-topright: 12px; -moz-border-radius-topleft: 12px; -moz-border-radius-bottomright: 12px; -moz-border-radius-bottomleft: 12px;"|
'''Act One ([[Meridell]]):'''<br />
[[Trestin Village]] [[Dark Cave]] [[White River City]] [[Underground Cave]]   [[Lost Island]] [[Mysterious Tower]] [[Lakeside]] [[Lost City of Phorofor]] [[Tower on The Hill]] [[Seaside]] [[Castle of Meridell]] [[Ramtor's Tower]]
'''Act Two ([[Terror Mountain]]):'''<br />
[[Chia Oscuro]] [[Damp Smelly Cave]] [[Caves of Terror]] [[Mountainside Inn]] [[Happy Valley (NeoQuest II)|Happy Valley]] [[Adventurers' Camp]] [[Lost Caves]] [[Mountain Top]]
'''Act Three ([[Lost Desert]]):'''<br />
[[Sakhmet (NeoQuest II)|Sakhmet]] [[Temple of the Sky]] [[Ruined Temple]] [[Waset Village]] [[Valley of Kings]] [[Palace of Ancient Kings]] [[Akhten-Ka]] [[Zakharukh's Pyramid]]
'''Act Four ([[Haunted Woods]]):'''<br />
[[Shadow Gulch]] [[Von Roo's Castle]] [[Cave of Dark Things]] [[Balthazar's Grove]] [[Happy Fun Non-Haunted House]] [[Nox's Fortress]] [[Hubrid's Mountain Range]] [[Esophagor's Swamp]]
'''Act Five ([[Faerieland]]):'''<br />
[[Northern Watchtower]] [[The Underclouds]] [[Cumulonimbus]] [[Village of Cirrus]] [[Faerie City (NeoQuest II)|Faerie City]] [[Faerie Palace]]
|}
</div>
[[Template:NQ2locations]] lists and links to all the locations in [[NeoQuest II]]. It should be included at the end of every NQII location article.
To add the NQ1 template to a document, use the following code:
'''<nowiki>{{NQ2locations}}</nowiki>'''


With no variables.
With no variables.
Line 241: Line 286:
'''|<br />'''
'''|<br />'''
'''|<br />'''
'''|<br />'''
'''|7=<br />'''
'''|8=<br />'''
'''|}}<br />'''
'''|9=<br />'''
'''|10=<br />'''
}}<br />'''


The first variable to be entered into the template is the name of the Battledome character - the reason this is not automatically drawn from the article's name is because the character does not necessarily use the same name.  
The first variable to be entered into the template is the name of the Battledome character - the reason this is not automatically drawn from the article's name is because the character does not necessarily use the same name.  


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 ''7'' the location of where the challenger is found. A URL link should be included if possible - the reason that the variable name is stated in this case is so that URLs can include equals signs without breaking. 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 variable is the date that the opponent was released in the battledome.  The fourth is the character's difficult rating, the fifth the number of HP they start with, the sixth the increment of the number of HP per win. The seventh variable is arena in which the character is fought, and ''8'' is the location of where the challenger is found. A URL link should be included if possible - the reason that the variable name is stated in this case is so that URLs can include equals signs without breaking. In the case of an automatic challenger, the phrase ''Automatic Challenger'' should be used instead.  "9" is Neopets' description of the challenger.


The eighth option is for the name of which arena the challenger fights in. It controls the colour scheme of the border. It should either be ''island'', ''space'', ''water'', ''stone'', ''snow'', ''tyrannian'' or ''battle''. If it is unspecified, it will default to ''battle''. See also this [[Template_talk:BattleInfo#Option_.238|worked example of 8th option using ''snow'']].
The tenth option is for the name of which arena the challenger fights in. It controls the colour scheme of the border. It should either be ''island'', ''space'', ''water'', ''stone'', ''snow'', ''tyrannian'' or ''battle''. If it is unspecified, it will default to ''battle''. See also this [[Template_talk:BattleInfo#Option_.238|worked example of 10th option using ''snow'']].


----
----
Line 262: Line 309:
'''|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 316:


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 328:


<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 343:
'''|World='''<br />
'''|World='''<br />
'''|Categories='''<br />
'''|Categories='''<br />
'''|Ratio='''<br />
'''|GG_Y/N='''<br />
'''|GG_Y/N='''<br />
'''|Replacement=}}'''
'''|Replacement=}}'''
Line 356: Line 375:


===BTY===
===BTY===
''...to be added...''
{{BTY}}
 
The BTY template is used to added [[Better Than You]] contestant information to a character's page.  The BTY info should be placed under a "Better Than You" heading on the character's article. One BTY template should be used each time that that character is featured on Better Than You.  This means that the BTY template may be used multiple times on the same page. (See [[Scrap#Better Than You|Scrap]] for an example.)
 
To add the BTY template to a page, use the following code:
 
'''<nowiki>{{BTY|1|2|3|4|5}}</nowiki>'''
 
Where...
 
1 = Date the contestant was released<br>
2 = Contestant's quote<br>
3 = Game played<br>
4 = Score to beat<br>
5 = Prize for winning


===IPnote===
===IPnote===

Latest revision as of 03:29, 5 January 2011