MediaWiki/Editing: Difference between revisions

From Bibliotheca Anonoma
(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...")
 
No edit summary
Line 1: Line 1:
The Bibliotheca Anonoma Wiki has special features and extensions that editors can make use of.
== Creating Templates ==
== Creating Templates ==



Revision as of 09:33, 3 January 2017

The Bibliotheca Anonoma Wiki has special features and extensions that editors can make use of.

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.