Difference between revisions of "Template:Itemdbnpc"

From Discworld MUD Wiki
Jump to: navigation, search
(update url : daftjunk.com/dw -> dw.daftjunk.com)
m (Text replacement - "http://dw.daftjunk.com" to "https://dw.daftjunk.com")
Line 1: Line 1:
{{#iferror: {{#expr: abs {{{1|}}} * 5 }}|{{{1|}}}|[http://dw.daftjunk.com/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