Template:Dungeon: Difference between revisions
Add structured forms and visual template editing |
Improve search, mobile browsing, source context, and review consistency |
||
| (One intermediate revision by the same user not shown) | |||
| 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={{#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|}}}}} | |||
{| class="wikitable fw-infobox" | {| class="wikitable fw-infobox" | ||
|+ {{PAGENAME}} | |+ {{PAGENAME}} | ||
| Line 24: | 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>}} | ||
|} | |} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
| Line 114: | 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 | "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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Zone | zone | Wiki page name of the zone containing the dungeon, without link brackets. Leave empty if unknown. | Page name | suggested |
| Minimum level | min_level | Minimum level recorded for the dungeon, as a plain number. Leave empty if unknown. | Number | suggested |
| Maximum level | max_level | Maximum level recorded for the dungeon, as a plain number. Leave empty if unknown. | Number | suggested |
| Party size | party_size | Number of players recorded for the dungeon, as a plain number. Leave empty if unknown. | Number | suggested |
| Source URL | source_url | Full URL of the source supporting this page's information. Leave empty if no source has been recorded. | URL | suggested |
| Game version | game_version | Exact game version or build to which the information applies. Leave empty if unknown. | String | suggested |
| Review status | verification_status | How the information has been checked, using the statuses in Project:Data policy. Leave empty to mark the page Unverified.
| String | suggested |