Difference between revisions of "Template:Intro to tabs"

From blackwiki
Jump to navigation Jump to search
imported>Evolution and evolvability
(created as simpler alternative to {{Help intro sidetab}})
 
imported>Evolution and evolvability
(auto-targetting)
Line 1: Line 1:
 
<div class = "help-intro-sidetab {{#ifeq:{{{number}}}|{{SUBPAGENAME}}|(active)|}}"
 
<div class = "help-intro-sidetab {{#ifeq:{{{number}}}|{{SUBPAGENAME}}|(active)|}}"
  style = "min-height: 5em; height: auto !important; height: 5em;
+
  style     = "min-height: 5em; height: auto !important; height: 5em;
          {{#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|Help:Contents}}}|<span class="help-intro-sidetab-title" style="font-size: 1.5em; font-weight: bold;">{{{title|Title goes here}}}</span>]]<br />
+
[[{{{target|{{FULLROOTPAGENAME}}/{{{number|}}}}}}|<span class="help-intro-sidetab-title" style="font-size: 1.5em; font-weight: bold;">{{{title|Title goes here}}}</span>]]<br />
 
<span class="help-intro-sidetab-subtitle">{{{subtitle|Subtitle goes here}}}</span>
 
<span class="help-intro-sidetab-subtitle">{{{subtitle|Subtitle goes here}}}</span>
 
</div><noinclude>
 
</div><noinclude>
 
[[Category:Help intro templates]]
 
[[Category:Help intro templates]]
 
</noinclude>
 
</noinclude>

Revision as of 08:38, 20 November 2015

Title goes here
Subtitle goes here