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

From blackwiki
Jump to navigation Jump to search
imported>Evolution and evolvability
(target = {{FULLROOTPAGENAME}}/)
imported>Evolution and evolvability
(auto-targeting {{intro to tabs}} template)
Line 1: Line 1:
 
<br />
 
<br />
{{Help intro sidetab
+
{{intro to tabs
| active   = {{#ifeq:{{{This}}}|1|true}}
+
| number   = 1
| target  = {{FULLROOTPAGENAME}}/1
 
 
| title    = Example 1
 
| title    = Example 1
 
| subtitle = Subtitle 1
 
| subtitle = Subtitle 1
 
}}
 
}}
{{Help intro sidetab
+
{{intro to tabs
| active   = {{#ifeq:{{{This}}}|2|true}}
+
| number   = 2
| target  = {{FULLROOTPAGENAME}}/2
 
 
| title    = Example 2
 
| title    = Example 2
 
| subtitle = Subtitle 2
 
| subtitle = Subtitle 2
 
}}
 
}}
{{Help intro sidetab
+
{{intro to tabs
| active   = {{#ifeq:{{{This}}}|3|true}}
+
| number   = 3
| target  = {{FULLROOTPAGENAME}}/3
 
 
| title    = Example 3
 
| title    = Example 3
 
| subtitle = Subtitle 3
 
| subtitle = Subtitle 3
 
}}
 
}}
{{Help intro sidetab
+
{{intro to tabs
| active   = {{#ifeq:{{{This}}}|4|true}}
+
| number   = 4
| target  = {{FULLROOTPAGENAME}}/4
 
 
| title    = Example 4
 
| title    = Example 4
 
| subtitle = Subtitle 4
 
| subtitle = Subtitle 4
 
}}
 
}}
{{Help intro sidetab
+
{{intro to tabs
| active   = {{#ifeq:{{{This}}}|5|true}}
+
| number   = 5
| target  = {{FULLROOTPAGENAME}}/5
 
 
| title    = Summary
 
| title    = Summary
 
| subtitle = Final subtitle
 
| subtitle = Final subtitle

Revision as of 08:39, 20 November 2015


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.