Difference between revisions of "Template:Itemdbnpc"

From Discworld MUD Wiki
Jump to: navigation, search
(Shorthand for Kefka's itemdb for items in a npc)
m (Text replacement - "http://dw.daftjunk.com" to "https://dw.daftjunk.com")
(2 intermediate revisions by 2 users 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|}}}|[https://dw.daftjunk.com/items/index.php?npc={{{1|}}} {{{2|}}}]}}<noinclude>{{documentation}}[[Category:Link templates]]</noinclude>

Latest revision as of 13:37, 11 May 2022



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