Difference between revisions of "Template:LinkJellyneo"

From NeoDex
Jump to navigation Jump to search
m
Line 1: Line 1:
<includeonly>{{ #if: {{{comments|}}} | {{IconJellyneo}} [http://www.jellyneo.net/index.php?comments={{{comments}}} | {{ #if: {{{article|}}} | {{IconJellyneo}} [http://www.jellyneo.net/?go={{{article}}} | {{ #if: {{{user|}}} | {{IconJellyneo}} [http://www.jellyneo.net/?go=account_trophies&u={{{user}}} | {{ #if: {{{main|}}} | {{IconJellyneo}} [http://www.jellyneo.net/{{{main}}} | {{ #if: {{{editorial|}}} | {{IconEditorial}} [http://www.neopets.com/ntimes/index.phtml?section=editorial&issue={{{editorial}}} | {{ #if: {{{boardsection|}}} | {{IconNeopets}} [http://www.neopets.com/neoboards/boardlist.phtml?board={{{boardsection}}} | {{ #if: {{{galleryofheroes|}}} | {{IconNeopets}} [http://www.neopets.com/hero/showhero.phtml?hero={{{galleryofheroes}}} | {{ #if: {{{galleryofevil|}}} | {{IconNeopets}} [http://www.neopets.com/evil/showcreature.phtml?villain={{{galleryofevil}}} | {{ #if: {{{game|}}} | {{IconNeopets}} [http://www.neopets.com/games/game.phtml?game_id={{{game}}} | {{ #if: {{{other|}}} | {{IconNeopets}} [http://www.neopets.com/{{{other}}} }} }} }} }} }} }} }} }} }} }} '''{{{title}}}''']</includeonly><noinclude>
<includeonly>{{ #if: {{{comments|}}} | {{IconJellyneo}} [http://www.jellyneo.net/index.php?comments={{{comments}}} | {{ #if: {{{article|}}} | {{IconJellyneo}} [http://www.jellyneo.net/?go={{{article}}} | {{ #if: {{{user|}}} | {{IconJellyneo}} [http://www.jellyneo.net/?go=account_trophies&u={{{user}}} | {{ #if: {{{main|}}} | {{IconJellyneo}} [http://www.jellyneo.net/{{{main}}} | {{ #if: {{{item|}}} | {{IconJellyneoItemDB}} [http://items.jellyneo.net/index.php?go=item&showitem={{{item}}} | {{ #if: {{{itemarticle|}}} | {{IconJellyneoItemDB}} [http://items.jellyneo.net/index.php?go={{{itemarticle}}} | {{ #if: {{{itemwishlist|}}} | {{IconJellyneoItemDB}} [ http://items.jellyneo.net/mywishes/{{{itemwishlist}}}/ | {{ #if: {{{itemdatabase|}}} | {{IconJellyneoItemDB}} [ http://items.jellyneo.net/{{{itemdatabase}}} | {{ #if: {{{game|}}} | {{IconNeopets}} [http://www.neopets.com/games/game.phtml?game_id={{{game}}} | {{ #if: {{{other|}}} | {{IconNeopets}} [http://www.neopets.com/{{{other}}} }} }} }} }} }} }} }} }} }} }} '''{{{title}}}''']</includeonly><noinclude>


== Purpose ==
== Purpose ==
Line 11: Line 11:
=== Main Page ===
=== Main Page ===


The following are used to linked to the main ''Jellyneo'' site and related locations:
The following are used to link to the main ''Jellyneo'' site and related locations:


==== Comments ====
==== Comments ====
Line 57: Line 57:
*'''main'''
*'''main'''
**Rest of URL. If you wanted to link to http://www.jellyneo.net/index.php , you'd enter everything after the first '''forward slash''' (/). In this case, that would simply be '''index.php'''.
**Rest of URL. If you wanted to link to http://www.jellyneo.net/index.php , you'd enter everything after the first '''forward slash''' (/). In this case, that would simply be '''index.php'''.
*'''title'''
**Site Title - Should match the page title, can be shortened if necessary.
=== Item Database ===
The following are used to link to the main ''Jellyneo's Item database'' and related locations:
==== Item Entries ====
For linking directly to specific items within the database:
*<nowiki>{{LinkJellyneo|item=54991|title=Unconverted Apple}}</nowiki><br>Result: {{LinkJellyneo|item=54991|title=Unconverted Apple}}
*'''item'''
**Database Item ID. If the item is located at http://items.jellyneo.net/index.php?go=item&showitem=1337 , you'd simply put '1337' in this field.
*'''title'''
**It's name. - If the item linked to is named "Starry Paint Brush", then you'd name this field "Starry Paint Brush".
==== Articles & Other Sections ====
For linking to non-item entries in the Database, such as articles or other pages:
*<nowiki>{{LinkJellyneo|itemarticle=special_searches|title=Special Searches}}</nowiki><br>Result: {{LinkJellyneo|itemarticle=special_searches|title=Special Searches}}
*'''itemarticle'''
**Article/Page ID. If you wanted to link to http://items.jellyneo.net/index.php?go=help , you'd put 'help' in this section.
*'''title'''
**Page's name - If the article/page is titled 'Contact Us', then you'd fill this section with 'Contact Us'.
==== User Wishlists ====
For linking to wishlists created by JN Users:
*<nowiki>{{LinkJellyneo|itemwishlist=dave|title=Wishlist - Dave}}</nowiki><br>Result: {{LinkJellyneo|itemwishlist=dave|title=Wishlist - Dave}}
*'''itemawishlist'''
**JNAccount Username. If you wanted to link to http://items.jellyneo.net/mywishes/suzuka/ , then you'd simply fill this section with 'suzuka'.
*'''title'''
**Wishlist - 'username' - If you're not directly referring to the fact that it's a Wishlist held on Jellyneo's Item Database (Eg, 'This is a my JN Item DB Wishlist'), then this section should be filled with the title '''Wishlist - username here''''. If you wanted to link to the wishlist owned by the user 'ummy', then you'd put in ''''Wihslist - ummy''''. If you were referring to the fact that it was Jellyneo Item DB wishlist beforehand, then you'd put just the username in this field.
==== Main Site ====
For linking directly to the Item Database, and possibly anywhere else within:
*<nowiki>{{LinkJellyneo|itemdatabase=index.php|title=Jellyneo's Item Datase}}</nowiki><br>Result: {{LinkJellyneo|itemdatabase=index.php|title=Jellyneo's Item Datase}}
*'''main'''
**Rest of URL. If you wanted to link to http://items.jellyneo.net/index.php , you'd enter everything after the first '''forward slash''' (/). In this case, that would simply be '''index.php'''.


*'''title'''
*'''title'''
**Site Title - Should match the page title, can be shortened if necessary.
**Site Title - Should match the page title, can be shortened if necessary.

Revision as of 18:04, 5 March 2014


Purpose

To link to various sections of Jellyneo.net with ease.

Use

Use and appearance varies by section linked to:

Main Page

The following are used to link to the main Jellyneo site and related locations:

Comments

For linking to the comments section in a news post:

  • title
    • News post's Name - Should match that of the post's.

Articles

For links to specific articles within Jellyneo, or elsewhere on site that uses the url extension ?go=

  • title
    • Article's Name - Should match the page's title. For example, if the article was titled 'The Shop Directory', you'd enter 'The Shop Directory' in this field.

User Accounts

For linking directly to the JN account's, for viewing trophies and trophy cabinet themes:

  • title
    • 'JNAccount - 'username' - If you're not directly referring to the fact that it's a JNAccount (Eg, 'This is a JN account'), then this section should be filled with the title JNAccount - username here'. If you wanted to link to the user account 'ummy', then you'd put in 'JNAccount - ummy'. If you were referring to the fact that it was JNAccount beforehand, then you'd put just the username in this field.

Main Site

For linking directly to the mainsite, and possibly anywhere else within:

  • {{LinkJellyneo|main=index.php|title=Jellyneo.net}}
    Result: Jellyneo_favicon.png Jellyneo.net
  • main
    • Rest of URL. If you wanted to link to http://www.jellyneo.net/index.php , you'd enter everything after the first forward slash (/). In this case, that would simply be index.php.
  • title
    • Site Title - Should match the page title, can be shortened if necessary.

Item Database

The following are used to link to the main Jellyneo's Item database and related locations:

Item Entries

For linking directly to specific items within the database:

  • title
    • It's name. - If the item linked to is named "Starry Paint Brush", then you'd name this field "Starry Paint Brush".

Articles & Other Sections

For linking to non-item entries in the Database, such as articles or other pages:

  • {{LinkJellyneo|itemarticle=special_searches|title=Special Searches}}
    Result: JellyneoItemDB_favicon.png Special Searches
  • title
    • Page's name - If the article/page is titled 'Contact Us', then you'd fill this section with 'Contact Us'.

User Wishlists

For linking to wishlists created by JN Users:

  • title
    • Wishlist - 'username' - If you're not directly referring to the fact that it's a Wishlist held on Jellyneo's Item Database (Eg, 'This is a my JN Item DB Wishlist'), then this section should be filled with the title Wishlist - username here'. If you wanted to link to the wishlist owned by the user 'ummy', then you'd put in 'Wihslist - ummy'. If you were referring to the fact that it was Jellyneo Item DB wishlist beforehand, then you'd put just the username in this field.

Main Site

For linking directly to the Item Database, and possibly anywhere else within:

  • main
    • Rest of URL. If you wanted to link to http://items.jellyneo.net/index.php , you'd enter everything after the first forward slash (/). In this case, that would simply be index.php.
  • title
    • Site Title - Should match the page title, can be shortened if necessary.