Module:Lang: Difference between revisions
m 1 revision imported |
w>Trappist the monk +translation user styling; |
||
| Line 1,283: | Line 1,283: | ||
table.insert (translation_t, " </small>"); -- close the <small> HTML tag | table.insert (translation_t, " </small>"); -- close the <small> HTML tag | ||
end | end | ||
table.insert (translation_t, table.concat ({' | table.insert (translation_t, table.concat ({ -- user styling spans match spand from {{gloss}} | ||
'<span class="gloss-quot">\'</span>', -- user styling span for quote marks; use HTML entities to avoid wiki markup confusion | |||
'<span class="gloss-text">', -- open user styling span for the translation | |||
args_t.translation, -- the translation | |||
'</span>', -- close user styling span for the translation | |||
'<span class="gloss-quot">\'</span>' -- user styling span for quote marks | |||
})); | |||
return table.concat (translation_t); -- make a big string and done | return table.concat (translation_t); -- make a big string and done | ||
end | end | ||