Module talk:Hatnote list

From Wikispecies
Jump to navigation Jump to search

Error when using for template[edit]

@Pigsonthewing: Hi, could you update this module? I just found out the {{For}} template gives the following script error when used with no parameters:

Lua error in Module:Hatnote_list at line 173: bad argument #1 to '_formatLink' (table expected, got string).

which turns out to be because this module was not updated on this wiki when Module:Hatnote was updated last year. Monster Iestyn (talk) 23:55, 7 September 2021 (UTC)[reply]

@Monster Iestyn: Done; please report any issues. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 14:13, 8 September 2021 (UTC)[reply]
@Pigsonthewing: All good, just checked with the {{For}} template (both without parameters and without the second), the error is now gone and it works as intended. Thanks! Monster Iestyn (talk) 14:45, 8 September 2021 (UTC)[reply]