Modul:Text: Unterschied zwischen den Versionen
2017-09-01
w>PerfektesChaos (2017-04-05) |
w>PerfektesChaos (2017-09-01) |
||
| Zeile 1: | Zeile 1: | ||
local Text = { serial = "2017- | local Text = { serial = "2017-09-01", | ||
suite = "Text" } | suite = "Text" } | ||
--[=[ | --[=[ | ||
| Zeile 36: | Zeile 36: | ||
eu = "la", | eu = "la", | ||
fi = "rd", | fi = "rd", | ||
fr = " | fr = "laSPC", | ||
ga = "ld", | ga = "ld", | ||
he = "ldla", | he = "ldla", | ||
| Zeile 61: | Zeile 61: | ||
sl = "bd", | sl = "bd", | ||
sq = "la", | sq = "la", | ||
sr = " | sr = "bx", | ||
sv = "rd", | sv = "rd", | ||
th = "ld", | th = "ld", | ||
| Zeile 77: | Zeile 77: | ||
QuoteType = { bd = { { 8222, 8220 }, { 8218, 8217 } }, | QuoteType = { bd = { { 8222, 8220 }, { 8218, 8217 } }, | ||
bdla = { { 8222, 8220 }, { 171, 187 } }, | bdla = { { 8222, 8220 }, { 171, 187 } }, | ||
bx = { { 8222, 8221 }, { 8218, 8217 } }, | |||
la = { { 171, 187 }, { 8249, 8250 } }, | la = { { 171, 187 }, { 8249, 8250 } }, | ||
laSPC = { { 171, 187 }, { 8249, 8250 }, true }, | |||
labd = { { 171, 187 }, { 8222, 8220 } }, | labd = { { 171, 187 }, { 8222, 8220 } }, | ||
lald = { { 171, 187 }, { 8220, 8221 } }, | lald = { { 171, 187 }, { 8220, 8221 } }, | ||
| Zeile 115: | Zeile 117: | ||
local quotes = QuoteType[ suite ] | local quotes = QuoteType[ suite ] | ||
if quotes then | if quotes then | ||
local space | |||
if quotes[ 3 ] then | |||
space = " " | |||
else | |||
space = "" | |||
end | |||
quotes = quotes[ advance ] | quotes = quotes[ advance ] | ||
if quotes then | if quotes then | ||
r = mw.ustring.format( "%s%s%s", | r = mw.ustring.format( "%s%s%s%s%s", | ||
mw.ustring.char( quotes[ 1 ] ), | mw.ustring.char( quotes[ 1 ] ), | ||
space, | |||
apply, | apply, | ||
space, | |||
mw.ustring.char( quotes[ 2 ] ) ) | mw.ustring.char( quotes[ 2 ] ) ) | ||
end | end | ||