Moduł:Garnweidner1994/STR
Dokumentacja modułu
[stwórz] [ ]
Zobacz podstrony tego modułu.
|
local p = {}
function p.STR(frame)
local nr = frame.args[1] and tonumber(mw.text.trim(frame.args[1]))
if(not nr) then return end
if 0 < nr and nr < 5 then result = "8" end
if 4 < nr and nr < 8 then result = "10" end
if 7 < nr and nr < 11 then result = "12" end
if 10 < nr and nr < 15 then result = "14" end
if 14 < nr and nr < 19 then result = "16" end
if 18 < nr and nr < 25 then result = "18" end
if 24 < nr and nr < 29 then result = "20" end
if 28 < nr and nr < 33 then result = "22" end
if 32 < nr and nr < 37 then result = "24" end
if 36 < nr and nr < 39 then result = "26" end
if 38 < nr and nr < 43 then result = "28" end
if 42 < nr and nr < 46 then result = "30" end
if 45 < nr and nr < 50 then result = "32" end
if 49 < nr and nr < 56 then result = "34" end
if 55 < nr and nr < 58 then result = "36" end
if 57 < nr and nr < 62 then result = "38" end
if 61 < nr and nr < 68 then result = "40" end
if 67 < nr and nr < 74 then result = "42" end
if 73 < nr and nr < 79 then result = "44" end
if 78 < nr and nr < 83 then result = "46" end
if 82 < nr and nr < 88 then result = "48" end
if 87 < nr and nr < 94 then result = "50" end
if 93 < nr and nr < 100 then result = "52" end
if 99 < nr and nr < 105 then result = "54" end
if 104 < nr and nr < 109 then result = "56" end
if 108 < nr and nr < 113 then result = "58" end
if 112 < nr and nr < 115 then result = "60" end
if 114 < nr and nr < 118 then result = "62" end
if 117 < nr and nr < 122 then result = "64" end
if 121 < nr and nr < 125 then result = "66" end
if 124 < nr and nr < 129 then result = "68" end
if 128 < nr and nr < 133 then result = "70" end
if 132 < nr and nr < 136 then result = "72" end
if 135 < nr and nr < 141 then result = "74" end
if 140 < nr and nr < 144 then result = "76" end
if 143 < nr and nr < 146 then result = "78" end
if 145 < nr and nr < 148 then result = "80" end
if 147 < nr and nr < 151 then result = "82" end
if 150 < nr and nr < 155 then result = "84" end
if 154 < nr and nr < 157 then result = "86" end
if 156 < nr and nr < 161 then result = "88" end
if 160 < nr and nr < 165 then result = "90" end
if 164 < nr and nr < 168 then result = "92" end
if 167 < nr and nr < 171 then result = "94" end
if 170 < nr and nr < 175 then result = "96" end
if 174 < nr and nr < 178 then result = "98" end
if 177 < nr and nr < 181 then result = "100" end
if 180 < nr and nr < 185 then result = "102" end
if 184 < nr and nr < 190 then result = "104" end
if 189 < nr and nr < 194 then result = "106" end
if 193 < nr and nr < 198 then result = "108" end
if 197 < nr and nr < 204 then result = "110" end
if 203 < nr and nr < 209 then result = "112" end
if 208 < nr and nr < 211 then result = "114" end
if 210 < nr and nr < 214 then result = "116" end
if 213 < nr and nr < 217 then result = "118" end
if 216 < nr and nr < 220 then result = "120" end
if 219 < nr and nr < 223 then result = "122" end
if 222 < nr and nr < 226 then result = "124" end
if 225 < nr and nr < 229 then result = "126" end
if 228 < nr and nr < 231 then result = "128" end
if 230 < nr and nr < 234 then result = "130" end
if 233 < nr and nr < 237 then result = "132" end
if 236 < nr and nr < 241 then result = "134" end
if 240 < nr and nr < 244 then result = "136" end
if 243 < nr and nr < 247 then result = "138" end
if 246 < nr and nr < 250 then result = "140" end
if 249 < nr and nr < 253 then result = "142" end
if 252 < nr and nr < 256 then result = "144" end
if 255 < nr and nr < 259 then result = "146" end
if 258 < nr and nr < 263 then result = "148" end
if 262 < nr and nr < 266 then result = "150" end
if 265 < nr and nr < 269 then result = "152" end
if 268 < nr and nr < 272 then result = "154" end
if 271 < nr and nr < 276 then result = "156" end
if 275 < nr and nr < 279 then result = "158" end
if 278 < nr and nr < 281 then result = "160" end
if 280 < nr and nr < 284 then result = "162" end
if 283 < nr and nr < 288 then result = "164" end
if 287 < nr and nr < 291 then result = "166" end
if 290 < nr and nr < 294 then result = "168" end
if 293 < nr and nr < 298 then result = "170" end
if 297 < nr and nr < 303 then result = "172" end
if 302 < nr and nr < 306 then result = "174" end
if 305 < nr and nr < 309 then result = "176" end
if 308 < nr and nr < 311 then result = "178" end
if 310 < nr and nr < 317 then result = "180" end
if 316 < nr and nr < 321 then result = "182" end
if 320 < nr and nr < 325 then result = "184" end
if 324 < nr and nr < 329 then result = "186" end
if 328 < nr and nr < 333 then result = "188" end
if 332 < nr and nr < 336 then result = "190" end
if 335 < nr and nr < 340 then result = "192" end
if 339 < nr and nr < 344 then result = "194" end
if 343 < nr and nr < 348 then result = "196" end
if 347 < nr and nr < 352 then result = "198" end
if 351 < nr and nr < 355 then result = "200" end
if 354 < nr and nr < 358 then result = "202" end
if 357 < nr and nr < 362 then result = "204" end
if 361 < nr and nr < 365 then result = "206" end
if 364 < nr and nr < 367 then result = "208" end
if 366 < nr and nr < 372 then result = "210" end
if 371 < nr and nr < 377 then result = "212" end
if 376 < nr and nr < 381 then result = "214" end
if 380 < nr and nr < 384 then result = "216" end
if 383 < nr and nr < 386 then result = "218" end
if 385 < nr and nr < 390 then result = "220" end
if 389 < nr and nr < 393 then result = "222" end
if 392 < nr and nr < 396 then result = "224" end
if 395 < nr and nr < 399 then result = "226" end
if 398 < nr and nr < 402 then result = "228" end
if 401 < nr and nr < 406 then result = "230" end
if 405 < nr and nr < 411 then result = "232" end
if 410 < nr and nr < 415 then result = "234" end
return result end
return p