Modul:Hatnote list: Unterschied zwischen den Versionen
add "." and collapse punctuation for extratext |
K 27 Versionen von skanwiki:Modul:Hatnote_list importiert |
||
| (10 dazwischenliegende Versionen von 5 Benutzern werden nicht angezeigt) | |||
| Zeile 177: | Zeile 177: | ||
end | end | ||
end | end | ||
table.insert(strList, punctuationCollapse(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, ' ') | ||