Latest Neocron News and Information

  • New test server patch #545 has been released to Vedeena

Difference between revisions of "Neocron Wiki:Templates"

From Neocron Wiki
Jump to: navigation, search
m (Protected "Neocron Wiki:Templates" [edit=sysop:move=sysop])
(No difference)

Revision as of 22:40, 26 March 2008

Wiki-article.png


New.png

For a list of all current templates go here

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:

Move
It has been suggested that this article should be moved to Pagename
Please see the discussion here for more information