Template:Loop: Difference between revisions
Content deleted Content added
increased to 300, needed in Template:Shn |
100 more |
||
Line 300: | Line 300: | ||
-->{{#ifexpr:({{{1}}})>298|{{{2}}}}}<!-- |
-->{{#ifexpr:({{{1}}})>298|{{{2}}}}}<!-- |
||
-->{{#ifexpr:({{{1}}})>299|{{{2}}}}}<!-- |
-->{{#ifexpr:({{{1}}})>299|{{{2}}}}}<!-- |
||
-->{{#ifexpr:({{{1}}})>300|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>301|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>302|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>303|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>304|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>305|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>306|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>307|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>308|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>309|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>310|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>311|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>312|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>313|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>314|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>315|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>316|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>317|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>318|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>319|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>320|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>321|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>322|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>323|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>324|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>325|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>326|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>327|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>328|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>329|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>330|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>331|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>332|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>333|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>334|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>335|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>336|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>337|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>338|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>339|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>340|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>341|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>342|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>343|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>344|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>345|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>346|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>347|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>348|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>349|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>350|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>351|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>352|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>353|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>354|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>355|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>356|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>357|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>358|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>359|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>360|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>361|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>362|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>363|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>364|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>365|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>366|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>367|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>368|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>369|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>370|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>371|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>372|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>373|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>374|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>375|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>376|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>377|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>378|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>379|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>380|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>381|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>382|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>383|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>384|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>385|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>386|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>387|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>388|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>389|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>390|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>391|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>392|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>393|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>394|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>395|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>396|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>397|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>398|{{{2}}}}}<!-- |
|||
-->{{#ifexpr:({{{1}}})>399|{{{2}}}}}<!-- |
|||
--></includeonly><noinclude> |
--></includeonly><noinclude> |
||
This template is used to produce a simple loop that can repeat up to 150 times. It is not a real loop, it works by conditionally repeating the string. It is a simple version of {{tl|For}}. To use it, enter:<br /> |
This template is used to produce a simple loop that can repeat up to 150 times. It is not a real loop, it works by conditionally repeating the string. It is a simple version of {{tl|For}}. To use it, enter:<br /> |
Latest revision as of 10:07, 12 October 2010
This template is used to produce a simple loop that can repeat up to 150 times. It is not a real loop, it works by conditionally repeating the string. It is a simple version of {{For}}. To use it, enter:
{{loop|times to repeat|string}}
If string contains an equals sign, you must put "|2=string" instead of "|string". Examples:
- {{loop|4|n}} produces nnnn
- {{loop|25|test}} produces testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttest
- {{#expr:2{{loop|50|*2}}}} produces 2.2517998136852E+15
- {{loop|9|2==}} produces ==== (the "2=" must be present)
- {{loop|3|{{CURRENTYEAR}}}} produces 202420242024