Content deleted Content added
Single-tab version of the template:intro to template |
rm alignment declarations which don't do anything |
||
(40 intermediate revisions by 9 users not shown) | |||
Line 1:
<includeonly>__NOTOC__<templatestyles src="Template:Intro to single/styles.css" />
<!-- Main border -->
<div class="introtosingle__main" style = "text-align: {{{align|center}}}; padding-bottom:{{{padbottom|50px}}};">
<div class="{{#if: {{yesno|{{{background|}}}}}|introtosingle__main-withbackground}}">
<!-- Title -->
<div class="introtosingle__main-title">
{{{title|}}}</div>
<!-- Lead -->
{{#if:{{{lead|}}}|<div class="introtosingle__lead">
{{{lead|}}}</div>}}
<!-------------
First links
-------------->
<div style = "padding: 20px 60px;">
{{{top|}}}
<div class="introtosingle__columns">
<!-------------
Left column
-------------->
<div class="{{#if: {{yesno|{{{noborder|}}}}}|introtosingle__columns-left-noborder|introtosingle__columns-left}}">
{{{leftimg|}}}{{-}}
{{{
</div> <div class="introtosingle__columns-right">
{{{left2}}}</div>▼
{{{rightimg|}}}{{-}}
<
| arrow = 40px▼
▲}}</div>
▲{{{rightimg}}}{{-}}
▲{{{right1}}}</div>
▲{{{right2}}}</div>
<!--------------
Bottom links
--------------->
{{-}}
[[Category:Wikipedia quick introductions]]▼
</div>
</div>
{{#if:{{{base|}}}|<div class="introtosingle__base" style="min-height: {{{height|55px}}};">
{{{base}}}
</div>}}
<!-- Categories for the final article, but not this template -->
▲{{category handler|[[Category:Wikipedia quick introductions]]|nocat={{{nocat|}}}}}</includeonly>
<!-- Example to include in this template, but not the final article -->
<noinclude>
{{Intro to single
| title = title
| lead = lead
| top = top
| leftimg = left image
| left1 = left1
| left2 = left2
| rightimg = right image
| right1 = right1
| right2 = right2
| arrowheight = 150px
| bottom = bottom
}}
{{documentation}}
</noinclude>
|