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

From blackwiki
Jump to navigation Jump to search
imported>Evolution and evolvability
(this fix)
imported>Evolution and evolvability
(target = {{FULLROOTPAGENAME}}/)
Line 2: Line 2:
 
{{Help intro sidetab
 
{{Help intro sidetab
 
| active  = {{#ifeq:{{{This}}}|1|true}}
 
| active  = {{#ifeq:{{{This}}}|1|true}}
| target  = Template:Intro to
+
| target  = {{FULLROOTPAGENAME}}/1
 
| title    = Example 1
 
| title    = Example 1
 
| subtitle = Subtitle 1
 
| subtitle = Subtitle 1
Line 8: Line 8:
 
{{Help intro sidetab
 
{{Help intro sidetab
 
| active  = {{#ifeq:{{{This}}}|2|true}}
 
| active  = {{#ifeq:{{{This}}}|2|true}}
| target  = Template:Intro to
+
| target  = {{FULLROOTPAGENAME}}/2
 
| title    = Example 2
 
| title    = Example 2
 
| subtitle = Subtitle 2
 
| subtitle = Subtitle 2
Line 14: Line 14:
 
{{Help intro sidetab
 
{{Help intro sidetab
 
| active  = {{#ifeq:{{{This}}}|3|true}}
 
| active  = {{#ifeq:{{{This}}}|3|true}}
| target  = Template:Intro to
+
| target  = {{FULLROOTPAGENAME}}/3
 
| title    = Example 3
 
| title    = Example 3
 
| subtitle = Subtitle 3
 
| subtitle = Subtitle 3
Line 20: Line 20:
 
{{Help intro sidetab
 
{{Help intro sidetab
 
| active  = {{#ifeq:{{{This}}}|4|true}}
 
| active  = {{#ifeq:{{{This}}}|4|true}}
| target  = Template:Intro to
+
| target  = {{FULLROOTPAGENAME}}/4
 
| title    = Example 4
 
| title    = Example 4
 
| subtitle = Subtitle 4
 
| subtitle = Subtitle 4
Line 26: Line 26:
 
{{Help intro sidetab
 
{{Help intro sidetab
 
| active  = {{#ifeq:{{{This}}}|5|true}}
 
| active  = {{#ifeq:{{{This}}}|5|true}}
| target  = Template:Intro to
+
| target  = {{FULLROOTPAGENAME}}/5
 
| title    = Summary
 
| title    = Summary
 
| subtitle = Final subtitle
 
| subtitle = Final subtitle

Revision as of 11:37, 6 November 2015


Example 1
Subtitle 1

Example 2
Subtitle 2

Example 3
Subtitle 3

Example 4
Subtitle 4

Summary
Final subtitle


50px 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.