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

Difference between revisions of "Template:DistinctionIcon"

From Die2Nite Wiki
Jump to: navigation, search
(working position version)
(working float version)
Line 1: Line 1:
−
<div style="position: relative;font-size: 0pt; line-height: 0pt; cursor: help;float:left;">
+
<div style="cursor: help;float:left;">
−
<div style="position: absolute;">{{click|image=rewardBg{{#switch:{{Data|{{{1}}}|rare|false}}|true=_rare|false=|}}.gif|link={{{1}}}}}</div>
+
<div style="float: left; top: 0px; left: 0px;">{{click|image=rewardBg{{#switch:{{Data|{{{1}}}|rare|false}}|true=_rare|false=|}}.gif|link={{{1}}}}}</div>
−
<div style="position: absolute; left: 8px; top: 9px;">{{click|image={{Data|{{{1}}}|image|r_ban.gif}}|link={{{1}}}}}</div>
+
<div style="float: left; margin-left: -24px; margin-top: 9px;">{{click|image={{Data|{{{1}}}|image|r_ban.gif}}|link={{{1}}}}}</div>
−
<div style="text-align: right;font-size: 7.5pt;color: #F8EACB;font-weight: bold;letter-spacing: -0.5pt;"></div>
+
<div style="float: left; text-align: right;font-size: 7.5pt;color: #F8EACB;font-weight: bold;letter-spacing: -0.5pt;">Text beside image?</div>
−
</div><div style="position: relative;left:32px;padding:1px">Luckgfnsogser</div><noinclude>
+
</div><div style="clear:both;">Luckgfnsogser</div><noinclude>
  
  
−
 
+
A template to correctly space the rare background behind distinction icons
−
 
 
−
A template to correctly space the rare background behind distinction icons.
 
  
 
{{DistinctionIcon|Luck}}
 
{{DistinctionIcon|Luck}}

Revision as of 15:50, 3 June 2011

link={{{1}}}RewardBg.gif[[{{{1}}}]]
[[Image:{{:Data:{{{1}}}|format=#switch:image|r_ban.gif}}|top|link={{{1}}}]][[Image:{{:Data:{{{1}}}|format=#switch:image|r_ban.gif}}|top]][[{{{1}}}]]
Text beside image?
Luckgfnsogser


A template to correctly space the rare background behind distinction icons