MediaWiki/Editing

From Bibliotheca Anonoma
Revision as of 09:32, 3 January 2017 by Antonizoon (talk | contribs) (Created page with "== Creating Templates == When creating a template meant for users to utilize, you should place a <code><nowiki>{{Template}}</nowiki></code> header into it. {{Note|Templates...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Creating Templates

When creating a template meant for users to utilize, you should place a {{Template}} header into it.

Note: Templates meant for internal template use only do not need this header.

This template should be added at the very beginning of all template pages between 'noinclude' tags:

<noinclude>
{{Template}}
</noinclude>

A brief description of the template, usage instructions, and output example should also be added between the 'noinclude' tags (as in this template).

The template wikitext must be written between 'includeonly' tags:

<includeonly>...</includeonly>
Note: Template documentation is set up the same way as in the Arch Wiki: inside <includeonly></includeonly> tags. This is simpler than the Wikipedia template documentation, which puts it in a subpage.