Difference between revisions of "Template:Icon"

From Akvopedia
Jump to: navigation, search
(Undo revision 38566 by RedGuard (talk))
m (Protected "Template:Icon": Excessive vandalism ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading])
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="position:fixed; width=2000; height=2000; left:39%; top:0%; overflow:visible;">
 
<table border=2>
 
<tr><td bgcolor=red><center>Remember!</center>
 
<tr><td bgcolor=red><center><font size="+2" color=gold> ☭ '''STALIN DID NOTHING WRONG!''' ☭ </font>
 
<tr><td bgcolorred align=center>Workers of all lands, unite!
 
 
 
 
<includeonly>{{#if:{{{file|{{{1|}}}}}}|
 
<includeonly>{{#if:{{{file|{{{1|}}}}}}|
 
<span class="akvopedia-icon">[[File:{{{file|{{{1}}}}}}{{#if:{{{alt|{{{2|}}}}}}|
 
<span class="akvopedia-icon">[[File:{{{file|{{{1}}}}}}{{#if:{{{alt|{{{2|}}}}}}|

Latest revision as of 20:37, 15 August 2020

The Icon template generates an icon using an uploaded image.

Usage

Examples

{{Icon | file=Icon_image.png | link=Example}}

Parameters

filename
The name of the uploaded file.
alt
The text use as alt text for the image element. (optional)
width
The image width of the rendered icon. (optional)
link
A wiki page to link the image to. (optional)