Halo Alpha
Halo Alpha
mNo edit summary
mNo edit summary
Tag: rte-source
 
(6 intermediate revisions by 5 users not shown)
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 attrbute. 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;">
 
<!-- start of floated right section -->
 
<!-- start of floated right section -->
<div style="border: 1px solid #ccd2d9;text-align: left; background: #f0f6fa; padding: 0.5em 1em;">
+
<div style="border: 1px solid #4E4E4E;text-align: left; background: #4E4E4E; padding: 0.5em 1em;">
 
<!-- start of slate grey box -->
 
<!-- start of slate grey box -->
 
<center><big>'''Covenant History'''</big></center>
<table style="background: transparent;">
 
  +
*[[Age of Abandonment|<font color=#fff>Age of Abandonment</font>]]
<tr><td><BiG>'''Covenant History'''</BiG></td></tr>
 
  +
*[[Ages of Conflict|<font color=#fff>Age of Conflict</font>]]
<tr>
 
  +
*[[Age of Reconciliation|<font color=#fff>Age of Reconciliation</font>]]
<td>
 
  +
*[[Age of Discovery|<font color=#fff>Age of Discovery</font>]]
*[[Age of Abandonment]]
 
  +
*[[Age of Conversion|<font color=#fff>Age of Conversion</font>]]
*[[Age of Conflict]]
 
*[[Age of Discovery]]
+
*[[Ages of Doubt|<font color=#fff>Age of Doubt</font>]]
  +
*[[Ages of Reclamation|<font color=#fff>Age of Reclamation</font>]]
*[[Age of Doubt]]
 
*[[Age of Reconciliation]]
 
*[[Age of Conversion]]
 
*[[Age of Reclamation]]</td>
 
</tr></table>
 
 
</div><!-- end of slate grey box -->
 
</div><!-- end of slate grey box -->
 
</div><!-- end of floated right section; article starts here -->
 
</div><!-- end of floated right section; article starts here -->
 
A '''template''' on Halo Nation is a preset chunk of coding used on Halo Nation 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 output can be seen at right.
 
 
 
[[Category:Project Pages]]
 
[[Category:Project Pages]]

Latest revision as of 14:11, 1 July 2015

What is a Template?

Main article: Help:Templates

A template on Halo Nation is a preset chunk of coding used on Halo Nation 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 {{Ages}} (see to the right) can be inserted into the page. When the page is saved, the output can be seen at right.

All items (30)