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
(Created page with "<includeonly> <div style="display:block;float:left;padding:4px 8px 2px;margin:8px 0 0 0;position:relative;left:{{#expr:{{{1}}}-1}}px;z-index:5;border:1px solid #999;text-align...")
 
No edit summary
 
(45 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<div style="display:block;float:left;padding:4px 8px 2px;margin:8px 0 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:#66ee88;margin-top:5px;border-bottom-color:#6fc400;font-weight:bold;border-bottom-width:4px;padding-bottom:4px;margin-bottom:-3px;|background-color:#f2f2f2;border-bottom-width:0}}">
<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:#98fb98;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:Smile.gif]]</span>{{#if:{{{4}}}|{{#switch:{{{4}}}||[[{{{4}}}|{{{3}}}]]}}|[[{{{3}}}]]}}
</div>
</div>
</includeonly>
</includeonly>
Line 7: Line 7:
<noinclude>
<noinclude>
Little modified from UN's wiki template.
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.[[Category:GIF's modified Template]]
</noinclude>
</noinclude>

Latest revision as of 03:58, 5 May 2018


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.