Help:Templates: Difference between revisions

no edit summary
No edit summary
Line 3: Line 3:
==Example==
==Example==


The template <nowiki>{{Flood}}</nowiki> as shown below can be added to every single page that talks about the [[Flood]].   This allows the user to jump to other Flood Forms and if another Flood form is discovered then only one file, the Flood template file, needs to be edited.
The template <nowiki>{{Halo armours}}</nowiki> as shown below can be added to every single page that talks about the different armours in Halo. This allows the user to jump to other Flood Forms and if another Flood form is discovered then only one file, the Flood template file, needs to be edited.


{{Flood}}
{{Halo armours}}


==More Uses==
==More Uses==
Line 15: Line 15:
==To Insert a Template==
==To Insert a Template==


To insert a template,  all templates are displayed [[:Category:Templates|on this page]]. The code that inserts a template into an article is always between double curly brackets - <nowiki>{{Insert Template Name Here}}</nowiki>.  ex. <nowiki>{{Flood}}</nowiki>
To insert a template,  all templates are displayed [[:Category:Templates|on this page]]. The code that inserts a template into an article is always between double curly brackets - <nowiki>{{Insert Template Name Here}}</nowiki>.  ex. <nowiki>
{{Halo armours}}</nowiki>


==Creating a Template==
==Creating a Template==
Line 23: Line 24:
==Editing a Template==
==Editing a Template==


Before you edit a template be wary of your changes as they will be reflected across many, in the some case dozens of pages.  To edit a Template you just type in the search box "Template:Template Name Here".  For example to edit the Flood Template type "Template:Flood" in the search box.
Before you edit a template be wary of your changes as they will be reflected across many, in the some case dozens of pages.  To edit a Template you just type in the search box "Template:Template Name Here".  For example to edit the Flood Template type "Template:Halo armours" in the search box.


==Advanced Templates==
==Advanced Templates==
Anonymous user