This is a wiki for a reason. Anyone can contribute. If you see something that is inaccurate or can be improved, don't ask that it be fixed--just improve it.
[ Disclaimer, Create new user --- Wiki markup help, Install P99 ]

Difference between revisions of "Template:TabHeader"

From Project 1999 Wiki
Jump to: navigation, search
Line 6: Line 6:
 
<code><nowiki>{{TabHeader|Tab #1|Selected}}{{TabHeader|Tab #2}}</nowiki></code>
 
<code><nowiki>{{TabHeader|Tab #1|Selected}}{{TabHeader|Tab #2}}</nowiki></code>
  
 +
<div class="tabs-header" style="border-bottom: 2px solid #cee0f2;">
 
{{TabHeader|Tab #1|Selected}}{{TabHeader|Tab #2}}
 
{{TabHeader|Tab #1|Selected}}{{TabHeader|Tab #2}}
 +
</div>
  
</noinclude><includeonly><div class="tabs-header" style="border-bottom: 2px solid #cee0f2;"><span class="tab-header" style="padding:0.5em;background-color:{{#if: {{{2|}}}|white|#cee0f2}};font-size:95%;line-height:0.95em;border:solid 2px #a3b1bf;border-bottom-width:{{#if: {{{2|}}}|0|2px}};white-space:nowrap;width:20px">{{{1}}}</span></div></includeonly>
+
</noinclude><includeonly><span class="tab-header" style="padding:0.5em;background-color:{{#if: {{{2|}}}|white|#cee0f2}};font-size:95%;line-height:0.95em;border:solid 2px #a3b1bf;border-bottom-width:{{#if: {{{2|}}}|0|2px}};white-space:nowrap;width:20px">{{{1}}}</span></includeonly>

Revision as of 16:28, 23 September 2019

Generates a tab header.

Example

{{TabHeader|Tab #1|Selected}}{{TabHeader|Tab #2}}

Tab #1Tab #2