Difference between revisions of "Template:Itemdbnpc"

From Discworld MUD Wiki
Jump to: navigation, search
(Shorthand for Kefka's itemdb for items in a npc)
(update url : daftjunk.com/dw -> dw.daftjunk.com)
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{#iferror: {{#expr: abs {{{1|}}} * 5 }}|{{{1|}}}|[http://daftjunk.com/dw/items/index.php?npc={{{1|}}} {{{2|}}}]}}<noinclude>{{documentation}}[[Category:Link templates]]</noinclude>
{{#iferror: {{#expr: abs {{{1|}}} * 5 }}|{{{1|}}}|[http://dw.daftjunk.com/items/index.php?npc={{{1|}}} {{{2|}}}]}}<noinclude>{{documentation}}[[Category:Link templates]]</noinclude>

Latest revision as of 07:23, 27 April 2016



The template is used for creating direct links to items in Kefka's item database. It takes two parameters, the first one being the ID of the npc ID from the URL, and the second one being the word or expression visible to the reader.

{{Itemdbnpc|819|Ilik Tanikalot}} would result in this link: Ilik Tanikalot