Difference between revisions of "Template:LinkNeo"

From NeoDex
Jump to navigation Jump to search
(Reverting back to yesterday.)
Line 1: Line 1:
<includeonly><span style="white-space: nowrap"><span style="margin-right: 4px;">http://www.pinkpt.com/neodex/images/8/8f/Neo_favicon.png</span>[http://www.neopets.com/{{ #if: {{{shop|}}} | objects.phtml?type=shop&obj_type={{{shop}}} | {{ #if: {{{neopedia|}}} | neopedia.phtml?neopedia_id={{{neopedia}}} | {{ #if: {{{editorial|}}} | ntimes/index.phtml?section=editorial&issue={{{editorial}}} | {{ #if: {{{boardsection|}}} | neoboards/boardlist.phtml?board={{{boardsection}}} | {{ #if: {{{galleryofheroes|}}} | hero/showhero.phtml?hero={{{galleryofheroes}}} | {{ #if: {{{galleryofevil|}}} | evil/showcreature.phtml?villain={{{galleryofevil}}} | {{ #if: {{{game|}}} | games/game.phtml?game_id={{{game}}} | {{ #if: {{{other|}}} | {{{other}}} }} }} }} }} }} }} }} }} '''{{{title}}}''']</span></includeonly><noinclude>
<includeonly><span style="white-space: nowrap"><span style="margin-right: 4px;">{{ #if: #default | http://www.pinkpt.com/neodex/images/8/8f/Neo_favicon.png | {{ #if: {{{neopedia|}}} | http://www.pinkpt.com/neodex/images/a/ae/Tcg_icon.png | {{ #if: {{{neodeck|}}} | http://www.pinkpt.com/neodex/images/9/98/Neodeck_icon.png | {{ #if: {{{tcg|}}} | http://www.pinkpt.com/neodex/images/a/ae/Tcg_icon.png |</span>[http://www.neopets.com/{{ #if: {{{shop|}}} | objects.phtml?type=shop&obj_type={{{shop}}} | {{ #if: {{{neopedia|}}} | neopedia.phtml?neopedia_id={{{neopedia}}} | {{ #if: {{{editorial|}}} | ntimes/index.phtml?section=editorial&issue={{{editorial}}} | {{ #if: {{{boardsection|}}} | neoboards/boardlist.phtml?board={{{boardsection}}} | {{ #if: {{{galleryofheroes|}}} | hero/showhero.phtml?hero={{{galleryofheroes}}} | {{ #if: {{{galleryofevil|}}} | evil/showcreature.phtml?villain={{{galleryofevil}}} | {{ #if: {{{game|}}} | games/game.phtml?game_id={{{game}}} | {{ #if: {{{other|}}} | {{{other}}} }} }} }} }} }} }} }} }} '''{{{title}}}''']</span></includeonly><noinclude>


== Purpose ==
== Purpose ==

Revision as of 05:09, 5 March 2014


Purpose

To link to various sections of Neopets.com with ease.

Use

Use varies by section linked to:

Main Shops

For linking to main Shops in any world:

  • {{LinkNeo|shop=2|title=Kauvara's Magic Shop}}
    Result: {{ #if: #default | Neo_favicon.png | {{ #if: | Tcg_icon.png | {{ #if: | Neodeck_icon.png | {{ #if: | Tcg_icon.png |Kauvara's Magic Shop
  • title
    • Shop's name - Should match the title of the shop seen onsite.

Neopedia

For linking to Neopedia entries:

  • {{LinkNeo|neopedia=1|title=Aisha Thieves}}
    Result: {{ #if: #default | Neo_favicon.png | {{ #if: 1 | Tcg_icon.png | {{ #if: | Neodeck_icon.png | {{ #if: | Tcg_icon.png |Aisha Thieves
  • title
    • Article's Name - Should match that of the article, though it can be shortened if needed.

Editorials

For linking to specific editorials in the Neopian Times:

  • {{LinkNeo|editorial=523|title=Editorial #523}}
    Result: {{ #if: #default | Neo_favicon.png | {{ #if: | Tcg_icon.png | {{ #if: | Neodeck_icon.png | {{ #if: | Tcg_icon.png |Editorial #523
  • title
    • The title - Should be Editorial #NumberHere

Neoboards

For linking to board sections in the Neoboards:

  • {{LinkNeo|boardsection=6|title=Neoboards - Trading / Auctions}}
    Result: {{ #if: #default | Neo_favicon.png | {{ #if: | Tcg_icon.png | {{ #if: | Neodeck_icon.png | {{ #if: | Tcg_icon.png |Neoboards - Trading / Auctions
  • title
    • Name of board section. For example, if it's known as Role Playing, then you enter Role Playing in this field.

Gallery of Heroes

For linking to Gallery of Heroes entries:

  • {{LinkNeo|galleryofheroes=6|title=Kayla - Gallery of Heroes}}
    Result: {{ #if: #default | Neo_favicon.png | {{ #if: | Tcg_icon.png | {{ #if: | Neodeck_icon.png | {{ #if: | Tcg_icon.png |Kayla - Gallery of Heroes
  • title
    • Entry's title. Should match name onsite (Eg 'Soup Faerie', 'Hanso').

Gallery of Evil

For linking to Gallery of Evil entries:

  • {{LinkNeo|galleryofevil=2|title=Ghost Lupe - Gallery of Evil}}
    Result: {{ #if: #default | Neo_favicon.png | {{ #if: | Tcg_icon.png | {{ #if: | Neodeck_icon.png | {{ #if: | Tcg_icon.png |Ghost Lupe - Gallery of Evil
  • title
    • Entry's title. Should match name onsite (Eg, 'Lord Kass', 'Xandra'.

Games Room

For linking to specific games within the Games Room:

  • {{LinkNeo|game=1347|title=Assignment 53}}
    Result: {{ #if: #default | Neo_favicon.png | {{ #if: | Tcg_icon.png | {{ #if: | Neodeck_icon.png | {{ #if: | Tcg_icon.png |Assignment 53
  • title
  • The game's title. Should match onsite name.

Other

For linking elsewhere onsite:

  • {{LinkNeo|other=community/index.phtml|title=Community Hub}}
    Result: {{ #if: #default | Neo_favicon.png | {{ #if: | Tcg_icon.png | {{ #if: | Neodeck_icon.png | {{ #if: | Tcg_icon.png |Community Hub
  • title
      • The page's title. Should match onsite title, but can say anything else if appropriate.