Template:NPC STORAGE: Difference between revisions
Jump to navigation
Jump to search
Introducing a new template. |
Donni Iris (talk | contribs) mNo edit summary |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{| | <includeonly>{| | ||
|- | |- | ||
| ''' | | '''{{#if:{{{npcname|}}}|{{{npcname|}}}|{{PAGENAME}}}} offers storage at {{Favor|{{#if:{{{favorrestriction|}}}<!-- | ||
-->|{{{favorrestriction|}}}<!-- | |||
-->|{{#ifexpr:{{#if:{{{neutral|}}}|{{{neutral|}}}|0}}>0|Neutral<!-- | |||
-->|{{#ifexpr:{{#if:{{{comfortable|}}}|{{{comfortable|}}}|0}}>0|Comfortable<!-- | |||
-->|{{#ifexpr:{{#if:{{{friends|}}}|{{{friends|}}}|0}}>0|Friends<!-- | |||
-->|{{#ifexpr:{{#if:{{{closefriends|}}}|{{{closefriends|}}}|0}}>0|Close Friends<!-- | |||
-->|{{#ifexpr:{{#if:{{{bestfriends|}}}|{{{bestfriends|}}}|0}}>0|Best Friends<!-- | |||
-->|{{#ifexpr:{{#if:{{{likefamily|}}}|{{{likefamily|}}}|0}}>0|Like Family<!-- | |||
-->|{{#ifexpr:{{#if:{{{soulmates|}}}|{{{soulmates|}}}|0}}>0|Soul Mates<!-- | |||
-->|unknown}} }} }} }} }} }} }}<!-- | |||
-->}}}} Favor.''' | |||
|- | |- | ||
{{ #if:{{{itemrestriction|}}} |{{ | | {{#if:{{{npcname|}}}|{{{npcname|}}}|{{PAGENAME}}}}'s storage allows {{#if:{{{itemrestriction|}}}<!-- | ||
}} | -->|{{#ifeq:{{{itemrestriction}}}|Anything|''Anything''|only ''{{{itemrestriction}}}'' items}}<!-- | ||
-->|''Anything''}}. | |||
|- | |- | ||
| {{{neutral}}} slots at '''{{Favor|Neutral}}'''. | | {{#if:{{{neutral|}}}|{{{neutral|}}}|0}} slots at '''{{Favor|Neutral}}'''. | ||
|- | |- | ||
| {{{comfortable}}} slots at '''{{Favor|Comfortable}}'''. | | {{#if:{{{comfortable|}}}|{{{comfortable|}}}|0}} slots at '''{{Favor|Comfortable}}'''. | ||
|- | |- | ||
| {{{friends}}} slots at '''{{Favor|Friends}}'''. | | {{#if:{{{friends|}}}|{{{friends|}}}|0}} slots at '''{{Favor|Friends}}'''. | ||
|- | |- | ||
| {{{closefriends}}} slots at '''{{Favor|Close Friends}}'''. | | {{#if:{{{closefriends|}}}|{{{closefriends|}}}|0}} slots at '''{{Favor|Close Friends}}'''. | ||
|- | |- | ||
| {{{bestfriends}}} slots at '''{{Favor|Best Friends}}'''. | | {{#if:{{{bestfriends|}}}|{{{bestfriends|}}}|0}} slots at '''{{Favor|Best Friends}}'''. | ||
|- | |- | ||
| {{{likefamily}}} slots at '''{{Favor|Like Family}}'''. | | {{#if:{{{likefamily|}}}|{{{likefamily|}}}|0}} slots at '''{{Favor|Like Family}}'''. | ||
|- | |- | ||
| {{{soulmates}}} slots at '''{{Favor|Soul Mates}}'''. | | {{#if:{{{soulmates|}}}|{{{soulmates|}}}|0}} slots at '''{{Favor|Soul Mates}}'''. | ||
|} | |}</includeonly> | ||
<noinclude> | <noinclude> | ||
==Syntax== | ==Syntax== | ||
<pre> | <pre> | ||
{{NPC STORAGE | {{NPC STORAGE | ||
|npcname = | |npcname = | ||
|favorrestriction = | |favorrestriction = | ||
|itemrestriction = | |itemrestriction = | ||
|neutral = | |neutral = | ||
|comfortable = | |comfortable = | ||
|friends = | |friends = | ||
|closefriends = | |closefriends = | ||
|bestfriends = | |bestfriends = | ||
|likefamily = | |likefamily = | ||
|soulmates = | |soulmates = | ||
|soulmates = | |||
}} | }} | ||
</pre> | </pre> | ||
==Description== | |||
This template is used on the pages of NPCs that offer Storage slots. | |||
==Parameters== | ==Parameters== | ||
;npcname | ;npcname | ||
: The name of the NPC the NPC STORAGE template is used on. | : The name of the NPC the NPC STORAGE template is used on. | ||
;favorrestriction | ;favorrestriction | ||
: The first stage of favor the NPC offers storage. | : Optional. The first stage of favor the NPC offers storage. | ||
;itemrestriction | ;itemrestriction | ||
: Optional. A list of the types of restrictions an NPC may have on their storage. | : Optional. A list of the types of restrictions an NPC may have on their storage. | ||
;neutral/comfortable/friends/closefriends/bestfriends/likefamily/soulmates | ;neutral/comfortable/friends/closefriends/bestfriends/likefamily/soulmates | ||
:The seven positive levels of favor. | :The seven positive levels of favor. Count of available slots should be recorded for each level. | ||
<pre> | <pre> | ||
{{NPC STORAGE | {{NPC STORAGE | ||
|npcname = Gurki | |npcname = Gurki | ||
|favorrestriction =Comfortable | |favorrestriction = Comfortable | ||
|itemrestriction =Fish | |itemrestriction = Fish | ||
|neutral =0 | |neutral = 0 | ||
|comfortable =10 | |comfortable = 10 | ||
|friends =15 | |friends = 15 | ||
|closefriends =20 | |closefriends = 20 | ||
|bestfriends =25 | |bestfriends = 25 | ||
|likefamily =30 | |likefamily = 30 | ||
|soulmates =35 | |soulmates = 35 | ||
}} | }} | ||
</pre> | </pre> | ||
{{NPC STORAGE | {{NPC STORAGE | ||
|npcname = Gurki | |npcname = Gurki | ||
|favorrestriction =Comfortable | |favorrestriction = Comfortable | ||
|itemrestriction = Fish | |itemrestriction = Fish | ||
|neutral =0 | |neutral = 0 | ||
|comfortable =10 | |comfortable = 10 | ||
|friends =15 | |friends = 15 | ||
|closefriends =20 | |closefriends = 20 | ||
|bestfriends =25 | |bestfriends = 25 | ||
|likefamily =30 | |likefamily = 30 | ||
|soulmates =35 | |soulmates = 35 | ||
}} | }} | ||
[[Category:Formatting templates]] | [[Category:Formatting templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 20:56, 14 April 2026
Syntax
{{NPC STORAGE
|npcname =
|favorrestriction =
|itemrestriction =
|neutral =
|comfortable =
|friends =
|closefriends =
|bestfriends =
|likefamily =
|soulmates =
|soulmates =
}}
Description
This template is used on the pages of NPCs that offer Storage slots.
Parameters
- npcname
- The name of the NPC the NPC STORAGE template is used on.
- favorrestriction
- Optional. The first stage of favor the NPC offers storage.
- itemrestriction
- Optional. A list of the types of restrictions an NPC may have on their storage.
- neutral/comfortable/friends/closefriends/bestfriends/likefamily/soulmates
- The seven positive levels of favor. Count of available slots should be recorded for each level.
{{NPC STORAGE
|npcname = Gurki
|favorrestriction = Comfortable
|itemrestriction = Fish
|neutral = 0
|comfortable = 10
|friends = 15
|closefriends = 20
|bestfriends = 25
|likefamily = 30
|soulmates = 35
}}
| Gurki offers storage at [Comfortable] Favor. |
| Gurki's storage allows only Fish items. |
| 0 slots at [Neutral]. |
| 10 slots at [Comfortable]. |
| 15 slots at [Friends]. |
| 20 slots at [Close Friends]. |
| 25 slots at [Best Friends]. |
| 30 slots at [Like Family]. |
| 35 slots at [Soul Mates]. |