Template:Bug/doc

From Dwarf Fortress Wiki
Jump to navigation Jump to search

Used for linking to bugs on the Bug Tracker

See also Category:References to fixed bugs

Usage[edit]

The first parameter is the number of the bug on the bug tracker. Leading 0's aren't necessary.

{{bug|296}}

Bug:296

An optional parameter is a link to the workaround. This should be used temporarily, while the bug is not fixed. If the bug is fixed, remove it from the article. (Rule T)

Note that this parameter is named. You need to use workaround=http://..., not just the link as the second parameter.

{{bug|6290|workaround=http://www.bay12forums.com/smf/index.php?topic=122782.0}}

Bug:6290 (Workaround)

If the workaround is listed in the comments of the bug report, use

{{bug|number|workaround=comments}}

Bug:1 (Workaround in comments)

Linking to an article's "bugs" section[edit]

Some articles have a separate section for bugs. Using this template without a bug number will link to that section. For example,

{{bug}}

produces this: Bug If the section title containing bugs is something other than "Bugs", specify this in the section parameter.

{{bug|section=Usage}}

produces this: Bug (this should jump to the Usage section of this documentation, which does not actually contain bugs).

Bugs[edit]

This is a sample section, which would contain bugs in a real article. It is here to serve as an example for linking to the bugs section.