Editing Template:Tab2 From DoomWiki.org Warning: You are not logged in. Your IP address will be recorded in this page's edit history. Anti-spam check. Do not fill this in! <div style="clear: both; text-align: center; {{#if:{{{width|}}}|width: {{{width}}};}}"><!-- --><div class="dw-tabcontainer"><!-- --><span class="dw-tab {{#ifeq:{{{default|1}}}|1|dw-tab-active}}" {{#if:{{{tabwidth|}}}|style="width: {{{tabwidth}}};"}}>{{{tab1}}}</span><!-- --><span class="dw-tab {{#ifeq:{{{default}}}|2|dw-tab-active}}" {{#if:{{{tabwidth|}}}|style="width: {{{tabwidth}}};"}}>{{{tab2}}}</span><!-- --></div><!-- --><div class="dw-tabcontents" {{#if:{{{height|}}}|style="min-height: {{{height}}}; height: auto !important;"}}><!-- -->{{TabContent|1|{{{default|1}}}|{{{fallback}}}|{{{content1}}}}}<!-- -->{{TabContent|2|{{{default}}}|{{{fallback}}}|{{{content2}}}}}<!-- --><div style="clear: both;"></div><!-- --></div> </div><noinclude> ==Purpose== Template to create two togglable tabs. Parameters: # width: Optional; Width of the container. # default: Optional; Default tab number, 1 if not specified. # fallback: Optional; Number of tab to display if JavaScript is disabled or not working. # tabwidth: Optional; Width of tab content areas. # tab1: Caption for first tab. # tab2: Caption for second tab. # height: Optional; Height of tab content areas. # content1: Content of first tab. # content2: Content of second tab. [[Category:Tab templates]] </noinclude> Summary: All contributions to DoomWiki.org are considered to be released under the CC BY-SA 4.0 International (see Doom Wiki:Copyrights for details). By contributing, you agree to be bound by the Terms of Use. Your changes will be visible immediately. Please enter a summary of your changes above. Do not submit copyrighted images or text without permission! This project is not affiliated with id Software, Raven Software, ZeniMax Media, Bethesda SoftWorks, or any other commercial software developer or publisher. Use of trademarked logos and other protected intellectual property is solely for the purpose of analysis and critical commentary on the identified products and associated fan community activity, and does not imply any endorsement by any of these organizations or their employees, past or present. Upload images to the wiki. Don't forget to categorize pages! For testing, please use a sandbox. View this template Cancel | Editing help (opens in new window) Template used on this page: Template:TabContent (edit)