Template:Img item/link: Difference between revisions
(Created page with "<includeonly>{{#switch: {{{item}}}<!-- ## AMMO ## --> | Bullets9mm|9mm Rounds = 9mm Round | Bullets9mmBox|Box of 9mm Bullets|Box of 9mm Rounds = 9mm Round | 9mmClip|9mm...") |
m (Automated Formatting) |
||
(12 intermediate revisions by one other user not shown) | |||
Line 6: | Line 6: | ||
| Bullets9mm|9mm Rounds = 9mm Round | | Bullets9mm|9mm Rounds = 9mm Round | ||
| Bullets9mmBox|Box of 9mm Bullets|Box of 9mm Rounds = 9mm Round | | Bullets9mmBox|Box of 9mm Bullets|Box of 9mm Rounds = 9mm Round | ||
| 9mmClip|9mm Magazine = | | 9mmClip|9mm Magazine|M9 Magazine = M9 Magazine | ||
| Bullets45|.45 Auto|.45 Auto Round = .45 Auto Round | | Bullets45|.45 Auto|.45 Auto Round = .45 Auto Round | ||
| Bullets45Box|Box of .45 Auto Bullets|Box of .45 Auto Rounds = .45 Auto Round | | Bullets45Box|Box of .45 Auto Bullets|Box of .45 Auto Rounds = .45 Auto Round | ||
| 45Clip|.45 Auto Magazine = | | 45Clip|.45 Auto Magazine|M1911 Auto Magazine = M1911 Auto Magazine | ||
| Bullets44|.44 Magnum Bullets|.44 Magnum Round = .44 Magnum Round | | Bullets44|.44 Magnum Bullets|.44 Magnum Round = .44 Magnum Round | ||
| Bullets44Box|Box of .44 Magnum Bullets|Box of .44 Magnum Rounds = .44 Magnum Round | | Bullets44Box|Box of .44 Magnum Bullets|Box of .44 Magnum Rounds = .44 Magnum Round | ||
| 44Clip|.44 Magazine = | | 44Clip|.44 Magazine|D-E Magazine = D-E Magazine | ||
| Bullets38|.38 Special Bullets|.38 Special Round = .38 Special Round | | Bullets38|.38 Special Bullets|.38 Special Round = .38 Special Round | ||
| Bullets38Box|Box of .38 Special Bullets|Box of .38 Special Rounds = .38 Special Round | | Bullets38Box|Box of .38 Special Bullets|Box of .38 Special Rounds = .38 Special Round | ||
Line 19: | Line 19: | ||
| 223Bullets|.223 Ammo|.223 Round = .223 Round | | 223Bullets|.223 Ammo|.223 Round = .223 Round | ||
| 223Box|Box of .223 Bullets|Box of .223 Rounds = .223 Round | | 223Box|Box of .223 Bullets|Box of .223 Rounds = .223 Round | ||
| 223Clip|.223 Magazine = | | 223Clip|.223 Magazine|MSR700 Magazine = MSR700 Magazine | ||
| 308Bullets|.308 Ammo|.308 Round = .308 Round | | 308Bullets|.308 Ammo|.308 Round = .308 Round | ||
| 308Box|Box of .308 Bullets|Box of .308 Rounds = .308 Round | | 308Box|Box of .308 Bullets|Box of .308 Rounds = .308 Round | ||
| 308Clip|.308 Magazine = | | 308Clip|.308 Magazine|MSR788 Magazine = MSR788 Magazine | ||
| 556Bullets|.556 Ammo|. | | 556Bullets|.556 Ammo|5.56mm Round = 5.56mm Round | ||
| 556Box|Box of .556 Bullets|Box of .556 Rounds = . | | 556Box|Box of .556 Bullets|Box of .556 Rounds|Box of 5.56mm Rounds = Box of 5.56mm Rounds | ||
| 556Clip|.556 Magazine = | | 556Clip|.556 Magazine|M16 Magazine = M16 Magazine | ||
| M14Clip|.308 Magazine = | | M14Clip|.308 Magazine|M14 Magazine = M14 Magazine<!-- | ||
## FIREARMS ## | ## FIREARMS ## | ||
Line 44: | Line 44: | ||
| Revolver_Short|M36 Revolver = M36 Revolver | | Revolver_Short|M36 Revolver = M36 Revolver | ||
| AssaultRifle|M16 Assault Rifle = M16 Assault Rifle | | AssaultRifle|M16 Assault Rifle = M16 Assault Rifle | ||
| AssaultRifle2|M14 Single Shot Assault Rifle = M14 | | AssaultRifle2|M14 Single Shot Assault Rifle|M14 Rifle = M14 Rifle<!-- | ||
## WEAPON ATTACHMENTS ## | |||
--> | |||
| IronSight|Iron Sight = Iron Sight | |||
| x2Scope|x2 Scope = x2 Scope | |||
| x4Scope|x4 Scope = x4 Scope | |||
| x8Scope|x8 Scope = x8 Scope | |||
| AmmoStraps|Ammo Straps = Ammo Straps | |||
| Sling|Sling = Sling | |||
| FiberglassStock|Fiberglass Stock = Fiberglass Stock | |||
| RecoilPad|Recoil Pad = Recoil Pad | |||
| Laser|Laser = Laser | |||
| RedDot|Red Dot = Red Dot | |||
| GunLight|Gun Light = Gun Light | |||
| Bayonnet|Bayonnet|Bayonet = Bayonet | |||
| ChokeTubeFull|Choke Tube Full|Choke Tube - Full = Choke Tube - Full | |||
| ChokeTubeImproved|Choke Tube Improved|Choke Tube - Improved = Choke Tube - Improved<!-- | |||
## TRAPS ## | ## TRAPS ## | ||
Line 77: | Line 95: | ||
| Denim|denim = Denim Strips | | Denim|denim = Denim Strips | ||
| Leather|leather = Leather Strips | | Leather|leather = Leather Strips | ||
| #default = | | ElectronicsScrap|Electronics Scrap|Scrap Electronics|Electronics = Scrap Electronics <!-- | ||
## LITERATURE ## | |||
--> | |||
| Book|book = Book | |||
| BookTrapping1|Trapping for Beginners = Skill Books | |||
| BookTrapping2|Trapping for Intermediates = Skill Books | |||
| BookTrapping3|Advanced Trapping = Skill Books | |||
| BookTrapping4|Expert Trapping = Skill Books | |||
| BookTrapping5|Master Trapping = Skill Books | |||
| BookFishing1|Fishing for Beginners = Skill Books | |||
| BookFishing2|Fishing for Intermediates = Skill Books | |||
| BookFishing3|Advanced Fishing = Skill Books | |||
| BookFishing4|Expert Fishing = Skill Books | |||
| BookFishing5|Master Fishing = Skill Books | |||
| BookCarpentry1|Carpentry for Beginners = Skill Books | |||
| BookCarpentry2|Carpentry for Intermediates = Skill Books | |||
| BookCarpentry3|Advanced Carpentry = Skill Books | |||
| BookCarpentry4|Expert Carpentry = Skill Books | |||
| BookCarpentry5|Master Carpentry = Skill Books | |||
| BookFirstAid1|First Aid for Beginners = Skill Books | |||
| BookFirstAid2|First Aid for Intermediates = Skill Books | |||
| BookFirstAid3|Advanced First Aid = Skill Books | |||
| BookFirstAid4|Expert First Aid = Skill Books | |||
| BookFirstAid5|Master First Aid = Skill Books | |||
| BookBlacksmith1|Blacksmith for Beginners = Skill Books | |||
| BookBlacksmith2|Blacksmith for Intermediates = Skill Books | |||
| BookBlacksmith3|Advanced Blacksmith = Skill Books | |||
| BookBlacksmith4|Expert Blacksmith = Skill Books | |||
| BookBlacksmith5|Master Blacksmith = Skill Books | |||
| BookMetalWelding1|Metalwork for Beginners = Skill Books | |||
| BookMetalWelding2|Metalwork for Intermediates = Skill Books | |||
| BookMetalWelding3|Advanced Metalwork = Skill Books | |||
| BookMetalWelding4|Expert Metalwork = Skill Books | |||
| BookMetalWelding5|Master Metalwork = Skill Books | |||
| BookElectrician1|Electricity for Beginners = Skill Books | |||
| BookElectrician2|Electricity for Intermediates = Skill Books | |||
| BookElectrician3|Advanced Electricity = Skill Books | |||
| BookElectrician4|Expert Electricity = Skill Books | |||
| BookElectrician5|Master Electricity = Skill Books | |||
| BookCooking1|Cooking for Beginners = Skill Books | |||
| BookCooking2|Cooking for Intermediates = Skill Books | |||
| BookCooking3|Advanced Cooking = Skill Books | |||
| BookCooking4|Expert Cooking = Skill Books | |||
| BookCooking5|Master Cooking = Skill Books | |||
| BookFarming1|Farming for Beginners = Skill Books | |||
| BookFarming2|Farming for Intermediates = Skill Books | |||
| BookFarming3|Advanced Farming = Skill Books | |||
| BookFarming4|Expert Farming = Skill Books | |||
| BookFarming5|Master Farming = Skill Books | |||
| BookForaging1|Foraging for Beginners = Skill Books | |||
| BookForaging2|Foraging for Intermediates = Skill Books | |||
| BookForaging3|Advanced Foraging = Skill Books | |||
| BookForaging4|Expert Foraging = Skill Books | |||
| BookForaging5|Master Foraging = Skill Books | |||
| BookTailoring1|Tailoring for Beginners = Skill Books | |||
| BookTailoring2|Tailoring for Intermediates = Skill Books | |||
| BookTailoring3|Advanced Tailoring = Skill Books | |||
| BookTailoring4|Expert Tailoring = Skill Books | |||
| BookTailoring5|Master Tailoring = Skill Books | |||
| FarmingMag1|The Farming Magazine = The Farming Magazine | |||
| FishingMag1|Angler USA Magazine Vol. 1 = Angler USA Magazine | |||
| FishingMag2|Angler USA Magazine Vol. 2 = Angler USA Magazine | |||
| HuntingMag1|The Hunter Magazine Vol. 1 = The Hunter Magazine | |||
| HuntingMag2|The Hunter Magazine Vol. 2 = The Hunter Magazine | |||
| HuntingMag3|The Hunter Magazine Vol. 3 = The Hunter Magazine | |||
| HerbalistMag|The Herbalist = The Herbalist | |||
| MetalworkMag1|The Metalwork Magazine Vol. 1 = The Metalwork Magazine | |||
| MetalworkMag2|The Metalwork Magazine Vol. 2 = The Metalwork Magazine | |||
| MetalworkMag3|The Metalwork Magazine Vol. 3 = The Metalwork Magazine | |||
| MetalworkMag4|The Metalwork Magazine Vol. 4 = The Metalwork Magazine | |||
| SmithingMag1|The Smithing Magazine Vol. 1 = The Smithing Magazine | |||
| SmithingMag2|The Smithing Magazine Vol. 2 = The Smithing Magazine | |||
| SmithingMag3|The Smithing Magazine Vol. 3 = The Smithing Magazine | |||
| SmithingMag4|The Smithing Magazine Vol. 4 = The Smithing Magazine | |||
| CookingMag1|Good Cooking Magazine Vol. 1 = Good Cooking Magazine | |||
| CookingMag2|Good Cooking Magazine Vol. 2 = Good Cooking Magazine | |||
| ElectronicsMag1|Electronics Magazine Vol. 1 = Electronics Magazine | |||
| ElectronicsMag2|Electronics Magazine Vol. 2 = Electronics Magazine | |||
| ElectronicsMag3|Electronics Magazine Vol. 3 = Electronics Magazine | |||
| ElectronicsMag4|How to Use Generators = How to Use Generators | |||
| ElectronicsMag5|Electronics Magazine Vol. 4 = Electronics Magazine | |||
| EngineerMagazine1|Engineer Magazine Vol. 1 = Engineer Magazine | |||
| EngineerMagazine2|Engineer Magazine Vol. 2 = Engineer Magazine | |||
| RadioMag1|Guerilla Radio Vol. 1 = Guerilla Radio | |||
| RadioMag2|EGuerilla Radio Vol. 2 = Guerilla Radio | |||
| RadioMag3|Guerilla Radio Vol. 3 = Guerilla Radio | |||
| MechanicMag1|Laines Auto Manual - Standard Models = Laines Auto Manual | |||
| MechanicMag2|Laines Auto Manual - Commercial Models = Laines Auto Manual | |||
| MechanicMag3|Laines Auto Manual - Performance Models = Laines Auto Manual | |||
| Notebook|Empty Notebook = Empty Notebook | |||
| Doodle|Doodle = Doodle | |||
| Journal|Journal = Journal | |||
| Magazine|Magazine = Magazine | |||
| HottieZ|HottieZ = HottieZ | |||
| Newspaper|Newspaper = Newspaper | |||
| SheetPaper2|Sheet of Paper = Sheet of Paper | |||
| ComicBook|Comic Book = Comic Book<!-- | |||
## MEDICAL ## | |||
--> | |||
| Bandaid|Adhesive Bandages = Adhesive Bandages | |||
| Bandage = Bandage | |||
| AlcoholBandage|Sterilized Bandage = Bandage | |||
| BandageDirty|Dirty Bandage = Bandage | |||
| DenimStrips|Denim Strips = Denim Strips | |||
| DenimStripsDirty|Dirty Denim Strips = Denim Strips | |||
| LeatherStrips|Leather Strips = Leather Strips | |||
| LeatherStripsDirty|Dirty Leather Strips = Leather Strips | |||
| RippedSheets|Ripped Sheets = Ripped Sheets | |||
| AlcoholRippedSheets|Sterilized Rag = Ripped Sheets | |||
| RippedSheetsDirty|Dirty Rag = Ripped Sheets | |||
| Splint = Splint | |||
| AlcoholWipes|Alcohol Wipes = Alcohol Wipes | |||
| Disinfectant|Bottle of Disinfectant = Bottle of Disinfectant | |||
| AlcoholedCottonBalls|Cotton Balls Doused in Alcohol = Cotton Balls | |||
| WhiskeyFull|Bourbon = Bourbon | |||
| BlackSage|Black Sage = Black Sage | |||
| Comfrey = Comfrey | |||
| CommonMallow|Common Mallow = Common Mallow | |||
| Ginseng = Ginseng | |||
| LemonGrass|Lemongrass = Lemongrass | |||
| Plantain = Plantain | |||
| WildGarlic|Wild Garlic = Wild Garlic | |||
| ComfreyCataplasm|Comfrey Poultice = Comfrey Poultice | |||
| PlantainCataplasm|Plantain Poultice = Plantain Poultice | |||
| WildGarlicCataplasm|Wild Garlic Poultice = Wild Garlic Poultice | |||
| BathTowel|Bath Towel = Bath Towel | |||
| CottonBalls|Cotton Balls = Cotton Balls | |||
| DishCloth|Dish Cloth = Dish Cloth | |||
| SutureNeedle|Suture Needle = Suture Needle | |||
| SutureNeedleHolder|Suture Needle Holder = Suture Needle Holder | |||
| Tissue = Tissue | |||
| Tweezers = Tweezers | |||
| Antibiotics = Antibiotics | |||
| PillsAntiDep|Antidepressants = Antidepressants | |||
| PillsBeta|Beta Blockers = Beta Blockers | |||
| Cigarettes = Cigarettes | |||
| Pills|Painkillers = Painkillers | |||
| PillsSleepingTablets|Sleeping Tablets = Sleeping Tablets | |||
| PillsVitamins|Vitamins = Vitamins<!-- | |||
## WEAPONS ## | |||
--> | |||
| Saucepan = Saucepan | |||
| Plank = Plank<!-- | |||
## OTHER ## | |||
--> | |||
| WaterDrop|Water Drop|Water = Water | |||
| WaterSaucepan|Saucepan with Water = Saucepan | |||
| Pot|Cooking Pot = Cooking Pot | |||
| WaterPot|Cooking Pot with Water = Cooking Pot | |||
| TreeBranch|Tree Branch = Tree Branch | |||
| WoodenStick|Sturdy Stick = Sturdy Stick | |||
| MortarPestle|Mortar and Pestle = Mortar and Pestle | |||
| Lighter = Lighter | |||
| #default = | |||
}}</includeonly><noinclude>{{Documentation}}</noinclude> | }}</includeonly><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 14:07, 14 April 2024
{{Img item/link}}
is a subtemplate of {{Img item}}
. This functions as a link index for all items.
This template uses a switch, searching for a matching input string, returning an output string.
Usage
Although a subtemplate, this can function as a standalone template to lookup a link for an item.
The input string should be the item's item ID (excluding the module) or the display name.
{{Img item/link|item=Item ID <!-- or DisplayName -->}}
Adding to index
The index can be added to by:
- Click "Edit" (top-right)
- Copy the following snippet and paste in a new line, after the switch (top) and before the default (bottom):
| ID| DisplayName = Output
- Replace:
ID
with the Item's ID (excluding the module),DisplayName
with the Item's display name (as it appears in-game), andOutput
with the page you want to link to.- Additional input strings can be added by placing a pipe
|
followed by the string after the last input string, but before the equals symbol=
- Example:
| LemonGrass| Lemongrass| Lemon Grass = Lemongrass
- Example:
- Any additional input strings should be:
- Previous item names, e.g. Whiskey Bottle or Bourbon
- Alternate item names, i.e. name in script file may be different to in-game item name (this is contained in ItemName_EN.txt), e.g. Lemon Grass or Lemongrass
- UK vs US spelling, e.g. Tire or Tyre
- Additional input strings can be added by placing a pipe
- Also add to
{{Img item/name}}
and{{Img_item/icon}}
Example
Type | Produces | Explanation |
---|---|---|
{{Img item/link|item=ShotgunShellsBox}} |
Shotgun Shells | Using the item ID |
{{Img item/link|item=Box of Shotgun Shells}} |
Shotgun Shells | Using the display name |
Editors can experiment in this template's sandbox (create)