Difference between revisions of "Template:Intro to tabs"
Jump to navigation
Jump to search
imported>Evolution and evolvability (<templatestyles src="Template:Intro to/styles.css" />) |
imported>Evolution and evolvability (move padding definition to style sheet) |
||
| 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: | + | |padding-left: 1em; border-left: 1em solid #3366bb; |
| − | |padding: | + | |padding: 2em; |
}}"> | }}"> | ||
[[{{{target|{{FULLROOTPAGENAME}}/{{{number|1}}}}}}|<span class="introto__tabs-title">{{{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><noinclude>{{documentation}}</noinclude> | </div><noinclude>{{documentation}}</noinclude> | ||
Revision as of 06:40, 1 March 2020
Title goes here
Subtitle goes here
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
}}
| The above documentation is transcluded from Template:Intro to tabs/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |