Scioly.org:Templates

From Wiki - Scioly.org
Jump to: navigation, search

Templates are used for any repetitive piece of information that may found on multiple pages. They are commonly standardized notices, infoboxes, navigational boxes, etc.

A list can be found categorized here.

Template Usage

Translcusion

Unless specified, templates are called through transclusion using this syntax: {{Template name}}. Transclusion is where the wikitext of the edited page will reference the template.

Substitution

Substitution, most notably used for user talk page templates, is done through this syntax: {{subst:Template name}}. Substitution will copy the contents of the template onto the edited page when it's saved. This is done for editing convenience as certain values such as the name of the user are able to be embedded into the wikitext.

Template creation

Generally, avoid editing or adding templates directly unless given permission by a moderator; you may experiment with templates in the Sandbox or create your own Sandbox (e.g. User:EastStroudsburg13/Sandbox).

Common templates will often have meta templates which help with the creation. Examples include: Template:Infobox and Template:Userbox.