Jump to content

Template:Item: Difference between revisions

From Forever Wiki
Create Forever Wiki starter page
 
Add structured forms and visual template editing
 
Line 85: Line 85:
| <code>verification_status</code> || [[Property:Verification status|Verification status]] || A status from [[Project:Data policy]]
| <code>verification_status</code> || [[Property:Verification status|Verification status]] || A status from [[Project:Data policy]]
|}
|}
== TemplateData ==
<templatedata>
{
  "description": "Adds an item reference box, places the page in the Items category, and stores nonempty fields as semantic data. Leave unknown fields empty.",
  "params": {
    "type": {
      "label": "Item type",
      "description": "Item type recorded by the source, as plain text. Leave empty if unknown.",
      "type": "string",
      "suggested": true
    },
    "slot": {
      "label": "Equip slot",
      "description": "Equipment slot recorded for the item, as plain text. Leave empty if unknown or not applicable.",
      "type": "string",
      "suggested": true
    },
    "quality": {
      "label": "Quality",
      "description": "Item quality recorded by the source, as plain text. Leave empty if unknown.",
      "type": "string",
      "suggested": true
    },
    "item_level": {
      "label": "Item level",
      "description": "Item level as a plain number. Leave empty if unknown.",
      "type": "number",
      "suggested": true
    },
    "required_level": {
      "label": "Required level",
      "description": "Level required to use the item, as a plain number. Leave empty if unknown.",
      "type": "number",
      "suggested": true
    },
    "zone": {
      "label": "Zone",
      "description": "Wiki page name of the zone associated with the item, without link brackets. Leave empty if unknown.",
      "type": "wiki-page-name",
      "suggested": true
    },
    "source_url": {
      "label": "Source URL",
      "description": "Full URL of the source supporting this page's information. Leave empty if no source has been recorded.",
      "type": "url",
      "suggested": true
    },
    "game_version": {
      "label": "Game version",
      "description": "Exact game version or build to which the information applies. Leave empty if unknown.",
      "type": "string",
      "suggested": true
    },
    "verification_status": {
      "label": "Review status",
      "description": "How the information has been checked, using the statuses in Project:Data policy. Leave empty if no review status has been recorded.",
      "type": "string",
      "suggested": true,
      "suggestedvalues": [
        "Unverified",
        "Source checked",
        "In-game checked",
        "Needs review"
      ]
    }
  },
  "paramOrder": [
    "type",
    "slot",
    "quality",
    "item_level",
    "required_level",
    "zone",
    "source_url",
    "game_version",
    "verification_status"
  ],
  "format": "block"
}
</templatedata>
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 07:04, 15 September 2026

This template adds a compact reference box and nonempty semantic properties to an article. It places the article in Category:Items.

Copy the blank pattern into a subject page. Leave unknown fields empty. Use plain page names for relationship fields and plain numbers for numeric fields. See Help:Editing and Project:Data policy.

{{Item
|type=
|slot=
|quality=
|item_level=
|required_level=
|zone=
|source_url=
|game_version=
|verification_status=
}}

Fields

Parameter Property Value
type Item type Text
slot Equip slot Text
quality Quality Text
item_level Item level Number
required_level Required level Number
zone Located in Page title
source_url Source URL Full source URL
game_version Game version Exact version or build, when known
verification_status Verification status A status from Project:Data policy

TemplateData

Adds an item reference box, places the page in the Items category, and stores nonempty fields as semantic data. Leave unknown fields empty.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Item typetype

Item type recorded by the source, as plain text. Leave empty if unknown.

Stringsuggested
Equip slotslot

Equipment slot recorded for the item, as plain text. Leave empty if unknown or not applicable.

Stringsuggested
Qualityquality

Item quality recorded by the source, as plain text. Leave empty if unknown.

Stringsuggested
Item levelitem_level

Item level as a plain number. Leave empty if unknown.

Numbersuggested
Required levelrequired_level

Level required to use the item, as a plain number. Leave empty if unknown.

Numbersuggested
Zonezone

Wiki page name of the zone associated with the item, without link brackets. Leave empty if unknown.

Page namesuggested
Source URLsource_url

Full URL of the source supporting this page's information. Leave empty if no source has been recorded.

URLsuggested
Game versiongame_version

Exact game version or build to which the information applies. Leave empty if unknown.

Stringsuggested
Review statusverification_status

How the information has been checked, using the statuses in Project:Data policy. Leave empty if no review status has been recorded.

Suggested values
Unverified Source checked In-game checked Needs review
Stringsuggested