Difference between revisions of "Template:LinkNeo"
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}}} }} }} }} }} }} }} {{{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|}}} | {{{url}}} }} }} }} }} }} }} }} }} {{{title}}}]</span></includeonly><noinclude> | ||
Purpose: | Purpose: | ||
Line 17: | Line 17: | ||
*<nowiki>{{LinkNeo|galleryofheroes=6|title=Kayla - Gallery of Heroes}}</nowiki><br>Result: {{LinkNeo|galleryofheroes=6|title=Kayla - Gallery of Heroes}} | *<nowiki>{{LinkNeo|galleryofheroes=6|title=Kayla - Gallery of Heroes}}</nowiki><br>Result: {{LinkNeo|galleryofheroes=6|title=Kayla - Gallery of Heroes}} | ||
*<nowiki>{{LinkNeo|galleryofevil=2|title=Ghost Lupe - Gallery of Evil}}</nowiki><br>Result: {{LinkNeo|galleryofevil=2|title=Ghost Lupe - Gallery of Evil}}</noinclude> | *<nowiki>{{LinkNeo|galleryofevil=2|title=Ghost Lupe - Gallery of Evil}}</nowiki><br>Result: {{LinkNeo|galleryofevil=2|title=Ghost Lupe - Gallery of Evil}} | ||
*<nowiki>{{LinkNeo|galleryofevil=2|title=Ghost Lupe - Gallery of Evil}}</nowiki><br>Result: {{LinkNeo|galleryofevil=2|title=Ghost Lupe - Gallery of Evil}} | |||
*<nowiki>{{LinkNeo|game=1347|title=Assignment 53}}</nowiki><br>Result: {{LinkNeo|game=1347|title=Assignment 53}} | |||
*<nowiki>{{LinkNeo|other=community/index.phtml|title=Community Hub}}</nowiki><br>Result: {{LinkNeo|other=community/index.phtml|title=Community Hub}} | |||
[[Category:Templates/Helpers]]</noinclude> |
Revision as of 04:44, 4 March 2014
Purpose:
To link to various sections of Neopets.com with ease.
Use:
- {{LinkNeo|shop=2|title=Kauvara's Magic Shop}}
Result:Kauvara's Magic Shop
- {{LinkNeo|neopedia=1|title=Aisha Thieves}}
Result:Aisha Thieves
- {{LinkNeo|editorial=523|title=Editorial #523}}
Result:Editorial #523
- {{LinkNeo|boardsection=6|title=Neoboards - Trading / Auctions}}
Result:Neoboards - Trading / Auctions
- {{LinkNeo|galleryofheroes=6|title=Kayla - Gallery of Heroes}}
Result:Kayla - Gallery of Heroes
- {{LinkNeo|galleryofevil=2|title=Ghost Lupe - Gallery of Evil}}
Result:Ghost Lupe - Gallery of Evil
- {{LinkNeo|galleryofevil=2|title=Ghost Lupe - Gallery of Evil}}
Result:Ghost Lupe - Gallery of Evil
- {{LinkNeo|game=1347|title=Assignment 53}}
Result:Assignment 53
- {{LinkNeo|other=community/index.phtml|title=Community Hub}}
Result:Community Hub