Jump to content

Template:Page metadata: Difference between revisions

From World of Warcraft Forever Wiki
Create Forever Wiki starter page
 
Expand Forever references, sourced media, homepage updates, and contributor research tools
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{{#if:{{{reviewed_on|}}}|{{#set:Last reviewed={{{reviewed_on}}}}}}}
{{#if:{{{source_url|}}}|{{#set:Source URL={{{source_url|}}}}}}}
{{#if:{{{source_url|}}}|{{#set:Source URL={{{source_url|}}}}}}}
{{#if:{{{game_version|}}}|{{#set:Game version={{{game_version|}}}}}}}
{{#if:{{{game_version|}}}|{{#set:Game version={{{game_version|}}}}}}}
{{#if:{{{verification_status|}}}|{{#set:Verification status={{{verification_status|}}}}}}}
{{#set:Verification status={{#if:{{{verification_status|}}}|{{{verification_status}}}|Unverified}}}}
<div class="fw-page-metadata">
<div class="fw-page-metadata">
<span><strong>Source:</strong> {{#if:{{{source_url|}}}|[{{{source_url}}} View source]|<span class="fw-unknown">Not recorded</span>}}</span>
<span><strong>Source:</strong> {{#if:{{{source_url|}}}|[{{{source_url}}} View source]|<span class="fw-unknown">Not recorded</span>}}</span>
<span><strong>Version:</strong> {{#if:{{{game_version|}}}|{{{game_version|}}}|<span class="fw-unknown">Not recorded</span>}}</span>
<span><strong>Version:</strong> {{#if:{{{game_version|}}}|{{{game_version|}}}|<span class="fw-unknown">Not recorded</span>}}</span>
<span><strong>Review:</strong> {{#if:{{{verification_status|}}}|{{{verification_status|}}}|<span class="fw-unknown">Not recorded</span>}}</span>
<span><strong>Review:</strong> {{#if:{{{verification_status|}}}|{{{verification_status}}}|Unverified}}</span>
{{#if:{{{reviewed_on|}}}|<span><strong>Last reviewed:</strong> {{{reviewed_on}}}</span>}}
</div>
</div>
</includeonly><noinclude>
</includeonly><noinclude>
Line 15: Line 17:
|source_url=
|source_url=
|game_version=
|game_version=
|reviewed_on=
|verification_status=
|verification_status=
}}
}}
Line 20: Line 23:


See [[Project:Data policy]] for review statuses and [[Help:Editing#Create a guide]] for guide categories.
See [[Project:Data policy]] for review statuses and [[Help:Editing#Create a guide]] for guide categories.
== TemplateData ==
<templatedata>
{
  "description": "Adds source, game version, and review details to a class or profession guide and stores nonempty fields as semantic data. Empty values display as Not recorded.",
  "params": {
    "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 to mark the page Unverified.",
      "type": "string",
      "suggested": true,
      "suggestedvalues": [
        "Unverified",
        "Source checked",
        "In-game checked",
        "Needs review"
      ]
    },
    "reviewed_on": {
      "label": "Last reviewed",
      "description": "ISO date when the evidence was actually checked. Separate from the applicable game build.",
      "type": "date",
      "suggested": true
    }
  },
  "paramOrder": [
    "source_url",
    "game_version",
    "verification_status",
    "reviewed_on"
  ],
  "format": "block"
}
</templatedata>
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 01:23, 17 September 2026

Use this template on class or profession guides to record their source, version, and review status. Empty values are displayed as “Not recorded” and are not stored as semantic data.

{{Page metadata
|source_url=
|game_version=
|reviewed_on=
|verification_status=
}}

See Project:Data policy for review statuses and Help:Editing#Create a guide for guide categories.

TemplateData

Adds source, game version, and review details to a class or profession guide and stores nonempty fields as semantic data. Empty values display as Not recorded.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
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 to mark the page Unverified.

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

ISO date when the evidence was actually checked. Separate from the applicable game build.

Datesuggested