Template:Repeat/doc

From PS3 Developer wiki
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]