Difference between revisions of "Template:IL"

From Idlescape Wiki
Jump to navigation Jump to search
(Testing to add a template for linking item links)
 
m (forgot to add it to current links available)
 
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{#if: {{{item link|gems}}}|
+
<includeonly>{{#ifeq: {{{1}}}|Gems|
<p>[[Sapphire]], [[Emerald]], [[Ruby]], [[Diamond]], [[Black Opal]]</p>
+
<span style="vertical-align: middle;">[[Sapphire]], [[Emerald]], [[Ruby]], [[Diamond]], [[Black Opal]]</span>
|}}
+
|}}{{#ifeq: {{{1}}}|Runes|
 +
<span>[[Runes|Air Rune]], [[Runes|Earth Rune]], [[Runes|Fire Rune]], [[Runes|Water Rune]], [[Runes|Blood Rune]], [[Runes|Death Rune]], [[Runes|Chaos Rune]], [[Runes|Nature Rune]], [[Runes|Mind Rune]], [[Runes|Cosmic Rune]]</span>
 +
|}}{{#ifeq: {{{1}}}|Fishes|
 +
<span>[[Raw Shrimp]], [[Raw Anchovy]], [[Raw Trout]], [[Raw Salmon]], [[Raw Lobster]], [[Raw Tuna]], [[Raw Shark]]</span>
 +
|}}{{#ifeq: {{{1}}}|Obsidian|
 +
<span>[[Obsidian Scimitar]], [[Obsidian Battleaxe]], [[Obsidian Daggers]], [[Obsidian Greatsword]], [[Obsidian Helm]], [[Obsidian Full Helm]], [[Obsidian Shield]], [[Obsidian Breastplate]], [[Obsidian Chainmail]],  [[Obsidian Plate Leggings]], [[Obsidian Boots]]</span>
 +
|}}</includeonly><noinclude>
 +
Template links in item span into drop tables to make it easier to update if a new for example fish is released
 +
 
 +
Current links available:
 +
 
 +
<code>
 +
<nowiki>{{Item Link|Gems}}</nowiki> - links all gems
 +
 
 +
<nowiki>{{Item Link|Runes}}</nowiki> - links all runes
 +
 
 +
<nowiki>{{Item Link|Fishes}}</nowiki> - links all fishes
 +
 
 +
<nowiki>{{Item Link|Obsidian}}</nowiki> - links all obsidian equipment
 +
</code>
 +
</noinclude><noinclude>
 +
[[Category:Template]]
 +
</noinclude>

Latest revision as of 10:35, 4 November 2023

Template links in item span into drop tables to make it easier to update if a new for example fish is released

Current links available:

{{Item Link|Gems}} - links all gems

{{Item Link|Runes}} - links all runes

{{Item Link|Fishes}} - links all fishes

{{Item Link|Obsidian}} - links all obsidian equipment