Difference between revisions of "Template:PC Material"

From Nookipedia, the Animal Crossing wiki
(more essence themes)
(implementing Lua template)
Tag: Replaced
 
(55 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{#switch:{{{2|}}}|Bells=[[File:BellIconPocketCamp.png|20px|link=]] {{{1|}}} Bells|Cool=[[File:PC Crafting Material - Cool Essence.png|20px|link=]] {{{1|}}} Cool Essence|Cotton=[[File:PC Crafting Material - Cotton.png|20px|link=]] {{{1|}}} Cotton|Cute=[[File:PC Crafting Material - Cute Essence.png|20px|link=]] {{{1|}}} Cute Essence|Elegant=[[File:PC Crafting Material - Elegant Essence.png|20px|link=]] {{{1|}}} Elegant Essence|Friend=[[File:PC Crafting Material - Friend Powder.png|20px|link=]] {{{1|}}} Friend Powder|Harmonious=[[File:PC Crafting Material - Harmonious Essence.png|20px|link=]] {{{1|}}} Harmonious Essence|Hip=[[File:PC Crafting Material - Hip Essence.png|20px|link=]] {{{1|}}} Hip Essence|Modern=[[File:PC Crafting Material - Modern Essence.png|20px|link=]] {{{1|}}} Modern Essence|Natural=[[File:PC Crafting Material - Natural Essence.png|20px|link=]] {{{1|}}} Natural Essence|Paper=[[File:PC Crafting Material - Paper.png|20px|link=]] {{{1|}}} Paper|Preserves=[[File:PC Crafting Material - Preserves.png|20px|link=]] {{{1|}}} Preserves|Rustic=[[File:PC Crafting Material - Rustic Essence.png|20px|link=]] {{{1|}}} Rustic Essence|Sparkle=[[File:PC Crafting Material - Sparkle Stones.png|20px|link=]] {{{1|}}} Sparkle Stone|Sporty=[[File:PC Crafting Material - Sporty Essence.png|20px|link=]] {{{1|}}} Sporty Essence|Steel=[[File:PC Crafting Material - Steel.png|20px|link=]] {{{1|}}} Steel|Wood=[[File:PC Crafting Material - Wood.png|20px|link=]] {{{1|}}} Wood|Error in Template:PC Material}}<noinclude>
+
<includeonly>{{#invoke:Materials|main|{{{1|}}}|{{{2|}}}|nb={{{nb|}}}|size={{{size|}}}|game=PC}}</includeonly><noinclude>{{Documentation}}[[Category:Templates]]</noinclude>
 
 
==Summary==
 
Use this template to produce resource and bell counts for {{PC}}. Used primarily for item crafting lists.
 
 
 
Available materials and examples:
 
:'''Bells''': <code><nowiki>{{PC Material|100|Bells}}</nowiki></code> {{PC Material|100|Bells}}
 
:'''Cool''': <code><nowiki>{{PC Material|100|Cool}}</nowiki></code> ⇒ {{PC Material|100|Cool}}
 
:'''Cotton''': <code><nowiki>{{PC Material|100|Cotton}}</nowiki></code> ⇒ {{PC Material|100|Cotton}}
 
:'''Cute''': <code><nowiki>{{PC Material|100|Cute}}</nowiki></code> ⇒ {{PC Material|100|Cute}}
 
:'''Elegant''': <code><nowiki>{{PC Material|100|Elegant}}</nowiki></code> ⇒ {{PC Material|100|Elegant}}
 
:'''Friend''': <code><nowiki>{{PC Material|100|Friend}}</nowiki></code> ⇒ {{PC Material|100|Friend}}
 
:'''Harmonious''': <code><nowiki>{{PC Material|100|Harmonious}}</nowiki></code> ⇒ {{PC Material|100|Harmonious}}
 
:'''Hip''': <code><nowiki>{{PC Material|100|Hip}}</nowiki></code> ⇒ {{PC Material|100|Hip}}
 
:'''Modern''': <code><nowiki>{{PC Material|100|Modern}}</nowiki></code> ⇒ {{PC Material|100|Modern}}
 
:'''Natural''': <code><nowiki>{{PC Material|100|Natural}}</nowiki></code> ⇒ {{PC Material|100|Natural}}
 
:'''Paper''': <code><nowiki>{{PC Material|100|Paper}}</nowiki></code> ⇒ {{PC Material|100|Paper}}
 
:'''Preserves''': <code><nowiki>{{PC Material|100|Preserves}}</nowiki></code> ⇒ {{PC Material|100|Preserves}}
 
:'''Rustic''': <code><nowiki>{{PC Material|100|Rustic}}</nowiki></code> ⇒ {{PC Material|100|Rustic}}
 
:'''Sparkle''': <code><nowiki>{{PC Material|100|Sparkle}}</nowiki></code> ⇒ {{PC Material|100|Sparkle}}
 
:'''Sporty''': <code><nowiki>{{PC Material|100|Sporty}}</nowiki></code> ⇒ {{PC Material|100|Sporty}}
 
:'''Steel''': <code><nowiki>{{PC Material|100|Steel}}</nowiki></code> ⇒ {{PC Material|100|Steel}}
 
:'''Wood''': <code><nowiki>{{PC Material|100|Wood}}</nowiki></code> ⇒ {{PC Material|100|Wood}}
 
</noinclude>
 

Latest revision as of 07:47, April 23, 2022

Template documentation (view)


Lua Logo.svg
This template is using a Lua module
To change certain features of this template, the following modules will need to be edited:
  • Module:Materials
  • Note that any changes should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.
    Lua Logo.svg
    This template is using a Lua module
    To change certain features of this template, the following modules will need to be edited:
  • Module:Materials
  • Note that any changes should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.

    Usage

    {{PC Material|<material>|<quantity>|size=<optional>|nb=<optional>}}
    

    This template will generate the name and associated icon for a specific material and Leaf Tickets in Animal Crossing: Pocket Camp, primarily for use in tables. The material name used must be exact to the name used in-game. There is also an optional parameter to specify a quantity. The icon's size can be manipulated using the size parameter; the default size is 20px. The nb parameter can be given any value to remove the line break at the end of the template.

    Leaf Tickets cannot be marked as a material using this template, otherwise an error will appear and the page affected will be marked under Category:Pages marking Leaf Tickets as a material. This template is primarily used for Animal Crossing: Pocket Camp items; for Animal Crossing: New Horizons items, refer to Template:Material instead.

    The following materials are supported by this template:

    Common Materials
    • Cotton
    • Friend Powder
    • HH Material
    • Paper
    • Preserves
    • Reissue Material
    • Sparkle Stones
    • Steel
    • Wood
    Essences
    • Civic Essence
    • Cool Essence
    • Cute Essence
    • Elegant Essence
    • Harmonious Essence
    • Hip Essence
    • Historical Essence
    • Modern Essence
    • Natural Essence
    • Rustic Essence
    • Sporty Essence
    Event Materials
    • 1-Up Mushroom
    • Bunny-Day Egg
    • Candy Cane
    • Countdown Charm
    • Creepy Confection
    • Crystal Shards
    • Mega Mushroom
    • Snowflakes
    • Super Mushroom
    Gyroidite Scavenger Hunt Materials
    • Acorn
    • All-Natural Gyroidite
    • Balloon Gyroidite
    • Bazaar Gyroidite
    • Beach-Day Gyroidite
    • Bebop Gyroidite
    • Blitz Clam
    • Bubble Gyroidite
    • Busker Gyroidite
    • Candle Gyroidite
    • Carved Pumpkin
    • Choco-Mint Gyroidite
    • Cinna-Plaid Gyroidite
    • Cool Scoops Gyroidite
    • Countdown Gyroidite
    • Cream Soda Gyroidite
    • Denim Gyroidite
    • Electropop Gyroidite
    • Festive Gyroidite
    • First-Anniv. Gyroidite
    • First-Anniv. Gyroidite
    • Fright-Night Gyroidite
    • Frosty Gyroidite
    • Greenhouse Gyroidite
    • Gyroidite
    • Gyroidite (Traditional)
    • Haunted Gyroidite
    • Hello Kitty Gyroidite
    • Kingly Gyroidite
    • Laundromat Gyroidite
    • Misty Gyroidite
    • Music-Box Gyroidite
    • Neon Gyroidite
    • Ninja Gyroidite
    • Pastel-Pop Gyroidite
    • Poké Ball
    • Puppy Gyroidite
    • Quilted Gyroidite
    • Scarlet Gyroidite
    • Sleepy Gyroidite
    • Snow-Globe Gyroidite
    • Snow-Park Gyroidite
    • Snow-Roll Gyroidite
    • Sparkle-Jelly Gyroidite
    • Thrifty Chic Gyroidite
    • Toy Day Gyroidite
    • Truffle
    • Wedding Gyroidite
    • Yoga Gyroidite

    Example

    {{PC Material|Steel|30}}
    

    30× Steel

    {{PC Material|Reissue Material|5}}{{PC Material|HH Material|1}}{{PC Material|Sparkle Stones|3}}{{PC Material|Hip Essence|30}}{{PC Material|Preserves|50}}
    
    5× Reissue Material
    1× HH Material
    3× Sparkle Stones
    30× Hip Essence
    50× Preserves