Difference between revisions of "Template:Itemdbnpc"

From Discworld MUD Wiki
Jump to: navigation, search
m (Protected "Template:Itemdbnpc": Autoprotecting high volume page ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
(update url : daftjunk.com/dw -> dw.daftjunk.com)
 
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

[edit]

Documentation
 

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