Template:Intro to: Difference between revisions

Content deleted Content added
as per request
top: bypass redirect
 
(15 intermediate revisions by 7 users not shown)
Line 14:
<!----- transluding the relevant /tabs and identifying which is "this" ----->
{{{{FULLROOTPAGENAME}}/tabs|This={{#if:{{SUBPAGENAME}}|{{SUBPAGENAME}}|1}}}}
 
<div class="introto__columns-left-button">
{{#ifeq:{{{prev|true}}}|true
|{{Clickable button
|{{{prevlink|Help:Introduction}}}
|{{{prevtext|<< Back to tutorials menu}}}
}}
}}
</div>
</div>
 
Line 21 ⟶ 30:
 
<div class="introto__columns-right">
{{{1|{{{contents|{{lorem ipsum|42}}}}}}}}
 
{{#ifexist:{{{nextsubpage|{{FULLROOTPAGENAME}}/{{#expr:{{SUBPAGENAME}}+1}}}}}
| <!----- if next subpage exists then go to that ----->
{{-}}
<div style="float: right;">{{Clickable button 2
 
|{{#ifexist:{nextsubpage|{{FULLROOTPAGENAME}}/{{#iferror:{{#expr:{{SUBPAGENAME}}-+1}}|1|{{#expr:{{SUBPAGENAME}}+1}}}}}}}
|Next >>
|class=mw-ui-progressive}}</div>
}}</div>
| <!----- if next subpage empty then back to main help page ----->
<div style="float: left;"> {{#ifeq:{{{sandbox|true}}}|true|
{{pad |1em}}{{Clickable button 2
|Draft:Sandbox
|Test what you've learned in the sandbox}}
|class=mw-ui-progressive }}</div>
{{-}}<br />
<div style="float: right;">{{Clickable button 2#ifeq:{{{next|true}}}|true
|Back to the tutorials menu{{Clickable >>button
|{{{nextlink|Help:Introduction}}}
|{{{nexttext|Back to the tutorials menu >>}}}
|class=mw-ui-progressive}}
padding: 0px; }}</div>
}}
{{#ifexist:{{{prevsubpage|{{FULLROOTPAGENAME}}/{{#expr:{{SUBPAGENAME}}-1}}}}}
| <!----- if previous subpage exists then include a back button ----->
<div style="float: left;">{{Clickable button 2
|{{{prevsubpage|{{FULLROOTPAGENAME}}/{{#iferror:{{#expr:{{SUBPAGENAME}}-1}}|1|{{#expr:{{SUBPAGENAME}}-1}}}}}}}
|<< Back}}</div>
}}
 
{{#ifexist:{{FULLROOTPAGENAME}}/{{#expr:{{SUBPAGENAME}}+1}}
| <!----- if next subpage exists then go to that ----->
<div style="float: right;">{{Clickable button 2
|{{FULLROOTPAGENAME}}/{{#iferror:{{#expr:{{SUBPAGENAME}}+1}}|1|{{#expr:{{SUBPAGENAME}}+1}}}}
|Next >>
|class=mw-ui-progressive}}</div>
| <!----- if next subpage empty then back to main help page ----->
<div style="float: left;"> {{#ifeq:{{{sandbox|true}}}|true|
{{pad|1em}}{{Clickable button 2
|Draft:Sandbox
|Test what you've learned in the sandbox}}
}}</div>
<div style="float: right;">{{Clickable button 2
|Help:Introduction
|Back to the tutorials menu >>
|class=mw-ui-progressive}}</div>
}}
{{-}}
</div>
Line 56 ⟶ 68:
{{#ifexist:{{FULLROOTPAGENAME}}/base|{{{{FULLROOTPAGENAME}}/base}}|}}
{{#if:{{{exercise|<noinclude>xyz</noinclude>}}}|
<div class="introto__exercise">
<div style="max-width: 1100px; margin: auto;">
{{hidden
| style = border: 1px solid lightgrey; border-top: 0px solid lightgrey;
| headerstyle = text-align: left;
padding: 0px;
| contentstyle = padding: 0px 10px;
| headerstyle = padding: 4px 10px 0px 10px;
| header = Example exercise question to test what you've learnt
text-align: left;
| contentstyle = padding: 0px 10px;
| header = Example exercise
| content = {{{exercise}}}
 
}}</div>
}}
<br /><br />
<div style="max-width: 1100px; margin: auto;">{{{navbox|{{Introduction/navigation}}}}}</div>
 
<!-- Categories for the final article, but not this template -->