The official discord link if you wish to join the discord: https://discord.gg/j5RKwCvAFu

The background art comes from Cherylann1960.

Template:Tab: Difference between revisions

From The Codex
Elizhaa
Elizhaa (talk | contribs) (Created page with "<div style="font-weight:bold; text-align:center; margin:0 0 10px 0; border-bottom:1px solid #ccc"> {{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}| <!-- main page --> <div style="min-wid...")
 
Elizhaa
Elizhaa (talk | contribs) (Protected "Template:Tab" (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
m
 
(No difference)

Latest revision as of 03:59, 5 February 2019

{{{tab1}}}

Description

This template can be used as it is to display tabs in the subpages of an article, but it's recommended to create another template to easily modify it if necessary.

Syntax
{{Tab
|minwidth = 
|maxwidth = 
|tab1     = 
|tab2     =            |title2 = 
|tab3     =            |title3 = 
|tab4     =            |title4 = 
|tab5     =            |title5 = 
|tab6     =            |title6 = 
|tab7     =            |title7 = 
|tab8     =            |title8 = 
|tab9     =            |title9 = 
}}
Parameters

All parameters, except tab1, are optional.
minwidth - min. width of tabs, in em; default: 5.0em;
maxwidth - max. width of tabs, in em; default: 12.0em;
tab1 - an arbitrary title of the first tab;
tab2 - title of the second tab; it must correspond to the part after "/" of the name of the page, to which it links
tab3, tab4, tab5, tab6, tab7, tab8, tab9 - like tab2
title2 - the title you want to display in the tab. title3, title4, title5, title6, title7, title8, title9 - like title2