Difference between revisions of "NeoDex:Templates"

From NeoDex
Jump to navigation Jump to search
m (seperated sections better)
m (→‎BTY: minor corrections)
 
(18 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{policy}}
{{shortcut|[[ND:TMPS]]}}{{policy}}


'''Templates''' are special pages on the NeoDex that can be made to appear on any page - transclusion.  This is useful for when the same message has to be repeated on several pages, or to help break up pages like the [[Main Page]] for easier editing.
'''Templates''' are special pages on the NeoDex that can be made to appear on any page - transclusion.  This is useful for when the same message has to be repeated on several pages, or to help break up pages like the [[Main Page]] for easier editing.
Line 58: Line 58:


===Deletion===
===Deletion===
{{deletion}}
<div align="center">
 
{|style="width:500px;height:80px;" cellpadding="0" cellspacing="0"
!style="width:80px;height:80px;" rowspan="2" colspan="1"|[[Image:Deletionbin.gif]]
!style="width:420px;height:10px;background-color:#dfdfdf;font-size:10pt;"|This article has been nominated for DELETION:
|-
!style="width:420px,height:70px;background-color:#eaeaea;font-size:8pt;"|It may be redundant, unreferenced, or not sufficiently important for an article of its own. Discuss on the relevant talk page.<br /><span style="font-size:7pt;">Note: This template should not be used to tag articles created for vandalism purposes, etc.</span>
|}
</div>


[[Template:Deletion]] is used to note that an article had been nominated for deletion. A discussion of its pending removal will be found on the discussion page.  
[[Template:Deletion]] is used to note that an article had been nominated for deletion. A discussion of its pending removal will be found on the discussion page.  
Line 205: Line 213:


With no variables.  
With no variables.  
----
===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'''
|-
| style="background-color:#ffeeaa; 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;"|'''General'''<br />[[NeoQuest I]] '''''' [[NeoQuest Hero|Hero]] '''''' [[List of locations in NeoQuest I|Locations]] '''''' [[List of NeoQuest I Enemies|Enemies]]
|-
|cellpadding="0" height="3" style="background-color: transparent; color:#000000; font-size:2px;"|&nbsp;
|-
| style="background-color:#ffeeaa; 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;"|'''Bosses'''<br />[[Xantan|Xantan the Foul]] '''''' [[Kreai]] '''''' [[Gors the Mighty]] '''''' [[Rollay Scaleback]] '''''' [[Archmagus of Roo]] '''''' [[Guardian of Fire Magic]] '''''' [[Guardian of Ice Magic]] '''''' [[Guardian of Shock Magic]] '''''' [[Guardian of Spectral Magic]] '''''' [[Guardian of Life Magic]] '''''' [[Faleinn]] '''''' [[Jahbal]] '''''' [[Mastermind]] '''''' [[Xantan|Xantan Reborn]]
|}
[[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.
To add the NQ1 template to a document, use the following code:
'''<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.


==Infobox Templates==
==Infobox Templates==
Line 223: Line 286:
'''|<br />'''
'''|<br />'''
'''|<br />'''
'''|<br />'''
'''|7=}}<br />'''
'''|8=<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 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 241: 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 249: 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>


----
----


===Infobox SponsorGame===
===Infobox NeoQuest===
{{Infobox SponsorGame}}
{{Infobox NeoQuest}}
 
[[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.  
[[Template:Infobox NeoQuest]] is intended to display information about the NPCs in the game [[NeoQuest I]].  


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.  
A description of how to use it along with two worked examples can be seen at [[Template talk:Infobox NeoQuest#Manual|the manual on the template's talk 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" />
<br clear=all>


----
----
Line 291: Line 343:
'''|World='''<br />
'''|World='''<br />
'''|Categories='''<br />
'''|Categories='''<br />
'''|Ratio='''<br />
'''|GG_Y/N='''<br />
'''|GG_Y/N='''<br />
'''|Replacement=}}'''
'''|Replacement=}}'''
Line 318: Line 369:
'''|}}'''<br />
'''|}}'''<br />


The first variable to be entered into the template is the name of the boss character, then the URL or NeoDex Image code for the boss's picture. The third variable is the location of the box, and the next three variables are the boss [[HP]] on Normal, Evil and Insane modes. The seven variable should contain any special abilities the boss has, and the last should contain the reward for the party on beating the boss.  
The first variable to be entered into the template is the name of the boss character, then the URL or NeoDex Image code for the boss's picture. The third variable is the location of the box, and the next three variables are the boss [[HP]] on Normal, Evil and Insane modes. The seven variable should contain any special abilities the boss has, and the last should contain the reward for the party on beating the boss.


==Repetition Templates==  
==Repetition Templates==  
Line 324: 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===
Line 335: Line 400:


There are a some templates that don't fit into the above categories, but are still useful and are used.  
There are a some templates that don't fit into the above categories, but are still useful and are used.  
===Shortcut===
{{shortcut}}
<br clear="all" />
[[Template:Shortcut]] is used to display the shortcut redirect to a particular article on the ''NeoDex:'' namespace (i.e. policy pages).
It is added with the following code:
'''<nowiki>{{shortcut|}}</nowiki>'''
With the variable after the vertical bar being the article shortcut, wikilinked - e.g., for this page, ''<nowiki>[[ND:TMPS]]</nowiki>''. If more than one shortcut exists, they can be added in the same variable, separated by <nowiki><br /></nowiki> line breaks, ''not'' added into a second shortcut template.


===Stub===
===Stub===
Line 344: Line 420:
''...to be added...''
''...to be added...''


[[category: PPT]]
[[category:Help]]

Latest revision as of 03:29, 5 January 2011