Template:Icon: Difference between revisions

From My Wiki
Jump to navigation Jump to search
imported>Tlosk's Bot
New page: <includeonly> [[Image:{{{1|}}} Icon.png|{{{1|Icon Needed}}}]] </includeonly> <noinclude> {{Related|Wiki Templates}} == Usage == Enforces Naming Conventions and sets the Icon popup capt...
 
Created page with "<includeonly>[[Image:{{{1|}}} Icon.png|link={{#ifeq:{{{link|}}}||{{{1|Icon Needed}}}|{{{link|}}}}}]]</includeonly><noinclude> {{Related|Wiki Templates|{{mtl|Icon Bullet}}}} == Syntax == <pre> {{Icon|<name>}} {{Icon|<name>|link=<page name>}} </pre> == Usage == Enforces Naming Conventions, sets the Icon popup caption to the item name rather than the full item name, and links to the item's article page. A link to a specific page other than the icon name may be specifi..."
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>[[Image:{{{1|}}} Icon.png|link={{#ifeq:{{{link|}}}||{{{1|Icon Needed}}}|{{{link|}}}}}]]</includeonly><noinclude>
[[Image:{{{1|}}} Icon.png|{{{1|Icon Needed}}}]]
{{Related|Wiki Templates|{{mtl|Icon Bullet}}}}
</includeonly>
== Syntax ==
<noinclude>
<pre>
{{Related|Wiki Templates}}
{{Icon|<name>}}
 
{{Icon|<name>|link=<page name>}}
</pre>
 
== Usage ==
== Usage ==
Enforces [[Naming Conventions]] and sets the Icon popup caption to the item name rather than the full item name.
Enforces [[Naming Conventions]], sets the Icon popup caption to the item name rather than the full item name, and links to the item's article page. A link to a specific page other than the icon name may be specified using the optional "link" parameter.
 
For a bulleted list item showing the icon and a text link use {{tl|Icon Bullet}}.


For example:
For example:
Line 17: Line 23:
{{Icon|Pyreal Mote}}
{{Icon|Pyreal Mote}}


leave blank for an icon that isn't yet available:
<pre>
{{Icon|}}
</pre>
displays as:
{{Icon|}}
[[Category:Wiki Template]]
</noinclude>
</noinclude>

Latest revision as of 23:36, 19 January 2024

Related topics: Wiki Templates, {{Icon Bullet}}

Syntax

{{Icon|<name>}}

{{Icon|<name>|link=<page name>}}

Usage

Enforces Naming Conventions, sets the Icon popup caption to the item name rather than the full item name, and links to the item's article page. A link to a specific page other than the icon name may be specified using the optional "link" parameter.

For a bulleted list item showing the icon and a text link use {{Icon Bullet}}.

For example:

{{Icon|Pyreal Mote}}

displays as:

leave blank for an icon that isn't yet available:

{{Icon|}}

displays as: