Difference between revisions of "Template:Intro to/tabs"

From blackwiki
Jump to navigation Jump to search
imported>Sdkb
(Adding a button for returning to tutorials menu)
imported>Evolution and evolvability
(I see what the last edit was trying to do. Have moved relevant code to the template:intro to/sandbox page to implement in template:intro to)
 
Line 23: Line 23:
 
| title    = Summary
 
| title    = Summary
 
| subtitle = Final subtitle
 
| subtitle = Final subtitle
}}
+
}}<noinclude>{{documentation}}</noinclude>
<div style="padding: 2em">{{Clickable button 2
 
                          |Help:Introduction
 
                          |<< Back to tutorials menu}}</div>
 
<noinclude>{{documentation}}</noinclude>
 

Latest revision as of 09:48, 6 March 2020

Example 1
Subtitle 1

Example 2
Subtitle 2

Example 3
Subtitle 3

Example 4
Subtitle 4

Summary
Final subtitle

Template documentation[view] [edit] [history] [purge]

Usage

To create the list of tabs, simply use a stack of {{Intro to tabs}} templates:

{{Intro to tabs
| number   = 1
| title    = Example 1
| subtitle = Subtitle 1
}}
{{Intro to tabs
| number   = 2
| title    = Example 2
| subtitle = Subtitle 2
}}
etc.