Template:Repeat/doc

From PS3 Developer wiki
< Template:Repeat
Revision as of 01:13, 13 December 2012 by Euss (talk | contribs) (Created page with "{{Documentation subpage}} === Usage === <code><nowiki>{{repeat|</nowiki>''text''|''count''<nowiki>}}</nowiki></code> === Examples === *{{xpdop3p3c|repeat|ab|||23}} *{{xpdop3...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage[edit source]

{{repeat|text|count}}

Examples[edit source]

  • "{{repeat|[[:Template:Xpd/code]][[:Template:Xpd/code]][[:Template:Xpd/code]]|[[:Template:Xpd/code]][[:Template:Xpd/code]][[:Template:Xpd/code]]}}[[:Template:Xpd/code]][[:Template:Xpd/code]][[:Template:Xpd/code]][[:Template:Xpd/code]][[:Template:Xpd/code]][[:Template:Xpd/code]][[:Template:Xpd/code]][[:Template:Xpd/code]][[:Template:Xpd/code]]" gives "ababababababababababababababababababababababab" [1]
  • "{{repeat|[[:Template:Xpd/code]][[:Template:Xpd/code]][[:Template:Xpd/code]]|[[:Template:Xpd/code]][[:Template:Xpd/code]][[:Template:Xpd/code]]}}[[:Template:Xpd/code]][[:Template:Xpd/code]][[:Template:Xpd/code]][[:Template:Xpd/code]][[:Template:Xpd/code]][[:Template:Xpd/code]][[:Template:Xpd/code]][[:Template:Xpd/code]][[:Template:Xpd/code]]" gives "ab ab abab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab" [2]
  • {{#expr:{{repeat|ln(10*|20}}1{{repeat|)/ln2|20}}}} gives Expression error: Unrecognized punctuation character "[". (iterative method, solving <math>10x=2^x</math>)

See also[edit source]