Difference between revisions of "Template:TemplateTutorial"
(alright! Fine! You clearly think you're superior to me in every way, so go ahead! Make this the best it can possibly be. If they're better, I won't revert it. This is a small wiki, and we need to work together.) |
|||
| Line 3: | Line 3: | ||
Step one: Type <code><nowiki>{{YourTemplateName}}</nowiki></code> on whatever page you want your template on. | Step one: Type <code><nowiki>{{YourTemplateName}}</nowiki></code> on whatever page you want your template on. | ||
| β | Step Two: You should see a red line that says <code><nowiki> | + | Step Two: You should see a red line that says <code><nowiki>YourTemplateName</nowiki></code>. Click it. |
Step Three: Add the content of your template by typing it in wikitext. If you want to use a specific image, make sure to upload it first before linking to it in the template. | Step Three: Add the content of your template by typing it in wikitext. If you want to use a specific image, make sure to upload it first before linking to it in the template. | ||
Revision as of 20:01, 26 August 2025
Hello, and welcome to the wiki! Creating a template is simple.
Step one: Type {{YourTemplateName}} on whatever page you want your template on.
Step Two: You should see a red line that says YourTemplateName. Click it.
Step Three: Add the content of your template by typing it in wikitext. If you want to use a specific image, make sure to upload it first before linking to it in the template.
Step Four: Add content to the page that should not be included in the template. This can be done with the noinclude and /noinclude commands.
Step Five: Now that you've added the content of your template, it's time to use it! Use it in a page by typing {{YourTemplateName}} on whatever page you want to use it on. Make sure to not use it on comic pages or comic discussion pages.
Alright! I hope this helped you get started. Now get out there, make your templates, and don't be afraid to ask people for help. This tutorial is merely meant to be a stepping stone, made for basic understanding. Make sure you understand proper template etiquette before using your template on any page other than your own user page or talk page.
