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 7: Line 7:
 
   {{TabHeader|Tab #1|Selected}}{{TabHeader|Tab #2}}}}{{TabHeader|Tab #3}}</nowiki></code>
 
   {{TabHeader|Tab #1|Selected}}{{TabHeader|Tab #2}}}}{{TabHeader|Tab #3}}</nowiki></code>
  
<div class="tabs-header" style="border-bottom: 2px solid #a3b1bf;">
+
<div class="tabs-header" style="border-bottom: 2px solid #a3b1bf;">{{TabHeader|Tab #1|Selected}}{{TabHeader|Tab #2}}{{TabHeader|Tab #3}}</div>
{{TabHeader|Tab #1|Selected}}{{TabHeader|Tab #2}}{{TabHeader|Tab #3}}
+
</div>
+
  
 
</noinclude><includeonly><span class="tab-header" style="margin:0;border-radius: 10px 10px 0 0;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>
 
</noinclude><includeonly><span class="tab-header" style="margin:0;border-radius: 10px 10px 0 0;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>

Latest revision as of 21:03, 26 September 2019

Generates a tab header.

Example

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

Tab #1Tab #2Tab #3