Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Announcements
Random page
Help about MediaWiki
SPS Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Editing
Template
:
Parent Tab Template/doc
Template
Discussion
Canadian English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Page information
Special pages
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
;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. ;Dependencies ;Syntax <pre> {{Parent Tab Template | tab1 = | tab2 = |tab2name = | tab3 = |tab3name = | tab4 = |tab4name = | tab5 = |tab5name = | tab6 = |tab6name = | tab7 = |tab7name = | tab8 = |tab8name = | tab9 = |tab9name = | tab10 = |tab10name = | tab11 = |tab11name = | tab12 = |tab12name = }} </pre> ;Parameters All parameters, except '''tab1''', are optional. * '''tab1''' - an arbitrary title of the first (root) 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''' * '''tab2name''' - the title you want to display in the tab. * '''tab3name''', '''tab4name''', '''tab5name''', '''tab6name''', '''tab7name''', '''tab8name''', '''tab9name''' - like '''title2''' ;Samples <pre> {{Parent Tab Template |tab1 = Profile |tab2 = Hush Hush Pages |tab2name = Hush Hush |tab3 = Crush }} </pre> gives:<br/> {{Parent Tab Template |tab1 = Profile |tab2 = Hush Hush Pages |tab2name = Hush Hush |tab3 = Crush }} <pre> {{Parent Tab Template |tab1 = Profile |tab2 = doc |tab2name = Documentation |tab3 = Draft |tab3name = Sandbox }} </pre> gives:<br/> {{Parent Tab Template |tab1 = Profile |tab2 = doc |tab2name = Documentation |tab3 = Draft |tab3name = Sandbox }} <includeonly>[[Category:Templates]]</includeonly> <noinclude>[[Category:Template documentation]]</noinclude>
Summary:
Please note that all contributions to SPS Wiki are considered to be released under the CC-BY-SA license. If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, copied it from a public domain or similar free resource, are quoting material from elsewhere within a sufficiently limited scope to qualify as fair use, or are using material from SPS' games within the scope of our content policy.
Cancel
Editing help
(opens in new window)
Page included on this page:
Template:Parent Tab Template
(
edit
)
Search
Search
Editing
Template
:
Parent Tab Template/doc
Add topic