Help:Editing: Difference between revisions
AlphSpirit (talk | contribs) No edit summary |
AlphSpirit (talk | contribs) No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 34: | Line 34: | ||
[[File:Item Float Template.png|800px]] | [[File:Item Float Template.png|800px]] | ||
Here is the full list of arguments that those templates can take: | |||
{| class="wikitable" | |||
|- | |||
! Argument Name !! Required | |||
|- | |||
| name || Yes | |||
|- | |||
| type || No (doesn't show if empty) | |||
|- | |||
| description || Yes | |||
|- | |||
| value || Yes | |||
|} | |||
=== Item Link Template === | === Item Link Template === | ||
Line 44: | Line 59: | ||
<pre><nowiki>{{ItemLink|Copper Ore}}</nowiki></pre> | <pre><nowiki>{{ItemLink|Copper Ore}}</nowiki></pre> | ||
By default, it will search the thumbnail in .webp format. If you want the image to be another format, like the skill links with their little GIF animations, you can pass the file extension as a second argument: | |||
<pre><nowiki>{{ItemLink|Mining|gif}}</nowiki></pre> | |||
Here is the list of arguments: | |||
{| class="wikitable" | |||
|- | |||
!Argument !! Required | |||
|- | |||
| 1 (name) || Yes | |||
|- | |||
| 2 (extension) || No (defaults to .webp) | |||
|} |