Hyun's Dojo Wiki
Advertisement

In this wiki, and practically every other wiki, there exists an anomaly called "Templates". Most pages on this wiki use many different templates, and, true to their name, they are templates used to hold information for easy access. Anyone with an account can create a template on here, by going to  https://hyunsdojo.wikia.com/wiki/Template:TEMPLATE_NAME in the top url bar and just replacing "TEMPLATE_NAME" with whatever you want to name your template. From there you can choose what type of template you want and start template-ing away!


A wiki template can be best compared to a symbol in Flash. Both symbols and templates can be used to store information in one section to be used later (or sooner). For flash, it is another timeline within the symbol, and for templates, it's another wiki page within the template.  If you understand how symbols work, then you understand how templates work.



In order to use your templates, use 2 curly braces surrounding the name of your template in the source code of the article you want your template to be displayed, as such:

{{TEMPLATE_NAME}}

Like a Flash symbol, the template will display the information that you give to its template page. For example, I have a template named Lorem. Its template name will be {{Lorem}}. In Lorem's template page , I've put:

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. (Sample text)

Now, instead of having to copy & paste the sample text out on every article that I want it put, I can simply type {{Lorem}} in the source code and it will say:

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. (Sample text)


Also, edits made on the template page will transpire on all articles using the template, which is helpful if you have some content you plan on constantly updating on a lot of articles.

Similarly, like how you can nest symbols, you can "nest" templates! The duelist template that I made uses this round header template inside of it, for instance. 

So those are the basics of templates, not to be confused with tags (I'll save tags for a later article). Hopefully this clears up any questions about templates before anyone could ask them... Feel free to comment if you need any more help!

Dump kiss
Advertisement