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

Difference between revisions of "Template:DistinctionIcon"

From Die2Nite Wiki
Jump to: navigation, search
 
(116 intermediate revisions by 2 users not shown)
Line 1: Line 1:
−
<div style="position: relative;float:left;>
+
<includeonly><div style=" float:left;"><!--
−
<div style="position: relative;font-size: 0pt; line-height: 0pt; cursor: help;">
+
--><div style="position: relative; height:32px; width:34px;"><!--
−
<div style="position: absolute;">{{click|image=rewardBg{{#switch:{{Data|{{{1}}}|rare|false}}|true=_rare|false=|}}.gif|link={{{1}}}}}</div>
+
---><div style="position: absolute;"><!--
−
<div style="position: absolute; margin-left: 8px; margin-top: 9px;">{{click|image={{Data|{{{1}}}|image|r_ban.gif}}|link={{{1}}}}}</div>
+
---->{{click|image=rewardBg<!--
−
<div style="text-align: right;font-size: 7.5pt;color: #F8EACB;font-weight: bold;letter-spacing: -0.5pt;"></div>
+
----->{{#switch:{{Data|{{{1}}}|rare|false}}|true=_rare|false=|}}<!--
−
</div>
+
---->.gif|link={{{1}}}}}<!--
−
</div><div style="position: relative;left:32px;clear:left;>Luckgfnsogser</div><noinclude>
+
---></div><!--
−
 
+
---><div style="position: absolute; left: 8px; top: 6px;"><!--
−
 
+
---->{{click|image={{Data|{{{1}}}|image|r_ban.gif}}|link={{{1}}}}}<!--
−
 
+
---></div><!--
−
 
+
---><div style="position: absolute; right: -0px; margin-top: -0px;<!--
−
A template to correctly space the rare background behind distinction icons
+
--->text-align: right;font-size: 7.5pt;<!--color: #F8EACB;--><!--
−
 
+
--->font-weight: bold;letter-spacing: -0.5pt;"><!--
−
{{DistinctionIcon|Luck}}
+
---->{{#if:{{{2|}}}|{{{2}}}}}<!--
−
 
+
---></div><!--
−
 
+
--></div><!--
−
 
+
--></div></includeonly><noinclude>
−
 
+
A template to correctly space the rare background behind distinction icons. {{purge}}
−
 
 
  
 +
{{DistinctionIcon|Luck}}After on the same line, hefsdnougnosrungonguoneruohnu, ogerihnuiohngoitjhiojrhiotr, jmhiopjghioetjiopjhiopetnj, hipetjmiopjhiotrjniotnhmtiojni, otjhitkhtiopjmtiopj
 +
After<br />
 +
After
  
 +
[[Category:Standardisation Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 15:38, 29 August 2011

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

After on the same line, hefsdnougnosrungonguoneruohnu, ogerihnuiohngoitjhiojrhiotr, jmhiopjghioetjiopjhiopetnj, hipetjmiopjhiotrjniotnhmtiojni, otjhitkhtiopjmtiopj

After
After