HTMLAdvanced FormattingHTML IntroductionHTML TagsMaking a WebsiteHTML CanvasHTMLCSSCSS IntroductionCSS AdvancedJavaScriptJavascriptHTML CanvasWikia-MLTemplatesBeginner Wikia-MLSandboxesSandbox Page No. 1Sandbox Page No. 2Coding TutorialsExperimentingAdvanced FormattingJavascriptCSS AdvancedHTML IntroductionMaking a WebsiteCSS IntroductionBlog Posts
Coding Sandbox Wiki
All Contributors
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar

New template

There is a new rainbow template! Just type in {{Rainbow}} and it will make a rainbow!

0 17
  • Upvote
  • Reply
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar

Show me how to make one!

0

rainbows are awesome guise

This is how I'd do a custom rainbow template, but it relies on variables being stored and I'm not sure if Wikia can do that:

1) Take the length of the custom input and store it as whatever variable, I dunno: "rainbowlength"

2) Store 1 as a variable too: "counter"

3) Start a loop, and set that loop to repeat "rainbowlength" times.

4) When the counter is 1, make the letter red, add 1 to the counter and move to the next letter.

5) When the counter is 2, make the letter orange, add 1 to the counter and move to the next letter.

6) When the counter is 3... you get the idea.

7) When the counter is 7, do the same, but instead of adding 1, subtract 6, so the counter goes back to 1.

You probably need to do this in Javascript, to be honest.

In my wiki, Sufi2425 made the Support, Neutral and the oppose. And the chat emotes which are created by javasript. 

0

rainbow

Rainbow!!

{{Rainbow}} lol not working

0
Very funny gamer
0

Lol GD Gamer, just type rainbow

obvious sarcasm is obvious

I know I did that for fun.
0
Dat profile pic do
0

Geometry Dash gamer wrote: I know I did that for fun.

I know, I did that for fun.

Write a reply...