Difference between revisions of "Template:Icon"

131 bytes added ,  05:30, 11 March 2010
no edit summary
Line 1: Line 1:
<div class="plainlinks firstHeading" style="font-size:188%; padding-top:0.2em; padding-bottom:0.09em; float:right; position:absolute; right:{{#switch:{{{offset|}}}|{{Void}}=0.5|#default={{{offset|}}}}}em; top:0em; white-space:nowrap"><table style="float:right; padding:0px"><tr><td>{{#ifeq:{{{custom|}}}|{{Void}}|[[File:{{{image|}}}|{{#switch:{{{size|}}}|#default={{{size|}}}|{{Void}}=23px}}|{{#switch:{{{text|}}}|{{Void}}={{{image|}}}|#default={{{text|}}}}}]]|{{{custom|}}}}}</td></tr></table></div><noinclude>
<div class="plainlinks firstHeading" style="font-size:188%; padding-top:0.2em; padding-bottom:0.09em; float:right; position:absolute; right:{{#switch:{{{offset|}}}|{{Void}}=0.5|#default={{{offset|}}}}}em; top:0em; white-space:nowrap"><table style="float:right; padding:0px"><tr><td>{{#ifeq:{{{custom|}}}|{{Void}}|[[File:{{{image|}}}|{{#switch:{{{size|}}}|#default={{{size|}}}|{{Void}}=23px}}|{{#switch:{{{text|}}}|{{Void}}={{{image|}}}|#default={{{text|}}}}}]]|{{{custom|}}}}}</td></tr></table></div>
 
 
 
 
* offest = {{{offset|}}}
* image = {{{image|}}}
* custom = {{{custom|}}}
* size = {{{size|}}}
* text = {{{text|}}}
 
 
 
 
 
 
 
 
 
 
 
<noinclude>
==Pupose==
==Pupose==
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.