Difference between revisions of "Template:LinkJellyneo"
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: {{{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> | <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 == |
Revision as of 18:09, 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:
- {{LinkJellyneo|comments=9084|title=Shoyru Day Goodies}}
Result: Shoyru Day Goodies
- comments
- News Post ID. If article is located at http://www.jellyneo.net/index.php?comments=9000 , enter '9000' in this field.
- 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=
- {{LinkJellyneo|article=swashbucklingacademy|title=Swashbuckling Academy}}
Result: Swashbuckling Academy
- article
- Article ID. If article is located at http://www.jellyneo.net/?go=shopsdirectory , enter 'shopsdirectory' in this field.
- 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:
- {{LinkJellyneo|user=dave|title=JNAccount - Dave}}
Result: JNAccount - Dave
- user
- The user's username. If the user's profile was located at http://www.jellyneo.net/?go=account_trophies&u=suzuka , you'd simply put 'suzuka' in this field.
- 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.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:
- {{LinkJellyneo|item=54991|title=Unconverted Apple}}
Result: 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:
- {{LinkJellyneo|itemarticle=special_searches|title=Special Searches}}
Result: 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:
- {{LinkJellyneo|itemwishlist=dave|title=Wishlist - Dave}}
Result: 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:
- {{LinkJellyneo|itemdatabase=index.php|title=Jellyneo's Item Datase}}
Result: 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
- Site Title - Should match the page title, can be shortened if necessary.