Neocron Wiki:Templates
From Neocron Wiki
|
Templates
What are they used for, when should they be used, who should use them..etc.
Adding a Template
How to add a template, where to add the template, etc.
Editing a Template
How/why should a template be edited?
Creating a new Template
Guide to creating a new Template
Included CSS commands
Template based CSS commands
Example Templates
An example of the code used to make the {{Move}} template
<center> <div class="tempbox-purple"> <table width="98%" align="center"> <tr> <td width="48px" rowspan="3">[[Image:Icon-move.png|left|48px|Move]] </td> <td>It has been suggested that this article should be moved to '''{{{1}}}''' </td> </tr> <tr> <td>{{hspc}}Please see the [[{{PAGENAME}}:Discussion|discussion]] here for more information</td> </tr> </table> </div> <br> </center> <includeonly>[[Category:candidates_for_moving|{{PAGENAME}}]]</includeonly>
When the template is transcluded onto the page using {{Move|Pagename}} then this is rendered:
It has been suggested that this article should be moved to Pagename | |
|