FANDOM


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? Edit

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 templatesEdit

The following templates are for use in the article namespace

General wiki templates Edit

For Edit

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

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

Main article Edit

{{main|<main article>}}

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

Right-aligned Table of Contents Edit

{{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 Edit

{{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}}
Bonuses
Aim Power Armour Magic Prayer
0 0 0 0 0
{{Infobox City}}


{{Infobox item}}
Bronze Dagger
No image has been added yet! Please add one!


Released Unknown edit
Quest item No
Members item Unknown edit
Tradeable Yes
Equipable Yes
Stackable No
High alch 6
Low alch 4
Shop price 10
Sale price Unknown edit
Examine Short but pointy
{{Infobox monster}}
Chicken
No image has been added yet! Please add one!


Released Unknown edit
Combat level 1
Hitpoints 3
Hits XP (?) 5.5
Experience (?) 16.5
Fatigue (?) 0.22%
Hostility Invalid - must be 1-5.
Pay-to-play Unknown edit
Poisonous No
Poisonable Yes
Max hit 1
Weakness All
Examine Yep. Definitely a chicken.
{{Infobox NPC}}
Hans
No image has been added yet! Please add one!


Released Unknown edit
Race Human
Quest NPC No
Location Lumbridge
Shop No
Skill requirement None
Quest requirement None
Pay-to-play Unknown edit
Gender Male
Examine He and Frans are here to pump you up
Notable features Unknown edit
{{Infobox prayer}}
The RuneScape Classic Wiki
SpellsMenuTop
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}}
Release date: 4 January 2001 (Update)
Start: Lumbridge Cook
Difficulty: *****
Length: Short
Requirements: None
Items needed: Flour, Milk, Egg
Monsters to kill: None

Article management templates Edit

Stubs Edit

{{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 Edit

{{delete}}

{{d|<reason>}}

Disambiguation articles Edit

{{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}}
Treestump This article is a stub.
You can help by expanding it.
{{delete}}
{{d|<<reason>>}}
{{disambig}}
Fire-Rune This is a disambiguation page, distinguishing subjects with similar names. Runiteore
If an internal link led you here, you may wish to change the link to point directly to the intended article.


{{cleanup}}
Grain This article or section is in need of cleanup.
You can edit this page to improve it.


Talk page templatesEdit

The following templates are for use on talk pages

Welcome Edit

{{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 our 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.

Recent changes is a great first stop, because you can see what pages other people have been editing, and where you can help.
Have any questions? You can ask at the Help desk or on the "discussion" page associated with each article, or post a message on [[User talk:{{{1}}}|my talk page]]!
Need more help? The Community Portal has an outline of the site and links to pages to help you learn how to edit.
Please sign in every time you edit, so that we can recognise an established user.
Remember to sign talk pages with ~~~~ or with the signature button (Button sig) above the editing box.

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



{{welcIP}}

Hi there!

Wiki

Welcome to this Wikia, and thank you for your contributions! 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.
  • If you are new to Wikia or wikis in general, please visit the Community portal for an outline of some of the main parts of the site and links to pages that show you how to edit.
  • Discussion of any aspect of the site, and enquiries, can be made at the 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.
{{unsigned|<username>}} —Preceding unsigned comment added by [[User:|]] ([[User talk:|talk]] • contribs)
{{talkheader}}

This is the talk page for discussing improvements to the RuneScape Classic:Templates article.

  • Be polite
  • Assume good faith
  • Be welcoming
{{archive}}

User page templatesEdit

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 templatesEdit

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 Edit

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 Edit

Templates for use on category pages

General category template Edit

{{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 Edit

{{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 templatesEdit

The following templates are for use within other templates

T is for template Edit

{{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}}
Template documentation (for the template shown above, sometimes hidden or invisible)

Sample template documentation text


Visit Template:Templates/doc to edit this text! (How does this work?)

Where you may find more templatesEdit

  • 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 alsoEdit

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.