Template:NPC STORAGE: Difference between revisions
Jump to navigation
Jump to search
Donni Iris (talk | contribs) testing if 0 default makes sense here |
Donni Iris (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{| | <includeonly>{| | ||
|- | |- | ||
| '''[[{{{npcname}}}]] offers storage at {{Favor|{{{favorrestriction}}}}} Favor.''' | | '''[[{{{npcname}}}]] 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:{{{itemrestriction|}}}|{{!}}Storage is limited to {{{itemrestriction}}}.}} | ||
}} | |||
|- | |- | ||
| {{{neutral|0 | | {{#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> | |}</includeonly> | ||
<noinclude> | <noinclude> | ||
| Line 36: | Line 45: | ||
}} | }} | ||
</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> | ||
Revision as of 00:31, 26 March 2026
Syntax
{{NPC STORAGE
|npcname =
|favorrestriction =
|itemrestriction =
|neutral =
|comfortable =
|friends =
|closefriends =
|bestfriends =
|likefamily =
|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. |
| Storage is limited to Fish. |
| 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]. |