Template:Repeat

From PS3 Developer wiki
Jump to: navigation, search
[edit] Template documentation

Usage[edit]

{{repeat|text|count}}

Examples[edit]

  • "{{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: Unrecognised punctuation character "[". (iterative method, solving <math>10x=2^x</math>)

See also[edit]

mk:Шаблон:Повтори