Template:IconEx/Doc: Difference between revisions

From HorizonXI Wiki
Line 161: Line 161:
! align="left" | Recognized Values
! align="left" | Recognized Values
|- style="background-color:#eef0ff;"
|- style="background-color:#eef0ff;"
| align="center" | [[File:Ffxi hby 06.GIF|x16px|Harvesting]] || harvest, harvesting
| align="center" | [[File:Ffxi hby 06.png|x16px|Harvesting]] || harvest, harvesting
|- style="background-color:#eef0ff;"
|- style="background-color:#eef0ff;"
| align="center" | [[File:Ffxi hby 08.PNG|x16px|Treasure Chest]] || chest
| align="center" | [[File:Ffxi hby 08.PNG|x16px|Treasure Chest]] || chest
Line 169: Line 169:
| align="center" | [[File:Ffxi hby 09.PNG|x16px|Treasure Coffer]] || coffer
| align="center" | [[File:Ffxi hby 09.PNG|x16px|Treasure Coffer]] || coffer
|- style="background-color:#eef0ff;"
|- style="background-color:#eef0ff;"
| align="center" | [[File:Ffxi hby 02.GIF|x16px|Mining]] || mining
| align="center" | [[File:Ffxi hby 02.png|x16px|Mining]] || mining
|- style="background-color:#eef0ff;"
|- style="background-color:#eef0ff;"
| align="center" | [[File:Ffxi hby 04.GIF|x16px|Logging]] || logging
| align="center" | [[File:Ffxi hby 04.png|x16px|Logging]] || logging
|- style="background-color:#eef0ff;"
|- style="background-color:#eef0ff;"
| align="center" | [[File:Chocodig.gif|x16px|Digging]] || digging
| align="center" | [[File:Chocodig.png|x16px|Digging]] || digging
|- style="background-color:#eef0ff;"
|- style="background-color:#eef0ff;"
| align="center" | [[File:Ffxi hby 07.GIF|x16px|Clamming]] || clamming
| align="center" | [[File:Ffxi hby 07.png|x16px|Clamming]] || clamming
|- style="background-color:#eef0ff;"
|- style="background-color:#eef0ff;"
| align="center" | [[File:Ffxi hby 01.GIF|x16px|Excavation]] || excavation
| align="center" | [[File:Ffxi hby 01.png|x16px|Excavation]] || excavation
|- style="background-color:#eef0ff;"
|- style="background-color:#eef0ff;"
| align="center" | [[File:Ffxi gld 01.gif|x16px|Fishing]] || fishing
| align="center" | [[File:Ffxi gld 01.png|x16px|Fishing]] || fishing
|- style="background-color:#eef0ff;"
|- style="background-color:#eef0ff;"
| align="center" | [[File:Chocobo Icon.GIF|x16px|Chocobo|link=Chocobo]] || chocobo
| align="center" | [[File:Chocobo Icon.png|x16px|Chocobo|link=Chocobo]] || chocobo
|}
|}
</div>
</div>
Line 187: Line 187:


<div style="vertical-align:top;">
<div style="vertical-align:top;">
==== '''Status Effects''' ====
==== '''Status Effects''' ====
<div style="width:50%;float:left;">
<div style="width:50%;float:left;">

Revision as of 11:20, 1 May 2024

This is the documentation for {{IconEx}}. It is transcluded into the template page.

Introduction

Displays a selected icon and optionally makes it a link. No categories are output with this template.

Sub-Templates:

See Also:

Usage

Syntax

{{IconEx|type|size|alt|link}}

Example

{{IconEx|fishing|icon||Category:Fishing}}

Output: File:Ffxi gld 01.gif

Parameters

  1. type: The type of icon to be displayed. See the table below.
  2. size: The size for the icon. Valid options:
    • (blank), icon — Resizes the image to be 16px tall to fit within a text line.
      This is the default value.
    • none — Leaves the image at its original size.
    • {width}px — Resizes the image to fit within the given maximum width in pixels, without restricting its height.
    • x{height}px — Resizes the image to fit within the given maximum height in pixels, without restricting its width.
    • {width}x{height}px — Resizes the image to fit within the given width and height in pixels.
  3. alt: Alternate text for the icon. If not provided, a default will be used.
    The defaults are used in the table below. Hover on the images to see them.
  4. link: Page to link the image to. If not provided, the image will link to either the article (if applicable) or the image page.

Icons