Difference between revisions of "Template:Itemdb"

From Discworld MUD Wiki
Jump to: navigation, search
(upd)
m (Text replacement - "http://dw.daftjunk.com" to "https://dw.daftjunk.com")
 
Line 15: Line 15:
 
|Writing
 
|Writing
 
|Paper
 
|Paper
|Utensils={{Ifnumber|{{{1|}}}|[http://dw.daftjunk.com/items/index.php?item{{=}}{{{1|}}} {{{2|}}}]|{{{1|}}}}}
+
|Utensils={{Ifnumber|{{{1|}}}|[https://dw.daftjunk.com/items/index.php?item{{=}}{{{1|}}} {{{2|}}}]|{{{1|}}}}}
|#default={{Ifnumber|{{{1|}}}|[http://dw.daftjunk.com/items/index.php?item{{=}}{{{1|}}} {{{2|Kefka's item database}}}]|{{{1|}}}}}
+
|#default={{Ifnumber|{{{1|}}}|[https://dw.daftjunk.com/items/index.php?item{{=}}{{{1|}}} {{{2|Kefka's item database}}}]|{{{1|}}}}}
 
}}<noinclude>{{documentation}}[[Category:Link templates]]</noinclude>
 
}}<noinclude>{{documentation}}[[Category:Link templates]]</noinclude>

Latest revision as of 13:39, 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 item ID from the URL, and the second one being the word or expression visible to the reader.

{{Itemdb|159|carrot}} would result in this link: carrot