This site is not maintained anymore. Please move to MHWiki.org

Difference between revisions of "Template:DistinctionIcon"

From Die2Nite Wiki
Jump to: navigation, search
m (fix commenting)
(trying positions again)
Line 1: Line 1:
 
<includeonly><!--
 
<includeonly><!--
−
--><div style="cursor: help;float:left;"><!--
+
--><div style="position: relative; cursor: help; float:left;"><!--
−
---><div style="float: left; top: 0px; left: 0px;"><!--
+
---><div style="position: absolute;"><!--
 
---->{{click|image=rewardBg<!--
 
---->{{click|image=rewardBg<!--
 
----->{{#switch:{{Data|{{{1}}}|rare|false}}|true=_rare|false=|}}<!--
 
----->{{#switch:{{Data|{{{1}}}|rare|false}}|true=_rare|false=|}}<!--
 
---->.gif|link={{{1}}}}}<!--
 
---->.gif|link={{{1}}}}}<!--
 
---></div><!--
 
---></div><!--
−
---><div style="float: left; margin-left: -24px; margin-top: 6px;"><!--
+
---><div style="position: absolute; left: 8px; top: 9px;"><!--
 
---->{{click|image={{Data|{{{1}}}|image|r_ban.gif}}|link={{{1}}}}}<!--
 
---->{{click|image={{Data|{{{1}}}|image|r_ban.gif}}|link={{{1}}}}}<!--
 
---></div><!--
 
---></div><!--
−
---><div style="float: left; margin-right: -20px; margin-top: -0px;<!--
+
---><div style="position: absolute; margin-right: -20px; margin-top: -0px;<!--
 
--->text-align: right;font-size: 7.5pt;<!--color: #F8EACB;--><!--
 
--->text-align: right;font-size: 7.5pt;<!--color: #F8EACB;--><!--
 
--->font-weight: bold;letter-spacing: -0.5pt;"><!--
 
--->font-weight: bold;letter-spacing: -0.5pt;"><!--

Revision as of 18:54, 3 June 2011

A template to correctly space the rare background behind distinction icons. Purge

After
After