Template:Not Restocked: Difference between revisions
From HorizonXI Wiki
(Created page with "<includeonly><onlyinclude>'''Only if''' a player has recently sold a [[{{{item|{{PAGENAME}}}}}]] to them, that item can be purchased from {{#if:{{{8|}}}| <li>[[{{{8}}}]] at {{NPCLoc|{{{8}}}|format=short}}</li>}}<!-- -->{{#if:{{{7|}}}|<li>[[{{{7}}}]] at {{NPCLoc|{{{7}}}|format=short}}</li>}}<!-- -->{{#if:{{{6|}}}|<li>[[{{{6}}}]] at {{NPCLoc|{{{6}}}|format=short}}</li>}}<!-- -->{{#if:{{{5|}}}|<li>[[{{{5}}}]] at {{NPCLoc|{{{5}}}|format=short}}</li>}}<!-- -->{{#if:{{{4|}}}|<...") |
mNo edit summary |
||
Line 7: | Line 7: | ||
-->{{#if:{{{3|}}}|<li>[[{{{3}}}]] at {{NPCLoc|{{{3}}}|format=short}}</li><li>}}<!-- | -->{{#if:{{{3|}}}|<li>[[{{{3}}}]] at {{NPCLoc|{{{3}}}|format=short}}</li><li>}}<!-- | ||
-->{{#if:{{{2|}}}|[[{{{2}}}]] at {{NPCLoc|{{{2}}}|format=short}}{{#if:{{{3|}}}|</li><li>|<nowiki> </nowiki>and<nowiki> </nowiki>}}}}<!-- | -->{{#if:{{{2|}}}|[[{{{2}}}]] at {{NPCLoc|{{{2}}}|format=short}}{{#if:{{{3|}}}|</li><li>|<nowiki> </nowiki>and<nowiki> </nowiki>}}}}<!-- | ||
-->[[{{{1}}}]] at {{NPCLoc|{{{1}}}|format=short}}{{#if:{{{3|}}}|</li>|.}}</onlyinclude></includeonly>__NOTOC__ | -->[[{{{1}}}]] at {{NPCLoc|{{{1}}}|format=short}}{{#if:{{{3|}}}|</li>|.}}</onlyinclude></includeonly>__NOTOC__[[Category:Templates]] | ||
==Usage== | ==Usage== | ||
Template that outputs a sentence that a certain item can only be bought from a numer of NPCs if that item has recently been sold to them. | Template that outputs a sentence that a certain item can only be bought from a numer of NPCs if that item has recently been sold to them. |
Latest revision as of 22:30, 5 September 2024
Usage
Template that outputs a sentence that a certain item can only be bought from a numer of NPCs if that item has recently been sold to them.
- unnamed parameters 1 through 8 take names of NPCs (Putting at least one NPC name is mandatory).
- optional parameter item allows to name the item. Otherwise it will be taken from {{PAGENAME}}
Examples
3+ NPCs
{{Not Restocked|Babubu|Graegham|Mendoline|Lokhong|Rajmonda|Kopopo|item=Bastore Sardine}}
Only if a player has recently sold a Bastore Sardine to them, that item can be purchased from
{{Not Restocked|Babubu|Graegham|Mendoline|item=Giant Donko}}
Only if a player has recently sold a Giant Donko to them, that item can be purchased from
2 NPCs
{{Not Restocked|Babubu|Graegham|item=Giant Donko}}
Only if a player has recently sold a Giant Donko to them, that item can be purchased from Graegham at Selbina (H-9) and Babubu at Port Windurst (C-8).
1 NPC
{{Not Restocked|Babubu|item=Giant Donko}}
Only if a player has recently sold a Giant Donko to them, that item can be purchased from Babubu at Port Windurst (C-8).