Template:Zone: 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:Zones]] | [[Category:Zones]] | ||
{{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 25: | Line 26: | ||
| {{#if:{{{max_level|}}}|{{{max_level|}}}|<span class="fw-unknown">Not recorded</span>}} | | {{#if:{{{max_level|}}}|{{{max_level|}}}|<span class="fw-unknown">Not recorded</span>}} | ||
|- class="fw-infobox-divider" | |- class="fw-infobox-divider" | ||
! colspan="2" | | ! colspan="2" | Explore this zone | ||
|- | |- | ||
! | ! NPCs | ||
| {{# | | {{#ask:[[Category:NPCs]][[Located in::{{FULLPAGENAME}}]]|format=list|limit=10|searchlabel=View all|default=No linked records yet.}} | ||
|- | |- | ||
! | ! Quests | ||
| {{# | | {{#ask:[[Category:Quests]][[Located in::{{FULLPAGENAME}}]]|format=list|limit=10|searchlabel=View all|default=No linked records yet.}} | ||
|- | |- | ||
! | ! Dungeons | ||
| {{# | | {{#ask:[[Category:Dungeons]][[Located in::{{FULLPAGENAME}}]]|format=list|limit=10|searchlabel=View all|default=No linked records yet.}} | ||
|- | |||
! Items | |||
| {{#ask:[[Category:Items]][[Located in::{{FULLPAGENAME}}]]|format=list|limit=10|searchlabel=View all|default=No linked records yet.}} | |||
|} | |} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
| Line 114: | Line 118: | ||
"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:Zones.
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.
{{Zone
|type=
|region=
|min_level=
|max_level=
|source_url=
|game_version=
|verification_status=
}}
Fields
| Parameter | Property | Value |
|---|---|---|
type |
Zone type | Text |
region |
Located in | Page title |
min_level |
Minimum level | Number |
max_level |
Maximum level | 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 zone reference box, places the page in the Zones category, and stores nonempty fields as semantic data. Leave unknown fields empty.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Zone type | type | Zone type recorded by the source, as plain text. Leave empty if unknown. | String | suggested |
| Region | region | Wiki page name of the region containing the zone, without link brackets. Leave empty if unknown. | Page name | suggested |
| Minimum level | min_level | Minimum level recorded for the zone, as a plain number. Leave empty if unknown. | Number | suggested |
| Maximum level | max_level | Maximum level recorded for the zone, 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 |