Difference between revisions of "Template:Intro to tabs"

From blackwiki
Jump to navigation Jump to search
imported>Evolution and evolvability
(rm span styles)
imported>Evolution and evolvability
(rest rm height spec)
Line 1: Line 1:
<div style     = "min-height: 5em; height: auto !important; height: 5em;
+
<div class = "introto__tabs-main"
 +
    style = "min-height: 5em; height: auto;
 
             {{#ifeq:{{{number}}}|{{SUBPAGENAME}}
 
             {{#ifeq:{{{number}}}|{{SUBPAGENAME}}
              |padding: 0.6em 1em 0.6em 1em; border-left: 1em solid #3366bb;
+
            |padding: 0.6em 1em 0.6em 1em; border-left: 1em solid #3366bb;
              |padding: 0.6em 1em 0.6em 2em;}}">
+
            |padding: 0.6em 1em 0.6em 2em;}}">
[[{{{target|{{FULLROOTPAGENAME}}/{{{number|1}}}}}}|<span class="help-intro-sidetab-title" style="font-size: 1.5em; font-weight: bold;">{{{title|Title goes here}}}</span>]]<br />
+
[[{{{target|{{FULLROOTPAGENAME}}/{{{number|1}}}}}}|<span class="introto__tabs-title">{{{title|Title goes here}}}</span>]]<br />
 
{{{subtitle|Subtitle goes here}}}
 
{{{subtitle|Subtitle goes here}}}
 
</div>
 
</div>

Revision as of 06:27, 1 March 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
}}