Template:NPC: Difference between revisions
Create Forever Wiki starter page |
Expand Forever references, sourced media, homepage updates, and contributor research tools |
||
| (3 intermediate revisions 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:{{{ | {{#if:{{{reviewed_on|}}}|{{#set:Last reviewed={{{reviewed_on}}}}}}} | ||
{{#set:Verification status={{#if:{{{verification_status|}}}|{{{verification_status}}}|Unverified}}}} | |||
[[Category:NPCs]] | [[Category:NPCs]] | ||
{{Review badge|status={{#if:{{{verification_status|}}}|{{{verification_status}}}|Unverified}}|version={{{game_version|}}}|source={{{source_url|}}}|reviewed_on={{{reviewed_on|}}}}} | |||
{| class="wikitable fw-infobox" | {| class="wikitable fw-infobox" | ||
|+ {{PAGENAME}} | |+ {{PAGENAME}} | ||
| Line 24: | Line 26: | ||
! Level | ! Level | ||
| {{#if:{{{level|}}}|{{{level|}}}|<span class="fw-unknown">Not recorded</span>}} | | {{#if:{{{level|}}}|{{{level|}}}|<span class="fw-unknown">Not recorded</span>}} | ||
|} | |} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
| Line 50: | Line 42: | ||
|game_version= | |game_version= | ||
|verification_status= | |verification_status= | ||
|reviewed_on= | |||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
== Article structure == | |||
After the opening identification, use Location → Quests and services → Encounter details (when applicable) → Changes → Sources. A story association does not establish that the NPC starts or ends a quest. Record coordinates with the location, game build, and source. | |||
Use <code><nowiki>{{Research tasks|kind=NPC|needs=Location coordinates; Exact quest or service role}}</nowiki></code> for specific gaps. | |||
Changes records dated game announcements, corrections, or observed build changes. The optional <code>reviewed_on</code> date records the wiki’s source review; it is separate from the game version and does not imply in-game testing. | |||
== Fields == | == Fields == | ||
| Line 68: | Line 68: | ||
|- | |- | ||
| <code>game_version</code> || [[Property:Game version|Game version]] || Exact version or build, when known | | <code>game_version</code> || [[Property:Game version|Game version]] || Exact version or build, when known | ||
|- | |||
| <code>reviewed_on</code> || [[Property:Last reviewed|Last reviewed]] || Source review date in YYYY-MM-DD format | |||
|- | |- | ||
| <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 NPC reference box, places the page in the NPCs category, and stores nonempty fields as semantic data. Leave unknown fields empty.", | |||
"params": { | |||
"type": { | |||
"label": "NPC type", | |||
"description": "NPC type recorded by the source, as plain text. Leave empty if unknown.", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"zone": { | |||
"label": "Zone", | |||
"description": "Wiki page name of the zone where the NPC is located, without link brackets. Leave empty if unknown.", | |||
"type": "wiki-page-name", | |||
"suggested": true | |||
}, | |||
"faction": { | |||
"label": "Faction", | |||
"description": "Faction recorded for the NPC, as plain text. Leave empty if unknown.", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"level": { | |||
"label": "Level", | |||
"description": "NPC level as a plain number. Leave empty if unknown.", | |||
"type": "number", | |||
"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 to mark the page Unverified.", | |||
"type": "string", | |||
"suggested": true, | |||
"suggestedvalues": [ | |||
"Unverified", | |||
"Source checked", | |||
"In-game checked", | |||
"Needs review" | |||
] | |||
}, | |||
"reviewed_on": { | |||
"label": "Last source review", | |||
"description": "Date the cited source was checked, in YYYY-MM-DD format. This is not a game build or an in-game verification date.", | |||
"type": "date", | |||
"suggested": true | |||
} | |||
}, | |||
"paramOrder": [ | |||
"type", | |||
"zone", | |||
"faction", | |||
"level", | |||
"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
This template adds a compact reference box and nonempty semantic properties to an article. It places the article in Category:NPCs.
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.
{{NPC
|type=
|zone=
|faction=
|level=
|source_url=
|game_version=
|verification_status=
|reviewed_on=
}}
Article structure
After the opening identification, use Location → Quests and services → Encounter details (when applicable) → Changes → Sources. A story association does not establish that the NPC starts or ends a quest. Record coordinates with the location, game build, and source.
Use {{Research tasks|kind=NPC|needs=Location coordinates; Exact quest or service role}} for specific gaps.
Changes records dated game announcements, corrections, or observed build changes. The optional reviewed_on date records the wiki’s source review; it is separate from the game version and does not imply in-game testing.
Fields
| Parameter | Property | Value |
|---|---|---|
type |
NPC type | Text |
zone |
Located in | Page title |
faction |
Faction | Text |
level |
Level | Number |
source_url |
Source URL | Full source URL |
game_version |
Game version | Exact version or build, when known |
reviewed_on |
Last reviewed | Source review date in YYYY-MM-DD format |
verification_status |
Verification status | A status from Project:Data policy |
TemplateData
Adds an NPC reference box, places the page in the NPCs category, and stores nonempty fields as semantic data. Leave unknown fields empty.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| NPC type | type | NPC type recorded by the source, as plain text. Leave empty if unknown. | String | suggested |
| Zone | zone | Wiki page name of the zone where the NPC is located, without link brackets. Leave empty if unknown. | Page name | suggested |
| Faction | faction | Faction recorded for the NPC, as plain text. Leave empty if unknown. | String | suggested |
| Level | level | NPC level 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 |
| Last source review | reviewed_on | Date the cited source was checked, in YYYY-MM-DD format. This is not a game build or an in-game verification date. | Date | suggested |