Mr. Johnson (talk | contribs) No edit summary Tag: Reverted |
Mr. Johnson (talk | contribs) No edit summary Tag: Manual revert |
||
(2 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
| mod = [[Gear Modification Item|Modification]] | | mod = [[Gear Modification Item|Modification]] | ||
| summon = [[Summon/Compile Item|Summon]] | | summon = [[Summon/Compile Item|Summon]] | ||
| compile = {{#ifeq:{{{2|}}}|s|[[Summon | | compile = {{#ifeq:{{{2|}}}|s|[[Summon/Compile Item|Compilations]]|[[Summon/Compile Item|Compile]]}} | ||
| summon/compile = {{#ifeq:{{{2|}}}|s|[[Summon | | summon/compile = {{#ifeq:{{{2|}}}|s|[[Summon/Compile Item|Summons/Compliations]]|[[Summon/Compile Item|Summon/Compile]]}} | ||
| quality = {{#ifeq:{{{2|}}}|s|[[Quality Item|Qualities]]|[[Quality Item|Quality]]}} | | quality = {{#ifeq:{{{2|}}}|s|[[Quality Item|Qualities]]|[[Quality Item|Quality]]}} | ||
| #default = [[{{{1}}} Item|{{{1}}}]] | | #default = [[{{{1}}} Item|{{{1}}}]] | ||
}}</onlyinclude></includeonly> | }}</onlyinclude></includeonly> |
Latest revision as of 14:34, 18 December 2023
Template:Item
Template:Item
simplyfies the wiki syntax for creating shortened, more readable links to Item articles.
Usage
It accepts one mandatory string parameter and one optional string parameter.
- Will be combined with the string
Item
to create a link to a Item article, so it must be a page that exists.ammo
can be substituted forAmmunition
modification
andmod
can be substituted forGear Modification
- If set to
s
will adjust the returned text as pluralized for words that don't simply slap an "s" on the end:Echo
,Quality
,Summon/Compile
, andCompile
. It has no effect when used with other initial parameters.
Returns
{{Item|Echo}}
returns:
{{Item|Echo}}s
returns...
...which is undesirable.
Instead, use{{Item|Echo|s}}
to return: The documentation above was transcluded from Template:Item/Documentation. [ edit ]