Difference between revisions of "Template:Icon"

From Event-B
Jump to navigationJump to search
imported>Mathieu
m
imported>Mathieu
m
Line 3: Line 3:
 
== Usage ==
 
== Usage ==
 
<nowiki>{{icon|iconname}}</nowiki>
 
<nowiki>{{icon|iconname}}</nowiki>
 +
or
 +
<nowiki>{{icon|iconname|alternative text}}</nowiki>
 
== Example ==
 
== Example ==
 
Click {{icon|newprj_wiz}} and the create a component.
 
Click {{icon|newprj_wiz}} and the create a component.
 +
You can also find {{icon|newprj_wiz|Create new project}} in the project explorer.
 
[[Category:Typesetting template]]
 
[[Category:Typesetting template]]
 
== Template ==
 
== Template ==
 
</noinclude><!--
 
</noinclude><!--
--><div class="typeset-icon" style="display:inline;">[[Image:{{{1}}}.gif|16x16px|{{{2}}}]]</div>
+
--><div class="typeset-icon" style="display:inline;">[[Image:{{{1}}}.gif|16x16px|{{{2|}}}]]</div>

Revision as of 11:43, 10 July 2008

Template use to specify an icon:

Usage

{{icon|iconname}} or {{icon|iconname|alternative text}}

Example

Click

Newprj wiz.gif

and the create a component. You can also find

Create new project

in the project explorer.

Template

[[Image:{{{1}}}.gif|16x16px|]]