RuneScape Classic Wiki
Register
Advertisement

There are many templates in use in RuneScape Classic Wiki; these are only a subset, representing some of the most important and commonly used ones. If you feel that a template belongs on this page, do not hesitate to add it.

  • Category:Templates should cover all templates in the wiki, categorized into the various subcategories.
  • The Template namespace (found from Special:Allpages) always has all templates in the wiki, sorted alphanumerically.

What are templates?

Wiki templates provide a means to insert the same content over and over in different (or the same) pages. This saves editors the hassle of duplicating the same text again and again, and also helps ensure consistency.

Templates are generally shown with the format required to use the template (e.g. {{stub}}). Clicking the template name takes you to the template's page, where you can see what it looks like and how it is used.

Detailed instructions on the usage of each template should exist on:

  1. a subpage using {{documentation}}; or
  2. the template page itself (inside "noinclude" tags); or
  3. the template's talk page.

For more information on templates, see Help:Templates.

Article templates

The following templates are for use in the article namespace

General wiki templates

For

{{for|<name>|<link>}}

  • Use at the top of articles as a simple "for x see y" template.

Main article

{{main|<main article>}}

  • Use at the start of a section to link to the main article on it.

Right-aligned Table of Contents

{{tocright}}

  • This template floats the table of contents (toc) on the right. It should only be used when absolutely necessary, to keep consistent design.

Clear

{{clear}}

  • This template is used to reduce the amount of non-wikicode used on pages, replacing the code <br style="clear:both;" />. Its use should generally be avoided.
  • You can use {{clear}} instead of the HTML tag that clears space below things like images, pictures and tables, so the following stuff doesn't begin until the bottom of the image, picture or table box.
  • You can also use {{clear|<left>}} or {{clear|<right>}} to clear only left or right floats.
This code... Produces this...
{{for|<<name>>|<<link>>}}
For <name>, see [[<link>]].
{{main|<<mainarticle>>}}
Main article: [[<mainarticle>]]
{{Infobox Bonuses}}
{{Infobox City}}
East Ardougne
Please add a map!
Nicknames East Ardy
Released Unknown edit
Members area Yes
Kingdom Kandarin
Leader King Lathas
Inhabitants / Race Humans
Teleportation Ardougne Teleport, Spirit Tree network
Banks 2
Altars 1
Guilds Legends
{{Infobox item}}
{{Infobox monster}}
Chicken
No image has been added yet! Please search for an existing image to use or upload one if needed.
Generally speaking, the image filename should match the monster's display name and be in PNG format.
Released Unknown date edit (Unknown update edit)
Pay-to-play Unknown edit
Combat level 1
Max hit 1
Stats (?) Unknown edit
Hitpoints 3
Experience (?) 16.5
Ranged XP (?) 22
Hits XP (?) 5.5
Fatigue (?) 0.22%
Hostility Invalid - must be 1-5.
Poisonous No
Poisonable Yes
Weakness All
Examine Yep. Definitely a chicken.
{{Infobox NPC}}
{{Infobox prayer}}
The RuneScape Classic Wiki
Button1Button2B3Button4Button5Button6
Spells header
Magic Prayers
Level 1: Thick skin
Level 4: Burst of strength
Level 7: Clarity of thought
Level 10: Rock skin
Level 13: Superhuman strength
Level 16: Improved reflexes
Level 19: Rapid restore
Level 22: Rapid heal
Level 25: Protect items
Level 28: Steel skin
Level 31: Ultimate strength
Level 34: Incredible reflexes
Level 37: Paralyze monster
Level 40: Protect from missiles
Level 1: Templates
Increases Defense by 5%
Drain rate: 5
{{quest details}} ==Quest details==
Name: Templates
Release date: 4 January 2001 (Update)
Pay-to-play: Unknown edit
Start: Lumbridge Cook
Difficulty:
*****
Length: Short
Requirements: None
Items needed: Flour, Milk, Egg
Monsters to defeat: None
Recommended: Unknown edit

Article management templates

Stubs

{{stub}}

  • When a page has little or no useful information, then it is likely a stub. This template will include them in Category:Stubs, and is used to list which articles need expanding.
  • For more information, see Help:Stubs.

Nominate an article for deletion

{{delete}}

{{d|<reason>}}

Disambiguation articles

{{disambig}}

  • If you have several articles that have similar or identical names, you may wish to create a "disambiguation" page at the main article name, with the articles taking an extra phrase in brackets afterwards. For example:
The Prince <-- disambiguation page, with links to:
The Prince (frog)
The Prince (human)
This code... Produces this...
{{stub}}
{{delete}}
{{d|<<reason>>}}
{{disambig}}
Fire-Rune This is a disambiguation page, distinguishing subjects with similar names. Runite rock
If an internal link led you here, you may wish to change the link
to point directly to the intended article.
{{cleanup}}

Talk page templates

The following templates are for use on talk pages

Welcome

{{welcIP}} and {{welcome}}

  • The first (with longer version "welcomeIP" for those of you who like typing more) is to welcome new non-vandalistic contributors who are "anonymous", identified only by their IP number; it encourages them to register.
  • The second template is for welcoming new registered users. Should be customized for the wiki, indicating the pages we most want newcomers to visit.
  • The above two templates are very suitable for having "subst:" prefixed, because they can be edited with additions or deletions appropriate to the apparent strengths of the person being welcomed; e.g. if the contributor has already demonstrated good wiki editing skills you could delete references to pages about "how to edit".
