Difference between revisions of "Template:LinkNeo"

From NeoDex
Jump to navigation Jump to search
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|}}} | {{{url}}} }} }} }} }} }} }} }} }} {{{title}}}]</span></includeonly><noinclude>
<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>


Purpose:
Purpose:

Revision as of 04:44, 4 March 2014


Purpose:

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

Use:

  • {{LinkNeo|other=community/index.phtml|title=Community Hub}}
    Result: Neo_favicon.pngCommunity Hub