Difference between revisions of "Template:TemplateTutorial"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
Line 1: Line 1:
 
<noinclude> Hello, and welcome to the wiki! Creating a template is simple.
 
<noinclude> Hello, and welcome to the wiki! Creating a template is simple.
  
Step one: Type <nowiki><code>[[YourTemplateName]]</code></nowiki> 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 <nowiki><code>Template:YourTemplateName</code></nowiki>. Click it.
+
Step Two: You should see a red line that says <code><nowiki>Template: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.
  
Step Four: Add content to the page that should not be included in the template. This can be done with the <nowiki><code><noinclude></code></nowiki> and <nowiki><code></noinclude></code></nowiki> commands.
+
Step Four: Add content to the page that should not be included in the template. This can be done with the <code><nowiki><noinclude></nowiki></code> and <code><nowiki></noinclude></nowiki></code> 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 <nowiki><code>{{YourTemplateName}}</code></nowiki> on whatever page you want to use it on. Make sure to not use it on comic pages or comic discussion pages.
+
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 <code><nowiki>{{YourTemplateName}}</nowiki></code> 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. Thanks for asking, April Fools Update (if I may call you that)!</noinclude>
 
Alright! I hope this helped you get started. Thanks for asking, April Fools Update (if I may call you that)!</noinclude>

Revision as of 13:39, 7 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 Template:YourTemplateName<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 Four: Add content to the page that should not be included in the template. This can be done with the <code><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. Thanks for asking, April Fools Update (if I may call you that)!


Template:AprilFoolsHelp