Difference between revisions of "NeoDex:Templates"
Jump to navigation
Jump to search
m |
m (→BTY: minor corrections) |
||
(16 intermediate revisions by 3 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 67: | Line 67: | ||
|} | |} | ||
</div> | </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 215: | 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;"| | |||
|- | |||
| 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 233: | Line 286: | ||
'''|<br />''' | '''|<br />''' | ||
'''|<br />''' | '''|<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 | 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 251: | Line 309: | ||
'''|GameID=<br />''' | '''|GameID=<br />''' | ||
'''|World=<br />''' | '''|World=<br />''' | ||
'''|Categories | '''|Categories=}}''' | ||
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 259: | 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. | ||
<br clear=all> | <br clear=all> | ||
---- | ---- | ||
===Infobox | ===Infobox NeoQuest=== | ||
{{Infobox | {{Infobox NeoQuest}} | ||
[[Template:Infobox NeoQuest]] is intended to display information about the NPCs in the game [[NeoQuest I]]. | |||
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]]. | |||
<br clear="all" /> | |||
<br clear=all> | |||
---- | ---- | ||
Line 301: | Line 343: | ||
'''|World='''<br /> | '''|World='''<br /> | ||
'''|Categories='''<br /> | '''|Categories='''<br /> | ||
'''|GG_Y/N='''<br /> | '''|GG_Y/N='''<br /> | ||
'''|Replacement=}}''' | '''|Replacement=}}''' | ||
Line 328: | 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 334: | Line 375: | ||
===BTY=== | ===BTY=== | ||
''...to | {{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 345: | 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=== |