Brighter Shores:Templates: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
No edit summary
 
Line 117:
| {{T|Currency}}
| Format currency amounts with images
|-
| {{T|Profession}}
| Format Profession names with images
|-
| {{T|Faction}}
| Format Faction names with images
|-
| {{T|AttackStyle}}
| Format Attack styles with images
|-
| {{T|Key press}}
Line 151 ⟶ 160:
{| class="wikitable"
! style="width:50%" | Template !! Use
|-
| {{T|Infobox Emote}} || Emotes
|-
| {{T|Infobox Episode}} || Episodes

Latest revision as of 06:48, 17 November 2024

Templates are used to duplicate the same content across more than one page. Changing a template in one place will immediately propagate the changes to all the pages that use it.

This page lists templates of this wiki. You can even create a template, just as long as you are sure it will be used on many pages or will benefit the wiki in some way, and that you or another editor can document it well. For more information on templates, check out Wikipedia's template page or Wikimedia's template page.

A list of all Brighter Shores Wiki templates is available at All pages (Template namespace). For a list of templates, see this page. Unused templates can be found at Special:Unusedtemplates.

To insert a template into a page, type {{TemplateName}} (this is known as a tag) somewhere on the page, whether it be at the top or at the bottom or in a certain section. Every page with that tag in it will display the template text. TemplateName is the name after the colon symbol, e.g. the TemplateName for Template:Cleanup is Cleanup, so typing {{Cleanup}} will add that tag to a page.

Article namespace[edit source]

Maintenance[edit source]

Template Use Where to put it
{{Clarify}} Marks that statements need clarification After the unclear statement
{{Cleanup|Reason}} Article needs attention for various reasons Top
{{Incomplete|Reason}} Article missing vital information Top
{{Stub}} The article only contains basic information and there is unknown vital information to add Bottom
{{Sectstub}} Same as above, but for a specific section Underneath the header of the section
{{Source needed}} Marks that statements are disputed After the disputed statement
{{Construction}} The article is undergoing major changes, but not necessarily in progress Top

Related articles[edit source]

Template Use Where to put it
{{Main|article}} Section has a relevant article Section header
{{HasTranscript}} Article has a transcript of dialogue Relevant section

List creation[edit source]

Template Use
{{DropsTableHead}}
{{DropsLine}}
{{DropsTableBottom}}
Drop tables
{{ItemSources}} List of sources for a given item
{{ShopTableHead}}
{{ShopLine}}
{{ShopTableBottom}}
List of stock available in a shop
{{ShopList}} List of shops
{{Alphabetical header}} Create a formatted A–Z table of contents
{{Top}} Link to return to top of the article

Inline templates[edit source]

Template Use
{{Fact}} Statements needs a reliable source cited
{{Sic}} An error exists from the original source
{{AnchorText}} Give the text an id attribute for direct linking
{{Purge}} Add a link to refresh a page cache
{{Section link}} Link to a section of another article

Formatting[edit source]

Template Use
{{Clear}} Clear space after floating elements
{{Nbsp}} Intentional non-breaking spaces
{{=}} Literal "=" to avoid interpretation as syntax
{{*}} Inserts a bold bullet
{{Currency}} Format currency amounts with images
{{Profession}} Format Profession names with images
{{Faction}} Format Faction names with images
{{AttackStyle}} Format Attack styles with images
{{Key press}} Format keyboard strokes

Disambiguation and redirection[edit source]

Not to be confused with redirection pages which use #REDIRECT [[Page title]] on the first line.
Template Use Where to put it
{{Otheruses|description|other|link}} Other uses of the term Top
{{Redirect|Location}} Article is main use of a term, links to disambiguation Top
{{Redirect3|Location|Misc}} Article is main use of a term, link to custom articles Top
{{Confuse|page}} Similarly named articles that might cause confusion Top
{{WP|Article}} Linking to a Wikipedia article inline Inline; best limited to trivia; only use for distinct and unique terms

Infoboxes[edit source]

Template Use
{{Infobox Emote}} Emotes
{{Infobox Episode}} Episodes
{{Infobox Equipment}} Armor
{{Infobox Item}} Items
{{Infobox Monster}} Attackable NPCs
{{Infobox NPC}} Non-attackable NPCs
{{Infobox Profession}} Professions
{{Infobox Quest}} Quests
{{Infobox Recipe}} Recipes
{{Infobox Room}} Rooms
{{Infobox Scenery}} Scenery
{{Infobox Shop}} Shops
{{Infobox Skill Node}} Skill nodes
{{Infobox Spell}} Spells
{{Infobox Weapon}} Weapons

Categorical[edit source]

Template Use Where to put it
{{Disambig}} See Brighter Shores:Disambiguation Bottom
{{Bugged|Reason}} Content is in maintenance, disabled and/or bugged with fix expected in future update/patch. Top
{{Future}} Unreleased content; see Brighter Shores:Future content Top
{{Transcript}} Article is a transcript page Top

Requests[edit source]

Template Use Where to put it
{{D|Reason}} Article needs immediate deletion Top
{{Rfd}} Creating a deletion request Top
{{Rfm|Other article}} Creating a merge request Top
{{Rfs|Other article}} Creating a split request Top

Talk: namespace[edit source]

Template
{{Unsigned|User|Time}}
{{Archive list}}
{{Archive}}

Template: namespace[edit source]

Template Use
{{Navbox}} Main navbox creating template
{{Plink|Item}} Image and text both linking to an item
{{Plinkt|NPC}} Image and text both linking to an item spanning two columns
{{Ctg}} List of categories for a navbox
{{Template only}} Used for category exclusively for templates
{{Mainonly}} Include content only when on namespace; mostly for categories
{{Documentation}} Used on /doc pages; see Brighter Shores:Template policy#Documentation
{{Invokes}} Place on /doc pages of templates that use Lua; see Brighter Shores:Lua
{{=}} Literal "=" to avoid interpretation as syntax
{{*}} Inserts a bold bullet

Module: namespace[edit source]

Templates are used on /doc for module documentation and to link modules that are loaded or required from within the module code.

Template Use
{{No documentation}} Used to mark that the module is missing documentation
{{Documentation}} Used to mark that a module has documentation
{{Invokes}} Use for modules that are invoked from a template
{{Helper module}} Use for modules that contain functions useful to other modules, and documents them. See Template:Helper module for more info.

File: namespace[edit source]

Template Use
{{JPG}} jpeg files of in game content
{{Transparency}} Images that need background removed
{{Translucency}} Images that need background removed from translucent subjects
{{Retake|reason}} Catch all for retaking images

Licensing[edit source]

License name Appearance
{{Emote license|Emote name}}
This is licensed media of a copyrighted computer game.
Type: Emote
Subject: Unknown (edit)
This file is taken from Brightershores.com or the Brighter Shores game client, and its copyright is held by Fen Research Ltd.
{{Equipped item license|Equipped item name}}
This is licensed media of a copyrighted computer game.
Type: Equipped item
Subject: Unknown (edit)
This file is taken from Brightershores.com or the Brighter Shores game client, and its copyright is held by Fen Research Ltd.
{{Interface license|Interface name}}
This is licensed media of a copyrighted computer game.
Type: Interface
Subject: Unknown (edit)
This file is taken from Brightershores.com or the Brighter Shores game client, and its copyright is held by Fen Research Ltd.
{{Item license|Item name}}
This is licensed media of a copyrighted computer game.
Type: Item
Subject: Unknown (edit)
This file is taken from Brightershores.com or the Brighter Shores game client, and its copyright is held by Fen Research Ltd.
{{Monster license|Monster name}}
This is licensed media of a copyrighted computer game.
Type: Monster
Subject: Unknown (edit)
This file is taken from Brightershores.com or the Brighter Shores game client, and its copyright is held by Fen Research Ltd.
{{NPC license|NPC name}}
This is licensed media of a copyrighted computer game.
Type: Non-player character
Subject: Unknown (edit)
This file is taken from Brightershores.com or the Brighter Shores game client, and its copyright is held by Fen Research Ltd.
{{Room license|Room name}}
This is licensed media of a copyrighted computer game.
Type: Room
Subject: Unknown (edit)
This file is taken from Brightershores.com or the Brighter Shores game client, and its copyright is held by Fen Research Ltd.
{{Scenery license|Scenery name}}
This is licensed media of a copyrighted computer game.
Type: Scenery
Subject: Unknown (edit)
This file is taken from Brightershores.com or the Brighter Shores game client, and its copyright is held by Fen Research Ltd.
{{Skill node license|Skill node name}}
This is licensed media of a copyrighted computer game.
Type: Skill node
Subject: Unknown (edit)
This file is taken from Brightershores.com or the Brighter Shores game client, and its copyright is held by Fen Research Ltd.
{{Fair use}}

User talk: namespace[edit source]

Template Use
{{Archive list}} List of previous discussion archives
{{Archive}} Archived page (not required)