قالب:Bug/Doc
محتويات
Summary
This template allows for the consistent presentation of bugs and their easy categorization.
Parameters
Parameter | Scope | Description | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
description or 1 | required | A brief description of the bug. | ||||||||||||||||||||||||||
fixedby or 2 | optional | The name of the patch that fixes the bug.
|
||||||||||||||||||||||||||
fixversion or 3 | optional | Adds a version number to the fix text. | ||||||||||||||||||||||||||
fixdetail or 4 | optional | Extra detail about the nature of the fix if this isn't obvious from context. This changes the fix text to read "This issue has been addressed by <patch>; <fixdetail>". Trailing punctuation must be added to the parameter. (In practice, the previous automatic period confused more people than it helped, and made parenthetical notes and other customizations impossible.) | ||||||||||||||||||||||||||
confirmed | optional | Adds unfixed bugs to the "Confirmed Bugs" category. If missing, blank, or 0, bugs are instead added to the "Unconfirmed Bugs" category.
Bugs can be marked as confirmed when either multiple people have experienced the bug and reported it online, or if a bug is experienced in game and the reason for it can be confirmed in the Creation Kit. In the latter case, use the modnotes parameter to document the reason. |
||||||||||||||||||||||||||
dlc | optional | This alters the category used so it's easier to determine and correct DLC-specific bugs. Please use either the full name (e.g., "Dawnguard") or the common two-letter abbreviation, as listed below.
|
||||||||||||||||||||||||||
section | optional | Specifies a talk page section relevant to the bug for unconfirmed bugs. | ||||||||||||||||||||||||||
modnotes | optional | Detail about where the cause of the bug lies and how to fix it. By default, this will not display for most users. May be overridden by specifying a style for the modnotes class in common.css which includes a "display:inline" property (or similar, according to the user's preference). | ||||||||||||||||||||||||||
trackerid | optional | Adds a link to the specified bug description on the unofficial fix website. | ||||||||||||||||||||||||||
nobullet | optional | If non-blank, causes the template not to include the usual level of bulleting. Used purely for formatting purposes. | ||||||||||||||||||||||||||
nocat | optional | If non-blank, does not add the bug to any categories. | ||||||||||||||||||||||||||
nofixmsg | optional | If non-blank, does not display the "This bug is fixed" message. |
Examples
The categories for the bug examples below assume they're being placed in appropriate namespaces.
Just the bug
{{bug|There's something wrong.}}
- There's something wrong. ?
This would also add the page to the category (Namespace)-Unconfirmed Bugs.
Bug for a DLC
{{bug|There's something wrong.|dlc=DG}}
- There's something wrong. ?
This would also add the page to the category Skyrim-Dawnguard-Unconfirmed Bugs.
Confirmed bug
{{bug|This happens to a lot of people.|confirmed=1}}
- This happens to a lot of people.
This would also add the page to the category (Namespace)-Confirmed Bugs.
The bug and a fix
{{bug|There's something wrong.|UOP}}
- There's something wrong.
- PC Only This bug is fixed by the Unofficial Oblivion Patch.
This would also add the page to the category Oblivion-Bugs Fixed by Unofficial Oblivion Patch.
The bug and a fix with a version
{{bug|There's something wrong.|UOP|1.5}}
- There's something wrong.
- PC Only This bug is fixed by version 1.5 of the Unofficial Oblivion Patch.
This would also add the page to the category Oblivion-Bugs Fixed by Unofficial Oblivion Patch.
The bug and a fix with a version, plus extra detail
{{bug|There's something wrong.|UOP|1.5|the wrong thing is fixed.}}
- There's something wrong.
- PC Only This issue has been addressed by version 1.5 of the Unofficial Oblivion Patch; the wrong thing is fixed.
This would also add the page to the category Oblivion-Bugs Fixed by Unofficial Oblivion Patch.
Illustrating the nobullet param
{{bug|There's something wrong.|UOP|nobullet=yes}}
There's something wrong.
- PC Only This bug is fixed by the Unofficial Oblivion Patch.
This would also add the page to the category Oblivion-Bugs Fixed by Unofficial Oblivion Patch.
OpenMW
For a Morrowind bug fixed only in OpenMW, use just {{Bug|OpenMW}} (or {{Bug|OMW}}, which is equivalent but geekier). A Tribunal expansion example, with version:
{{Bug|Description of bug.|OpenMW|0.43.0|dlc=TR}}
This would also add the page to the category Tribunal-Bugs Fixed in OpenMW.
For a bug fixed in the original Bethesda engine by a patch project and also fixed in the OpenMW engine, use {{Bug}} for the patch project and add {{OpenMW}} afterward, with list markup to make it match the display of the patch project's line. Example:
{{Bug|Description of bug.|MCP}} **{{OpenMW}}
- Description of bug.
- PC Only This bug is fixed by the Morrowind Code Patch.
- PC Only This bug is fixed in OpenMW.
To do: {{OpenMW}} does not yet support categorization or version number; the code for that needs to be ported from {{Bug}} into {{OpenMW}}. Categories will also need to be created as needed; they're all redlinks right now.