This code... Produces this...
{{welcome}} ==Hi there!==
Wiki

Welcome to the RuneScape Classic Wiki, Templates, and thank you for your contributions! There's a lot to do around here, so I hope you'll stay with us and make many more improvements.

  • Recent changes is a great first stop because you can see what pages other people have been editing, and where you can help.
  • You can find articles looking for expansion known as Stubs or articles requesting specific details in the Tagged articles category.
  • Please sign in every time you edit, so that we can recognize an established user.
  • Remember to sign talk pages with ~~~~ or with the signature button (Button sig) above the editing box.

I'm happy to have you here and look forward to working with you!

~~~~

{{welcIP}} ==Hi there!==
Wiki

Welcome to the RuneScape Classic Wiki, and thank you for your contributions! There's a lot to do around here, so I hope you'll stay with us and make many more improvements. We invite you to log in and create a user name.

Creating a user name is free and takes only a minute and it gives you greater anonymity if that is your wish. In addition, it is easier for other contributors to ask you questions and help you.

  • Of course, we hope you continue to make contributions, even if not logged in, as doing so is not a requirement.
  • If you are new to Fandom or wikis in general, please visit the Community Portal for an outline of the site and links to pages to help you learn how to edit, as does Help:Contents and Help:Index.
  • Discussion of any aspect of the site, and enquiries, can be made in the Maple Grove forum or on the "discussion" page associated with each article. Please sign and date your contributions there, so that readers know "who to talk to" and whether your message is probably still of current interest.

I'm happy to have you here and look forward to working with you!

~~~~

{{unsigned|<username>}} —Preceding unsigned comment added by: [[User:|]] ([[User talk:|talk]] • contribs)
{{talkheader}}
{{archive}}

User page templates

The following templates are for use on user pages

See also Userboxes

This code... Produces this...
{{highscores}}

Highscores

RunesScape Classic Wiki
Staff
Attack 1 Edit
Hits 10 Edit
Mining 1 Edit
Strength 1 Edit
Agility 1 Edit
Smithing 1 Edit
Defense 1 Edit
Herblaw 1 Edit
Fishing 1 Edit
Ranged 1 Edit
Thieving 1 Edit
Cooking 1 Edit
Prayer 1 Edit
Crafting 1 Edit
Firemaking 1 Edit
Magic 1 Edit
Fletching 1 Edit
Woodcut 1 Edit
Quest 0 Edit
Total 27
Combat 3.5
{{goal}}
Mining
72 85
27% 13 2,358,594 xp

Image templates

The following templates are for use with images

This code... Produces this...
{{transparent}}
{{jpeg}}
{{gif}}
{{move}}
Move This page should be moved to the title "NO TITLE GIVEN" because NO REASON GIVEN

Image copyright templates

This code... Produces this...
{{Cc-by-sa-3.0}}
90px-CC_some_rights_reserved.svg.png
24px-Cc-by_new_white.svg.png 24px-Cc-sa_white.svg.png
This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 License.
{{Fairuse}}

This file is copyrighted. It will be used in a way that qualifies as fair use under US copyright law.

{{From Wikimedia}}

This file was originally uploaded on Wikipedia or another Wikimedia project.

{{GFDL}}

This file is licensed under the GFDL.

{{No license}}

This file does not have information on its copyright status.

{{Other free}}

This file is licensed under a free license.

{{PD}}

This file is in the public domain

{{Permission}}

This file is copyrighted. The copyright holder has given permission for its use.

{{Self}}

This file was uploaded by the photographer or author.

Category templates

Templates for use on category pages

General category template

{{category}}

  • This can be added to categories to add general categorising details. Use in cases where it may be useful to point out to users how to categorise, such as popular categories.

Template category template

{{templatecategory}}

  • This should be added to any template-related categories, to list template-specific categorising details, which differ from those of normal pages.
This code... Produces this...
{{category}} To add an article, image, or category to this category, append [[Category:Templates]] to the end of its page.
{{templatecategory}} ==Using this category==

To put a template in Category:Templates:

  • Use <includeonly>[[Category:Templates|{{PAGENAME}}]]</includeonly> on the documentation page (see Template:Documentation for more info). The "<includeonly>" tags are necessary to prevent categorizing all pages using the template (and the documentation page) in the template category! Please also note the |{{PAGENAME}}.
  • If your template is meant to be used in-line, try and make sure that there are as few line feeds (breaks, whitespace, etc.) as possible.
  • Remember that a template can be put in multiple categories if it belongs to them all!
  • Or, if this is not quite the right category, go back to Category:Templates and try to find a better suited subcategory.
{{imagecategory}} ==How to add your own image==
  • To upload images, visit Special:Upload.
  • When uploading them, please add a description and category in the summary box.
  • To add an image to this category, put [[Category:Templates]] in that image article.
  • Add to a page by using the Gallery widget or by using the code [[Image:Filename.jpg|thumb|Caption]]

Template templates

The following templates are for use within other templates

T is for template

{{t|<template>}}

  • This template allows you to show example template code (with a link to the templates) without using the template itself. It is used extensively on this page.
This code... Produces this...
{{t|<<template>>}} {{[[Template:<template>|<template>]]}}
{{documentation}}

Documentation icon Template documentation [edit] [purge]

This documentation is transcluded from RuneScape Classic:Templates/doc.

Where you may find more templates

  • Wikia Templates
  • Wikipedia; may be copied with the proper acknowledgment, but some need tweaking to work properly on Wikia, so use a Wikia one if possible.

See also

Advertisement