Template:Intro to single: Difference between revisions

Content deleted Content added
m ce
rm alignment declarations which don't do anything
 
(15 intermediate revisions by 5 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 60px; 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% - 25px);border-right:solid 1px #ddd; padding-right:20px; text-align: right; align-items: right; justify-content: right;">
{{{leftimg|}}}{{-}}
{{{left1|}}}{{-}}
<div style = "float:right; max-width: 300px; min-height: 80px;">
{{{left1left2|}}}
</div>
{{-}}
{{{left2|}}}</div>
 
<div class="introtosingle__columns-right">
<div style="float:right; width:calc(50% - 15px); 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="max-width: 1060px; min-height: {{{height|55px}}}; margin:auto;">
padding:5px 20px;
font-size: 1.1em; background: #EEE;
border: 1px solid lightgrey; border-top: 3px solid lightgrey;">
{{{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 68 ⟶ 64:
}}
{{documentation}}
[[Category:Wikipedia quick introduction templates]]
</noinclude>