Jump to content

Template:Dungeon: Difference between revisions

From Forever Wiki
Update wiki design, contributor guides, and sourced references
Improve search, mobile browsing, source context, and review consistency
 
Line 6: Line 6:
{{#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}}}}
[[Category:Dungeons]]
[[Category:Dungeons]]
{{Review badge|status={{#if:{{{verification_status|}}}|{{{verification_status}}}|Unverified}}|version={{{game_version|}}}|source={{{source_url|}}}}}
{{Review badge|status={{#if:{{{verification_status|}}}|{{{verification_status}}}|Unverified}}|version={{{game_version|}}}|source={{{source_url|}}}}}
Line 25: Line 25:
! Party size
! Party size
| {{#if:{{{party_size|}}}|{{{party_size|}}}|<span class="fw-unknown">Not recorded</span>}}
| {{#if:{{{party_size|}}}|{{{party_size|}}}|<span class="fw-unknown">Not recorded</span>}}
|- class="fw-infobox-divider"
 
! colspan="2" | Sources &amp; review
|-
! Source
| {{#if:{{{source_url|}}}|[{{{source_url}}} View source]|<span class="fw-unknown">Not recorded</span>}}
|-
! Game version
| {{#if:{{{game_version|}}}|{{{game_version|}}}|<span class="fw-unknown">Not recorded</span>}}
|-
! Review status
| {{#if:{{{verification_status|}}}|{{{verification_status|}}}|<span class="fw-unknown">Not recorded</span>}}
|}
|}
</includeonly><noinclude>
</includeonly><noinclude>
Line 115: Line 105:
     "verification_status": {
     "verification_status": {
       "label": "Review 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.",
       "description": "How the information has been checked, using the statuses in Project:Data policy. Leave empty to mark the page Unverified.",
       "type": "string",
       "type": "string",
       "suggested": true,
       "suggested": true,

Latest revision as of 22:11, 15 September 2026

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

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.

{{Dungeon
|zone=
|min_level=
|max_level=
|party_size=
|source_url=
|game_version=
|verification_status=
}}

Fields

Parameter Property Value
zone Located in Page title
min_level Minimum level Number
max_level Maximum level Number
party_size Party size Number
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 a dungeon reference box, places the page in the Dungeons 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
Zonezone

Wiki page name of the zone containing the dungeon, without link brackets. Leave empty if unknown.

Page namesuggested
Minimum levelmin_level

Minimum level recorded for the dungeon, as a plain number. Leave empty if unknown.

Numbersuggested
Maximum levelmax_level

Maximum level recorded for the dungeon, as a plain number. Leave empty if unknown.

Numbersuggested
Party sizeparty_size

Number of players recorded for the dungeon, as a plain number. Leave empty if unknown.

Numbersuggested
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