Caves of Qud Wiki:Style Guide: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
m (→‎Quoting In Game Descriptions: In Game → In-Game)
m (→‎“Creature”: correct luminous hoarshroom favilink)
Line 56: Line 56:
* {{Favilink|giant centipede nest}}
* {{Favilink|giant centipede nest}}
* {{Favilink|yonderbrush}}
* {{Favilink|yonderbrush}}
* {{Favilink|luminous hoarshroom}}
* {{Favilink page|luminous hoarshroom}}
* {{Favilink|pulsed field magnet}}
* {{Favilink|pulsed field magnet}}



Revision as of 03:19, 15 December 2020

The Official Caves of Qud Wiki Style Guide is a standard of editing practices and formatting styles for article contribution. Please follow these guidelines as closely as possible, but use your judgment and/or ask others if you believe a situation calls for breaking or amending them.

This is heavily based on Gamepedia's own Manual of Style.

Article Layout

Page Names

Caves of Qud has all items and creatures titles written in all lowercase, unless the name is proper(Sparafucile vs giant centipede nest). To keep in the same spirit, all items and creatures will follow the same convention against the standard Wiki standard of capitalizing every word. If possible, the capitalization format of the game must be obeyed as much as possible. As an example, all mutations follow standard wiki title convention (Multiple Legs) but cybernetics do not (cherubic visage). Concepts and mechanics that have no official name will follow standard wiki title format.

Headings

When an article is divided into headings, start at level 2 headings, which are written in wiki code == like so ==. This makes it so that all headings in the page are "smaller" than the page title, which is itself a level 1 heading. Unless there is a good reason, don't use level 1 headings (= like this =) in articles or in templates that are meant to be transcluded into articles.

Infoboxes

Infoboxes, boxes which summarize data relating to the article, should appear at the top-right corner of the article content. This includes item tooltips.

Infoboxes should generally summarize available information; speculation, as well as filler rows (e.g., "?", "unknown", "N/A"), should be avoided if possible. Most information required in infoboxes will be in ObjectBlueprints.xml.

Prerelease Content

All content that requires that prerelease content be enabled in order to appear in the game must be prefaced with Template:Prerelease Content.

Book Layout

Book articles should include Template:Item, which is normally generated by Qud Blueprint Explorer. Please do not alter these except through QBE, as they're required in order for QBE to function correctly. The actual contents of the book should appear under a section titled 'Contents', using {{Book Page|(your text here)}) to format each "page", with the 'exact' contents of the book's page data in the game files, including the exact whitespace used.

NPC Layout

NPC articles should include Template:Character, which is normally generated by Qud Blueprint Explorer. Please do not alter these except through QBE, as they're required in order for QBE to function correctly.

Writing

Categories

Categories should be named in their plural form when appropriate, capitalized in title case. E.g., Category:Artifacts. (However, note also Category:Lore, so named because the word "lore" has no common plural form.)

Reliability

To ensure that all information on this wiki is verified and up to date, make sure to include Template:As Of Patch on the top of pages that required manual research or review of the game code.

Infobox updates are performed by QBE and QBE will add a game version footer to the infobox when it updates a page.

To make sure that information is correct in the first place, if it is in a difficult-to-find location (e.g., a C# class whose name is not the ID specified in the page's infobox), be sure to note which C# class you found it in by using Template:Code Reference or, if that template won't work for some reason, a <ref></ref> tag. Line numbers must not be included, because they may be inconsistent across disassemblies/versions.

Formality

Unless the article is a guide, writing in the second person (referring to the reader directly with "you") usually has preferable alternatives. Consider using "the player" or "the player character" instead as appropriate, or something more suited to the context.

Any recommendations or other opinions must be presented only in sections marked with Template:Opinion, in order to help the reader distinguish verifiable fact from other additions.

Terminology

Avoid protagonist bias; many creatures besides the player character are able to use objects and mutations the same way the player does. Avoid mentioning the player character when "this creature" is more accurate to describe the possible users. Do note, for example, when a mutation's effect depends on whether it's used by a player or non-player character, such as Precognition.

“Creature”

A creature is anything with a Brain part in the game data. (Note that this is a distinct notion from having a brain susceptible to psionic attacks.)

The following are creatures:

The following are not creatures:

Depending on the context, exceptions may be made for narrative entities who aren't represented as game objects with brains, such as Ereshkigal, despite the fact that the only thing Ereshkigal has in common with most creatures in the primary sense is that she has in-game dialog attributed to her.

“Monster”

Avoid the word “monster”, except as used in the game. Prefer “creature” instead, regardless of how the player or player character may feel about the creature in question.

Units

The standard unit of liquid, including water, is the "dram". Drams of water in particular (and only drams of water) may also be abbreviated with "$". E.g., "$10" means "ten drams of water".

The standard unit of weight is "#". This has no official verbalization, however, to avoid confusion, it should never be written as "pounds". Consider using Template:Pounds when writing out a weight.

The time between when a creature receives the opportunity to act is a "turn". The 'standard' unit of time is the "game tick", or simply "tick", which is equivalent to one turn for a creature whose quickness is 100.

"Parasang"

A parasang is, depending on context, equivalent to:

  • a world map tile
  • the 3×3 set of surface zones associated with a given world map tile
  • the 3×3×infinity set of zones associated with a given world map tile
  • the distance from one zone to any zone on an adjacent world map tile

Formatting

Links

Phrases that correspond to a relevant article on the wiki, such as the names of concepts in the game, should be linked. However, it is only necessary to link to any given page, or anchor within a page, once. Beyond that, prefer not to link further occurrences.

It's acceptable for automatically generated content in particular to link multiple times, such as tables generated from database lookups.

(See also the Colored Names section.)

Color

The wiki already has a template for the main colors found inside Caves of Qud. Do not directly format the text with html;Template:Color has all hexcodes as well as way to quickly format a line with a single color.

Colored Names

Item names such as Stopsvalinn have multicolor names in game. For ease of use, call Template:Qud text instead of manually changing each letter using the Color Template. If referring to an item or character in its page, use Template:name to automatically make the colored version of the item. If referring to other items and characters with a link, use Template:favilink.

Quoting In-Game Descriptions

When pasting descriptions from objectblueprints, call Template:Qud quote instead of Template:Quote to parse color strings and preserve single line breaks.

Wikitext

For more specific help on wikitext, check Wikipedia's own Help article. For fancier functions, check Wikipedia's Magic Words.

Dice

Format any string representing a dice roll with Template:Dice tooltip.

C# Code

C# code (which will generally only be found in the Modding namespace) should ideally be formatted the same way that Visual Studio Code with Microsoft's C# extension would format it when using the Format command from the command palette. If you need to add code to the wiki but don't have access to VS Code, do your best to follow the style of existing code on the wiki and another editor can put it into the correct format.

References

As a general principle, articles should aspire to help readers discover where to look to verify the information they present, particularly whenever it's not obvious where to look. For this reason, articles should cite in-game sources whenever it aids in this discovery.

For citations to the game's C# code, use Template:Code Reference (see the documentation on that page for a usage example).

It's not necessary to cite the object blueprint for the object that a page is about. However, if some of that object's behavior comes from a part specific to it, the part can be cited using a code reference as described.

All cases not covered by more specific advice can use <ref>ref syntax</ref>.

Whenever an article contains any citations, its very last heading should be a == References == heading, which should in most circumstances be left blank and be filled automatically by the wiki with the citations that were made.

Sprite Uploading

Main article: Sprite Uploading