Forum:Repeat template

I'm working on a page where I want to repeat a letter multiple times. I tried creating Template:Repeat and implement it here, but it shows up 1's and 0's instead of X's and nothing. Thanks, Iggyvolz 21:53, April 6, 2012 (UTC)


 * You are using the wrong parser function. Use #ifexpr: instead of #expr:.
 * Alternatively, you could just use the #pad: string function to do that instead.--Gardimuer { ʈalk } 23:36, April 6, 2012 (UTC)


 * Looks like #pad: isn't working for you. Wikia may not have that string function enabled. Luckily, the padleft and padright Magic Words do basically the same thing. Look here for more information: MW:Help:Magic words
 * Examples


 * Result: 000000000A
 * Result: B000000000
 * --Gardimuer { ʈalk } 17:46, April 11, 2012 (UTC)


 * What did I do now? Iggyvolz 01:36, April 12, 2012 (UTC)


 * Your template page contained this code:
 * Notice that the space after the last pipe symbol is empty. Your first parameter  gives the padleft the string to operate on, your second parameter  gives it the number of symbols to pad the string with. The space after the last pipe is supposed to contain the symbol(s) used to pad the string. Since you left it blank, the padleft does nothing.
 * I replaced your template code with the following:
 * Now it works.--Gardimuer { ʈalk } 17:25, April 12, 2012 (UTC)