Modul:Hatnote list: Unterschied zwischen den Versionen
add "extratext" functionality to "ForSee" to allow text to be added after it |
K 27 Versionen von skanwiki:Modul:Hatnote_list importiert |
||
| (11 dazwischenliegende Versionen von 6 Benutzern werden nicht angezeigt) | |||
| Zeile 177: | Zeile 177: | ||
end | end | ||
end | end | ||
table.insert(strList, options.extratext) | if options.extratext then table.insert(strList, punctuationCollapse(options.extratext..'.')) end | ||
-- Return the concatenated list | -- Return the concatenated list | ||
return table.concat(strList, ' ') | return table.concat(strList, ' ') | ||