Style Guide: Difference between revisions

From Unofficial werewolv.es How To Play
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


Current templates are:
Current templates are:
==Info Boxes==


'''<nowiki>{{roleinfo}}</nowiki>''' is a template for role pages which includes the basic info about that role. It has options which are set by using the <nowiki>|</nowiki> symbol followed by the option name and an equals sign (e.g. |alignmentstatus=) and then whatever comes after the equals sign is included on that line. It is included near the top of every role page.
'''<nowiki>{{roleinfo}}</nowiki>''' is a template for role pages which includes the basic info about that role. It has options which are set by using the <nowiki>|</nowiki> symbol followed by the option name and an equals sign (e.g. |alignmentstatus=) and then whatever comes after the equals sign is included on that line. It is included near the top of every role page.


'''<nowiki>{{iteminfo}}</nowiki>''' is a template for item pages which includes the basic info about that item. It has options which are set by using the <nowiki>|</nowiki> symbol followed by the option name and an equals sign (e.g. |itempassivestatus=) and then whatever comes after the equals sign is included on that line. It is included near the top of every item page.
'''<nowiki>{{iteminfo}}</nowiki>''' is a template for item pages which includes the basic info about that item. It has options which are set by using the <nowiki>|</nowiki> symbol followed by the option name and an equals sign (e.g. |itempassivestatus=) and then whatever comes after the equals sign is included on that line. It is included near the top of every item page.
'''<nowiki>{{Aurainfo}}</nowiki>''' is a template for showing what auras are present when holding an item or under the effect of a specific mechanic.
'''<nowiki>{{Runehelp}}</nowiki>''' is a template which simply informs the user that the item being viewed is a rune and links to the [[Runes]] page for more information on the mechanics of runes.
==Lists==
'''<nowiki>{{Auralist}}</nowiki>''' is a template for listing the known auras in the game. Having this as a template allows us to update it once and it can appear on numerous pages. It is a table with no specific variables.
'''<nowiki>{{RuneList}}</nowiki>''' is a template which simply lists the known runes, so that it can be easily displayed on the [[Items]] page and on the [[Runes]] page without having to be updated twice.




==Notifications==


'''<nowiki>{{missing info}}</nowiki>''' should be put within a section of an article that is missing non-essential information. Non-essential information are things like role text, ability text and item text. <small> [https://unofficialhowtoplay.co.uk/index.php?title=Special%3AWhatLinksHere&target=Template%3Amissing+info&namespace= Show all pages that include this] </small>
'''<nowiki>{{missing info}}</nowiki>''' should be put within a section of an article that is missing non-essential information. Non-essential information are things like role text, ability text and item text. <small> [https://unofficialhowtoplay.co.uk/index.php?title=Special%3AWhatLinksHere&target=Template%3Amissing+info&namespace= Show all pages that include this] </small>

Revision as of 11:22, 24 November 2020

When editing there are some templates you can use to make life easier. Templates are special pages that can be edited by searching for Template:<name> in the search box. Once edited, the changes appear in all instances of the template, so they are useful for when information is needed in multiple places at once, or to make editing easier and less repetitive.

Current templates are:

Info Boxes

{{roleinfo}} is a template for role pages which includes the basic info about that role. It has options which are set by using the | symbol followed by the option name and an equals sign (e.g. |alignmentstatus=) and then whatever comes after the equals sign is included on that line. It is included near the top of every role page.

{{iteminfo}} is a template for item pages which includes the basic info about that item. It has options which are set by using the | symbol followed by the option name and an equals sign (e.g. |itempassivestatus=) and then whatever comes after the equals sign is included on that line. It is included near the top of every item page.

{{Aurainfo}} is a template for showing what auras are present when holding an item or under the effect of a specific mechanic.

{{Runehelp}} is a template which simply informs the user that the item being viewed is a rune and links to the Runes page for more information on the mechanics of runes.

Lists

{{Auralist}} is a template for listing the known auras in the game. Having this as a template allows us to update it once and it can appear on numerous pages. It is a table with no specific variables.

{{RuneList}} is a template which simply lists the known runes, so that it can be easily displayed on the Items page and on the Runes page without having to be updated twice.


Notifications

{{missing info}} should be put within a section of an article that is missing non-essential information. Non-essential information are things like role text, ability text and item text. Show all pages that include this

{{incomplete}} should be put at the top of any article that you're leaving as a work in progress and is missing essential information. This essentially means there is not enough information to adequately understand this page. Show all pages that include this

{{uncertain}} should be put at the top of any article which contains information that is unknown or uncertain and needs discussion. This is especially useful for new roles or items where not all the details are yet known. Show all pages that include this

{{formatting}} should be put at the top of any article that needs formatting correctly or contains formatting errors Show all pages that include this


The "Discussion" tab on that page should be where this is then discussed and a convention agreed.