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)))
m (Text replacement - "http://dw.daftjunk.com" to "https://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|}}}|[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

[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