Template:IconSimple

From 1100ad

(Difference between revisions)
m
m
 
(2 intermediate revisions not shown)
Line 1: Line 1:
-
<td>[[File:{{{Icon|none_icon.jpg}}}|link={{{Name|}}}]]<br>[[{{{Name}}}|{{{Text|{{{Name}}}}}}]]{{{NoLinkText|}}}</td>
+
<td>[[File:{{{Icon|none_icon.jpg}}}|link={{{Name|}}}]]<br>{{{NoLink|[[{{{Name}}}|{{{Text|{{{Name}}}}}}]]}}}{{{NoLinkText|}}}</td>
<noinclude>
<noinclude>
This template may be used in HTLM-tables inside <tr> - </tr> tags.
This template may be used in HTLM-tables inside <tr> - </tr> tags.
Line 7: Line 7:
*Text: (Optional) text shown under the icon. If Text parameter is missed, Name will be shown instead.
*Text: (Optional) text shown under the icon. If Text parameter is missed, Name will be shown instead.
*NoLinkText: (Optional) text shown under the icon with no link in it.
*NoLinkText: (Optional) text shown under the icon with no link in it.
 +
*NoLink: use "NoLink=" to avoid link usage.
</noinclude>
</noinclude>

Current revision as of 02:29, 9 June 2010

<td>File:None icon.jpg
[[{{{Name}}}|{{{Name}}}]]</td>

This template may be used in HTLM-tables inside <tr> - </tr> tags.

Parameters

  • Icon: icon file name (pikeman_icon.jpg)
  • Name: link page name
  • Text: (Optional) text shown under the icon. If Text parameter is missed, Name will be shown instead.
  • NoLinkText: (Optional) text shown under the icon with no link in it.
  • NoLink: use "NoLink=" to avoid link usage.