Difference between revisions of "Template:ItemDB"

From JellyRO Wiki
Jump to: navigation, search
(Created page with "<includeonly>{{plainlink|url={{ItemDBLink}}/item-info/{{#sub: {{{id}}}|0|{{#pos:{{{id}}}| }}}}/ {{#sub:{{{id}}}|{{#pos:{{{id}}}| }}}}}}</includeonly> <noinclude>==Description...")
 
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{plainlink|url={{ItemDBLink}}/item-info/{{#sub: {{{id}}}|0|{{#pos:{{{id}}}| }}}}/ {{#sub:{{{id}}}|{{#pos:{{{id}}}| }}}}}}</includeonly>
+
{{plainlink|url=http://cp.jellyro.com/item_new/view/?id={{{id}}}}}<noinclude>This template serves the purpose of shortening linkings to the Item DB.
 
+
<noinclude>==Description==
+
This template serves the purpose of shortening linkings to the Item DB.
+
  
 
====Usage====
 
====Usage====
  <nowiki>{{item |id=</nowiki>''<id>''<nowiki> </nowiki>''<name>''<nowiki>}}</nowiki>
+
  <nowiki>{{itemDB |id=</nowiki>''<id>''<nowiki> </nowiki>''<name>''<nowiki>}}</nowiki>
  
 
{| class="wikitable"
 
{| class="wikitable"
 
  ! Example !! Output
 
  ! Example !! Output
 
  |-
 
  |-
  | <nowiki>{{item |id=7015 Bookclip in Memory}}</nowiki>  
+
  | <nowiki>{{itemDB|id=7015 Bookclip in Memory}}</nowiki>  
|| {{item |id=7015 Bookclip in Memory}}
+
|| {{itemDB|id=7015 Bookclip in Memory}}
 
|}
 
|}
  

Latest revision as of 19:44, 1 July 2016

[1]This template serves the purpose of shortening linkings to the Item DB.

Usage

{{itemDB |id=<id> <name>}}
Example Output
{{itemDB|id=7015 Bookclip in Memory}} Bookclip in Memory

Fields

id The ID of the item as seen in the itemdesctables.
name The text to appear in the link.