Difference between revisions of "Template:Intro to tabs"

From blackwiki
Jump to navigation Jump to search
imported>JzG
m (Reverted edits by Sdkb (talk) to last version by Evolution and evolvability)
imported>L235
(Undid revision 955575038 by JzG (talk) rv mass rollback on pages that predate grant of TPE per JzG's talk)
 
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;
+
               |padding-left: 1em; border-left: 1em solid #3366bb;background: #eaecf0;
 
               |padding-left: 2em;
 
               |padding-left: 2em;
 
               }}">
 
               }}">

Latest revision as of 06:18, 9 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
}}