Difference between revisions of "Template:Item"
From Project Einherjar
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{{Icons}}{{{1}}}.png [{{database}}item&action=view&id={{{1}}} {{{2}}}]</includeonly><noinclude>__NOTOC__ |
+ | |||
==Description== | ==Description== | ||
− | This template serves the purpose of shortening linkings to the [ | + | This template serves the purpose of shortening linkings to the [http://home.projecteinherjar.com/fluxcp/?module=item Database View Item] for the ease of article overview when editing and consistency. |
− | + | <br> | |
− | |||
− | |||
====Usage==== | ====Usage==== | ||
− | <nowiki>{{item | | + | <nowiki>{{item|</nowiki>''<id>''<nowiki>|</nowiki>''<name>''<nowiki>}}</nowiki> |
− | + | <br> | |
{| class="wikitable" | {| class="wikitable" | ||
! Example !! Output | ! Example !! Output | ||
Line 16: | Line 15: | ||
|| {{item|716|Red Gemstone}} | || {{item|716|Red Gemstone}} | ||
|} | |} | ||
− | + | <br> | |
====Fields==== | ====Fields==== | ||
{| class="wikitable" style="text-align: left" | {| class="wikitable" style="text-align: left" | ||
Line 25: | Line 24: | ||
==See Also== | ==See Also== | ||
− | |||
*[[Template:Monster]] | *[[Template:Monster]] | ||
− | |||
[[Category:Templates|Item]] | [[Category:Templates|Item]] | ||
</noinclude> | </noinclude> |
Latest revision as of 16:37, 5 June 2023
Description[edit]
This template serves the purpose of shortening linkings to the Database View Item for the ease of article overview when editing and consistency.
Usage[edit]
{{item|<id>|<name>}}
Example | Output |
---|---|
{{item|716|Red Gemstone}} | Red Gemstone |
Fields[edit]
id | The ID of the item as seen in the itemdesctables. |
name | The text to appear in the link. |