Template:Intro to single: Difference between revisions

Content deleted Content added
Undid revision 706349227 by Chicanonationalist.Chairman.VictorSalazar (talk)
rm alignment declarations which don't do anything
 
(29 intermediate revisions by 8 users not shown)
Line 1:
<includeonly>__NOTOC__<templatestyles src="Template:Intro to single/styles.css" />
<includeonly>
__NOTOC__
<!-- Main border -->
<div class="introtosingle__main" style = "max-width: 1100px; overflow: hidden; border: 1px solid black; margin: auto; padding-bottom: 20px; text-align: {{{align|center}}}; alignpadding-itemsbottom: {{{alignpadbottom|center}}}; justify-content: {{{align|center50px}}};">
<div class="{{#if: {{yesno|{{{background|}}}}}|introtosingle__main-withbackground}}">
<!-- Title -->
<div class="introtosingle__main-title">
<div style = "font-size:250%; background:#777; color:#FFF; text-align: center; align-items: center; justify-content: center;">
{{{title|}}}</div>
<!-- Lead -->
{{#if:{{{lead|}}}|<div style class= "background:#EEE; padding: 30px; margin-bottom: 30px;introtosingle__lead">
{{{lead|}}}</div>}}
 
Line 13:
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}}">
<div style="float:left; width:calc(50% - 45px); text-align: right; align-items: right; justify-content: right;">
{{{leftimg|}}}{{-}}
{{{left1|}}}{{-}}
<div style = "float:right; max-width: 300px; min-height: 80px;">
{{{left1left2|}}}
</div>
 
{{-}}
<div class="introtosingle__columns-right">
{{{left2|}}}</div>
<!--------------
Arrow column
--------------->
{{#if:{{{arrow|}}}|
<div style="float:left; width:90px; align-items: {{{align|center}}}; justify-content: {{{align|center}}};">
<br>
{{down arrow
| colour = #E5E5E5
| height = {{{arrowheight|350px|}}}
| width = 50px
| arrow = 40px
}}</div>}}
<!--------------
Right column
--------------->
<div style="float:right; width:calc(50% - 45px); text-align: left; align-items: left; justify-content: left;">
{{{rightimg|}}}{{-}}
{{{right1|}}}{{-}}
<div style = "max-width: 300px; min-height: 80px;">
{{{right1right2|}}}
</div>
</div>
{{-}}
{{{right2|}}}</div>
<!--------------
Bottom links
--------------->
{{-}}
 
{{{bottom|}}}</div>
</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 -->
Line 73 ⟶ 64:
}}
{{documentation}}
[[Category:Wikipedia quick introduction templates]]
</noinclude>