You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.

Template:GIFTab: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
<div style="display:block;float:left;padding:0px 8px 1px;margin:8px -1px 0 0;position:relative;left:{{#expr:{{{1}}}-1}}px;z-index:5;border:1px solid #999;text-align:center;line-height:19px;{{border-radius|6px 6px 0 0}}{{box-shadow|0 1px 1px #999 inset}}{{#switch:{{{2}}}|s=background-color:#c0ffd4;margin-top:9px;font-weight:bold;border-bottom-width:1;border-bottom-color:#c0ffd4;padding-bottom:0;margin-bottom:-3px;|background-color:#A6D785;border-bottom-width:1}}">
<div style="display:block;float:left;padding:0px 8px 1px;margin:8px -1px 0 0;position:relative;left:{{#expr:{{{1}}}-1}}px;z-index:5;border:1px solid #999;text-align:center;line-height:19px;{{border-radius|6px 6px 0 0}}{{box-shadow|0 1px 1px #999 inset}}{{#switch:{{{2}}}|s=background-color:#c0ffd4;margin-top:9px;font-weight:bold;border-bottom-width:1;border-bottom-color:#c0ffd4;padding-bottom:0;margin-bottom:-3px;|background-color:#7bbf6a;border-bottom-width:1}}">
<span style='position:relative;top:-1px;margin-right:5px'>[[Image:UNfolder.png]]</span>{{#if:{{{4}}}|{{#switch:{{{4}}}||[[{{{4}}}|{{{3}}}]]}}|[[{{{3}}}]]}}
<span style='position:relative;top:-1px;margin-right:5px'>[[Image:UNfolder.png]]</span>{{#if:{{{4}}}|{{#switch:{{{4}}}||[[{{{4}}}|{{{3}}}]]}}|[[{{{3}}}]]}}
</div>
</div>

Revision as of 15:44, 2 August 2014


Little modified from UN's wiki template.

The first background-color and border-bottom-color is the color you'll see when the tab is selected. The second background-color is for deselected tabs.