Category:Templates: Difference between revisions
→What is a Template?
mNo edit summary |
|||
Line 1: | Line 1: | ||
== What is a Template? == | == What is a Template? == | ||
{{Main|Help:Templates}} | {{Main|Help:Templates}} | ||
A '''template''' on Halopedia is a preset chunk of coding used on Halopedia that denotes a page's certain | A '''template''' on Halopedia is a preset chunk of coding used on Halopedia that denotes a page's certain attribute. What does that mean? For example, if you want to add the Covenant Ages to an article, the template known as <nowiki>{{Ages}}</nowiki> (see to the right) can be inserted into the page. When the page is saved, the following will show up: | ||
<div style="float: right; margin: 0 0 1em 2em; width: 15em; text-align: right; font-size: 0.86em; font-family: lucida grande, sans-serif; line-height: normal;"> | <div style="float: right; margin: 0 0 1em 2em; width: 15em; text-align: right; font-size: 0.86em; font-family: lucida grande, sans-serif; line-height: normal;"> |