Difference between revisions of "Template:SetLinks/doc"
From SpiralKnights
m |
m |
||
Line 65: | Line 65: | ||
}} | }} | ||
− | == | + | If for whatever reason you don't want to link to the [[List of sets]] page, modify the entry to look like this: |
+ | |||
+ | <pre> | ||
+ | {{SetLinks|link to set page = no | ||
+ | |item 1 = Cherub's Crown | ||
+ | |item 2 = Cherub's Raiment | ||
+ | |item 3 = Shield Bracelet | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | ;Produces | ||
+ | |||
+ | {{SetLinks|link to set page = no | ||
+ | |item 1 = Cherub's Crown | ||
+ | |item 2 = Cherub's Raiment | ||
+ | |item 3 = Shield Bracelet | ||
+ | }} | ||
+ | |||
+ | ==Standard Example== | ||
<pre> | <pre> | ||
{{SetLinks| | {{SetLinks| |
Revision as of 18:51, 1 February 2015
Use when informing users about official sets in a bulleted list format.
Can be used for any "type" of set, be it costume, armor+helmet, armor+helmet+shield, or even bunches of things, though sets beyond these 3 types are far and few in-between, this template is simple and flexible for current and future possibilities.
Template-friendly - can be used by itself on a page or in templates like Infoboxes.
This is not to be confused with other things like "collections" or "groups" - just official sets. What is an official set? Oh, well, that is something to argue about on the Wiki Editors' Forum!
- (Usually we just say like, does it share words in its name with other items and isn't an accessory? okay it's in a set)
Back to how to use this template:
Contents
Appearance
Code
{{SetLinks |item 1 = |item 2 = }}
Parameters
Required
(None)
Optional
- item #
- Use the full name of the item. (# is any number from 1 to 9, like so: "item 2", "item 3").
- item # link
- Title of the page you want to link directly to. Only use this if there's a disambiguation issue and you want to link directly to a specific item.
- item # icon =
- Disambiguation issues with icon names must be inserted into the item # parameter - you might have to flip flop things until they look and link correctly. If this doesn't work, try using this parameter and then the name of the item, this should get the icon you want - sometimes you want to use a representative icon for things that have multiple colors, like the Battle Chef Hat (vs the White Battle Chef Hat and other battle chef hats).
Switches
Some items don't have icons because the entity is using a naming convention on its page, with individual items having their own icons, like for "scale helm" vs. "Hunter Scale Helm" or "Surge Scale Helm" and so on. If this is the case, simply put
- icons = no
right after the template entry, like so (this example also uses the disambiguation workaround):
{{SetLinks|icons=no |item 1 = Scale Helm |item 1 link = Scale Helm (Costume) |item 2 = Scale Mail |item 2 link = Scale Mail (Costume) }}
- Produces
If for whatever reason you don't want to link to the List of sets page, modify the entry to look like this:
{{SetLinks|link to set page = no |item 1 = Cherub's Crown |item 2 = Cherub's Raiment |item 3 = Shield Bracelet }}
- Produces
Standard Example
{{SetLinks| |item 1 = Vog Cub Cap |item 2 = Vog Cub Coat |item 3 = Fang of Vog }}
- Produces
Notes
This template is a more flexible, expandable version of Template:Setlist.
This template gets around items that are named unconventionally while still allowing lazy/easy updating of pages. We've lots of weirdly named items show up since the game started!
If there is a linking issue that causes the template to link to a disambiguation page, then use the relevant "linking" optional parameter. Otherwise leave this parameter blank, its default is set to whatever you type in for item #.
It's doubtful that SK will ever have an set with 9 or more items, but if it ever does, just add more rows to the template. Easypeasy!
Common Problems
Getting red text? This probably means the icons and/or pages don't exist (yet). But don't just go and make those pages! Unless the game has updated with more content recently, the problem is probably a typo. Capitalization is often the issue, if the item has not been misspelled.