Difference between revisions of "Template:Intro to tabs"

From blackwiki
Jump to navigation Jump to search
imported>Sdkb
(Adding slightly shaded background for active page, mirroring what we have at WP:Contact us)
imported>JzG
m (Reverted edits by Sdkb (talk) to last version by Evolution and evolvability)
Line 1: Line 1:
 
<templatestyles src="Template:Intro to/styles.css" /><div class = "introto__tabs-main"
 
<templatestyles src="Template:Intro to/styles.css" /><div class = "introto__tabs-main"
 
     style = "{{#ifeq:{{{number}}}|{{SUBPAGENAME}}
 
     style = "{{#ifeq:{{{number}}}|{{SUBPAGENAME}}
               |padding-left: 1em; border-left: 1em solid #3366bb;background: #eaecf0;
+
               |padding-left: 1em; border-left: 1em solid #3366bb;
 
               |padding-left: 2em;
 
               |padding-left: 2em;
 
               }}">
 
               }}">

Revision as of 15:36, 8 May 2020

Title goes here
Subtitle goes here

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

Usage

This template is used to make the side tabs of the {{intro to}} tutorial templates. The |number parameter indicates which subpage of the tutorial to which the template links.

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