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 8: Line 8:
 
{{TabHeader|Tab #1|Selected}}{{TabHeader|Tab #2}}
 
{{TabHeader|Tab #1|Selected}}{{TabHeader|Tab #2}}
  
</noinclude><includeonly><span class="tab-header" style="padding:0.5em;background-color:#cee0f2;font-size:95%;line-height:0.95em;border:solid 2px #a3b1bf;white-space:nowrap;width:20px">{{{1}}}</span></includeonly>
+
</noinclude><includeonly><span class="tab-header" style="padding:0.5em;background-color:{{#if {{{#3}}}|white|#cee0f2}};font-size:95%;line-height:0.95em;border:solid 2px #a3b1bf;white-space:nowrap;width:20px">{{{1}}}</span></includeonly>

Revision as of 16:23, 23 September 2019

Generates a tab header.

Example

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

Tab #1Tab #2