Difference between revisions of "Template:Icon/doc"

45 bytes added ,  14:10, 22 January 2023
m
Text replacement - "zeldapedia" to "zeldawiki"
m (Text replace - '<includeonly>' to '<includeonly>{{user-take-a-look|tacopill}}')
m (Text replacement - "zeldapedia" to "zeldawiki")
Tag: Manual revert
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{documentation-improvement | date = August 2010 }}
{{documentation shell
{{documentation shell
| name = Icon
| name = Icon
| info = [[#Purpose]]
| info = [[#Purpose]]
| see also = Taken from [http://www.zeldawiki.org/Template:Icon] on 3/10/2010.
{{Text-template}}
}}
}}


==Purpose==
==Purpose==
This template is used to conveniently display an image on the same level as the page title.
This template is used to conveniently display an image on the same level as the page title.


==Usage==
==Usage==
 
=== Example ===
Copy this code and fill it out:
Copy this code and fill it out:
<pre><nowiki>
<pre>
{{Icon
{{Icon
|image  =  
| image  =  
|text  =
| text  =
|offset =
| size =
}}</nowiki></pre>
| position =
| top =  
| offset =
}}
</pre>


=== Paramters ===


*'''image''' is the filename of the image
*'''image''' is the filename of the image
*'''text''' is the text you want the image to display when hovered over by the mouse.
*'''text''' is the text you want the image to display when hovered over by the mouse.
*'''size''' is size of the picture
*'''position''' is the position of the icon (left, right, relative, absolute)
*'''top''' how many [[wikipedia:pixels|pixel]], [[wikipedia:em|em]], etc. should it move up from its default position.
*'''offset''' is the distance from the right side that the image is placed. The default value is 0.5em. An em is the width of a "m".
*'''offset''' is the distance from the right side that the image is placed. The default value is 0.5em. An em is the width of a "m".
<includeonly>{{user-take-a-look|tacopill}}{{documentation-improvement | date = August 2010 }}
 
[[Category:Formatting Templates|Icon]]
==Attribution==
[[Category:Icons|I]]
Taken from [http://www.zeldawiki.org/Template:Icon] on 3/10/2010.
</includeonly>
 
<noinclude>[[Category:Documentation|{{PAGENAME}}]]</noinclude>
<noinclude>[[Category:Documentation|{{PAGENAME}}]]</noinclude>