Template:InlineIcon: Difference between revisions
(Add note about default values. Language/position is wonky, may need cleanup later.) |
(change dairy and oil to identical file) |
||
Line 83: | Line 83: | ||
|spices & herbs={{#ifeq:{{{2|}}}|iconOnly|[[File:Spices & Herbs.png|{{#if:{{{size|}}}|{{{size|}}}|22}}px|link={{{link|}}}]]|[[File:Spices & Herbs.png|{{#if:{{{size|}}}|{{{size|}}}|22}}px|link={{{link|}}}]] {{#if:{{{link|}}}|[[{{{link|}}}|Spices & Herbs]]|Spices & Herbs}}}} | |spices & herbs={{#ifeq:{{{2|}}}|iconOnly|[[File:Spices & Herbs.png|{{#if:{{{size|}}}|{{{size|}}}|22}}px|link={{{link|}}}]]|[[File:Spices & Herbs.png|{{#if:{{{size|}}}|{{{size|}}}|22}}px|link={{{link|}}}]] {{#if:{{{link|}}}|[[{{{link|}}}|Spices & Herbs]]|Spices & Herbs}}}} | ||
|sweets={{#ifeq:{{{2|}}}|iconOnly|[[File:Sweets.png|{{#if:{{{size|}}}|{{{size|}}}|22}}px|link={{{link|}}}]]|[[File:Sweets.png|{{#if:{{{size|}}}|{{{size|}}}|22}}px|link={{{link|}}}]] {{#if:{{{link|}}}|[[{{{link|}}}|Sweets]]|Sweets}}}} | |sweets={{#ifeq:{{{2|}}}|iconOnly|[[File:Sweets.png|{{#if:{{{size|}}}|{{{size|}}}|22}}px|link={{{link|}}}]]|[[File:Sweets.png|{{#if:{{{size|}}}|{{{size|}}}|22}}px|link={{{link|}}}]] {{#if:{{{link|}}}|[[{{{link|}}}|Sweets]]|Sweets}}}} | ||
|dairy and oil={{#ifeq:{{{2|}}}|iconOnly|[[File: | |dairy and oil={{#ifeq:{{{2|}}}|iconOnly|[[File:Dairy and Oil.png|{{#if:{{{size|}}}|{{{size|}}}|22}}px|link={{{link|}}}]]|[[File:Dairy and Oil.png|{{#if:{{{size|}}}|{{{size|}}}|22}}px|link={{{link|}}}]] {{#if:{{{link|}}}|[[{{{link|}}}|Dairy and Oil]]|Dairy and Oil}}}} | ||
|ice={{#ifeq:{{{2|}}}|iconOnly|[[File:Ice.png|{{#if:{{{size|}}}|{{{size|}}}|22}}px|link={{{link|}}}]]|[[File:Ice.png|{{#if:{{{size|}}}|{{{size|}}}|22}}px|link={{{link|}}}]] {{#if:{{{link|}}}|[[{{{link|}}}|Ice]]|Ice}}}} | |ice={{#ifeq:{{{2|}}}|iconOnly|[[File:Ice.png|{{#if:{{{size|}}}|{{{size|}}}|22}}px|link={{{link|}}}]]|[[File:Ice.png|{{#if:{{{size|}}}|{{{size|}}}|22}}px|link={{{link|}}}]] {{#if:{{{link|}}}|[[{{{link|}}}|Ice]]|Ice}}}} | ||
|seafood={{#ifeq:{{{2|}}}|iconOnly|[[File:Seafood.png|{{#if:{{{size|}}}|{{{size|}}}|22}}px|link={{{link|}}}]]|[[File:Seafood.png|{{#if:{{{size|}}}|{{{size|}}}|22}}px|link={{{link|}}}]] {{#if:{{{link|}}}|[[{{{link|}}}|Seafood]]|Seafood}}}} | |seafood={{#ifeq:{{{2|}}}|iconOnly|[[File:Seafood.png|{{#if:{{{size|}}}|{{{size|}}}|22}}px|link={{{link|}}}]]|[[File:Seafood.png|{{#if:{{{size|}}}|{{{size|}}}|22}}px|link={{{link|}}}]] {{#if:{{{link|}}}|[[{{{link|}}}|Seafood]]|Seafood}}}} |
Revision as of 19:25, 30 March 2023
Description
This template is used to insert an icon inline with text, with options to also include default text, and link both the icon and text to a user-provided link.
This template makes inserting common icons and imagery easier for wiki veterans and newcomers alike. It also helps standardize which icons are used and and unify how these icons are styled, which makes them easier to maintain.
Usage
In its most basic form, this template can be used by entering the following onto a relevant page:
{{inlineIcon|''keyword''}}
There are also optional parameters that can be used:
{{inlineIcon|''keyword''|iconOnly|size=''NUMBER''|link=''Wiki page name''}}
If optional parameters are not provided, the default size=22, the default text label will display, and there will be no link.
Examples
{{inlineIcon|Cinderella}}
results in...
File:Cinderella Icon.png Cinderella
'''{{inlineIcon|Ratatouille (Universe)|link=:Category:Ratatouille Clothing}}'''
results in...
File:Ratatouille Icon.png Ratatouille
{{inlineIcon|Alice in Wonderland|iconOnly|size=60|link=Motifs#Alice in Wonderland}}
results in...
Category | Keyword | Demo | Notes |
---|---|---|---|
Furniture | House | ![]() |
Only present outside |
Furniture | Essentials | ![]() |
|
Furniture | Decor | ![]() |
|
Furniture | Trimmings | ![]() |
|
Furniture | Tables | ![]() |
|
Furniture | Beds | ![]() |
|
Furniture | Seating | ![]() |
|
Furniture | Storage | ![]() |
|
Furniture | Appliance | ![]() |
|
Furniture | Electronics | ![]() |
|
Furniture | Utilities | ![]() |
|
Furniture | Art | ![]() |
|
Furniture | Lighting | ![]() |
|
Furniture | Foliage | ![]() |
|
Furniture | Rugs | ![]() |
|
Furniture | Misc. | ![]() |
|
Furniture | Wallpaper | ![]() |
Only present in Player's House |
Furniture | Floors | ![]() |
Changes context in Scrooge's Store vs. Player's House |
Furniture | Doors | ![]() |
Removed in version 1.3 |
Furniture | Windows | ![]() |
|
Furniture | Landscaping | ![]() |
Only present in Scrooge's Store |
Furniture | Wall | ![]() |
|
Furniture | Ceiling | ![]() |
|
Furniture | Trees | ![]() |
Only present in Scrooge's Store |
Clothing | Companions | ![]() |
|
Clothing | Hats | ![]() |
|
Clothing | Masks | ![]() |
|
Clothing | Glasses | ![]() |
|
Clothing | Earrings | ![]() |
|
Clothing | Neckwear | ![]() |
|
Clothing | Coats | ![]() |
|
Clothing | Tops | ![]() |
|
Clothing | Back | ![]() |
|
Clothing | Bracelets | ![]() |
|
Clothing | Gloves | ![]() |
|
Clothing | Pants | ![]() |
|
Clothing | Shorts | ![]() |
|
Clothing | Skirts | ![]() |
|
Clothing | Hose Socks | ![]() |
|
Clothing | Shoes | ![]() |
|
Clothing | Dresses | ![]() |
|
Clothing | Costumes | ![]() |
|
Clothing | Hairstyle | ![]() |
|
Clothing | Face Paint | ![]() |
|
Ingredients | Vegetables | ![]() |
|
Ingredients | Fruit | ![]() |
|
Ingredients | Grains | ![]() |
|
Ingredients | Spices, Spices & Herbs | ![]() ![]() |
|
Ingredients | Sweets | ![]() |
|
Ingredients | Dairy and Oil | ![]() |
|
Ingredients | Ice | ![]() |
|
Ingredients | Seafood | ![]() |
|
Ingredients | Fish | ![]() |
|
Ingredients | Fruits and Vegetables | File:Fruits and Vegetables icon.png Fruits and Vegetables | |
Cooking | Recipes | ![]() |
|
Cooking | Appetizers | ![]() |
|
Cooking | Entrées, Entrees | File:Entrée.png Entrées | |
Cooking | Desserts | ![]() |
|
Dreamlight/Memory Pieces | Cooking | ![]() |
|
Dreamlight/Memory Pieces | Critters | ![]() |
|
Dreamlight/Memory Pieces | Digging | ![]() |
|
Dreamlight/Memory Pieces | Fishing | ![]() |
|
Dreamlight/Memory Pieces | Gardening | ![]() |
|
Dreamlight/Memory Pieces | Mining | File:Menu Icon Mining.png Mining | |
Dreamlight/Memory Pieces | Night Thorns | ![]() |
|
Dreamlight/Memory Pieces | Dried Flowers, Water Dried Flowers, Watering | ![]() |
|
Dreamlight | Foraging | File:Menu Icon Foraging.png Foraging | |
Tools | Tools | ![]() |
|
Tools | Camera | ![]() |
|
Tools | Fishing Pole | ![]() |
|
Tools | Pickaxe | File:Menu Icon Mining.png Pickaxe | |
Tools | Shovel | ![]() |
|
Tools | Royal Watering Can | ![]() |
|
Dreamlight | Critter Favorite | ![]() |
TODO - revisit keywords? and displayed text? |
Dreamlight | Daily Discussion | ![]() |
|
Dreamlight - Fishing | Different Fish | ![]() |
|
Dreamlight - Foraging | Different Fruits | ![]() |
|
Dreamlight - Gardening | Different Vegetables | ![]() |
|
Dreamlight | Star Coins | ![]() |
|
Dreamlight - Village | Dreamlight Duties | File:Clipboard Icon.png Dreamlight Duties | |
Dreamlight - Village | Repair | ![]() |
|
Dreamlight - Village | Upgrade Player's House | ![]() |
|
Dreamlight - Village | Upgrade Chez Remy | ![]() |
|
Dreamlight - Village | Upgrade Scrooge's Store | ![]() |
|
Dreamlight - Village | Upgrade Moana's Boat | ![]() |
|
Dreamlight - Village | Upgrade WALL-E's Garden | ![]() |
|
Dreamlight - Village | Add Rooms | ![]() |
|
Dreamlight | Dreamlight | ![]() |
|
Dreamlight | Energy | ![]() |
|
Dreamlight | Flowers | ![]() |
|
Dreamlight | Gems | ![]() |
|
Dreamlight | Gift | ![]() |
|
Dreamlight | Meals | File:Entrée.png Meals | |
Dreamlight | Chez Remy Order | ![]() |
TODO: revisit keywords |
Dreamlight | Mushrooms | ![]() |
|
Dreamlight - Foraging | Basil, Oregano, Mint | ![]() ![]() ![]() |
|
Dreamlight - Foraging | Garlic | ![]() |
|
Dreamlight - Foraging | Ginger | ![]() |
|
Dreamlight - Foraging | Vanilla | ![]() |
|
Dreamlight - Foraging | Apples | ![]() |
|
Dreamlight - Foraging | Bananas | ![]() |
|
Dreamlight - Foraging | Blueberries | ![]() |
|
Dreamlight - Foraging | Cherries | ![]() |
|
Dreamlight - Foraging | Cocoa | ![]() |
|
Dreamlight - Foraging | Gooseberries | ![]() |
|
Dreamlight - Foraging | Lemons | ![]() |
|
Dreamlight - Foraging | Raspberries | ![]() |
|
Dreamlight - Mining | Diamonds | ![]() |
|
Dreamlight - Mining | Amethysts Aquamarines Citrine Garnets Peridot Tourmaline |
![]() ![]() ![]() ![]() ![]() ![]() |
|
Dreamlight - Mining | Emeralds Rubies Sapphires Topazes |
![]() ![]() ![]() ![]() |
|
Dreamlight | Rock Spot | ![]() |
|
Dreamlight | Sell Fish | ![]() |
|
Dreamlight | Sell Fruit | ![]() |
|
Dreamlight | Sell Gem, Sell Mineral | ![]() ![]() |
|
Dreamlight | Sell Meals | ![]() |
|
Dreamlight | Sell Vegetables | ![]() |
|
General | Furniture | ![]() |
|
General | Clothing | ![]() |
|
General | Motifs | ![]() |
|
General | Crafting | File:Menu Icon Crafting.png Crafting | |
General | Story | ![]() |
|
General | Events | ![]() |
|
General | Memories | ![]() |
|
General | Realms | ![]() |
|
General | Premium Shop | ![]() |
|
General | Scrooge's Store | ![]() |
|
General | Scrooge's Catalog | File:Furniture Catalog.png Scrooge's Catalog | |
General | Goofy's Stall | ![]() |
|
General | Kristoff's Stall | ![]() |
|
General | Chez Remy's Pantry | ![]() |
|
General | Characters | ![]() |
|
Realm | Ratatouille Realm | File:Ratatouille Icon.png Ratatouille Realm | |
Realm | Moana Realm | File:Moana Icon.png Moana Realm | |
Realm | WALL-E Realm | File:WALL-E Icon.png WALL-E Realm | |
Realm | Frozen Realm | ![]() |
|
Realm | Toy Story Realm | ![]() |
|
Universe | Mickey & Friends | ![]() |
|
Universe | The Sword in the Stone | ![]() |
|
Universe | Disney | File:Non-Disney-Related.png Disney | |
Universe | WALL-E (Universe) | File:WALL-E Icon.png WALL-E | |
Universe | Moana (Universe) | File:Moana Icon.png Moana | |
Universe | Ratatouille (Universe) | File:Ratatouille Icon.png Ratatouille | |
Universe | Beauty and the Beast | ![]() |
|
Universe | Wreck-It Ralph | ![]() |
|
Universe | Cinderella (Universe) | File:Cinderella Icon.png Cinderella | |
Universe | The Lion King | ![]() |
|
Universe | The Little Mermaid | ![]() |
|
Universe | Frozen | ![]() |
|
Universe | Tangled | ![]() |
|
Universe | Monsters, Inc. | ![]() |
|
Universe | Toy Story | ![]() |
|
Universe | Lilo & Stitch | ![]() |
|
Universe | The Incredibles | ![]() |
|
Universe | Hercules (Universe) | File:Hercules Icon.png Hercules | |
Universe | Coco | ![]() |
|
Universe | Cars | ![]() |
|
Universe | Lightyear | ![]() |
|
Universe | Up | ![]() |
|
Universe | Sleeping Beauty | ![]() |
|
Universe | Snow White (Universe) | File:Snow White Icon.png Snow White | |
Universe | Alice in Wonderland | ![]() |
|
Universe | Fantasia | ![]() |
|
Universe | Encanto | ![]() |
|
Universe | Princess and the Frog | File:Non-Disney-Related.png Princess and the Frog | |
Universe | General, Other, Non-Disney-Related | File:Non-Disney-Related.png General File:Non-Disney-Related.png Other File:Non-Disney-Related.png Non-Disney-Related |