Template:Sidebarcontents: Difference between revisions

From OER in Education
No edit summary
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 3: Line 3:
http://en.wikipedia.org/wiki/Help:Printable, and thus doesn't show when clicking on "printable version".
http://en.wikipedia.org/wiki/Help:Printable, and thus doesn't show when clicking on "printable version".


</noinclude><div id="sidebarcontents" class="noprint" style="background: lightgray; border: solid 3px #9c2e34; float:right; padding: 0px;margin-left:10px; margin-top:0px; margin-bottom:10px;width:{{{width|200px}}};
</noinclude><div id="sidebarcontents" class="print-display-none sidebarstyle {{{classes|}}}"><!--  style="width:{{{width|200px}}};" -->
border-radius:10px;
<div class="sidebarstyle-one">
box-shadow: 5px 5px 2px lightblue;
">
<div style="border-bottom: solid 1px #9c2e34; padding: 10px;margin:0px; background:lightgray;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
">
{{{unittitle}}}
{{{unittitle}}}
</div>
</div>
<div class=”rh-menu” style="padding: 10px;">
<div class="offline-display-none mobile-display-none" style="padding: 10px;">
{{{unittoc}}}
{{{unittoc}}}
</div><div class="offline-display-block mobile-display-none" style="padding: 10px;">
{{{unittocZIM|{{{unittoc}}}}}}
</div>
</div>
<div style="clear: both; border-top:solid 1px #9c2e34; border-bottom: solid 1px #9c2e34; padding: 10px;margin:0px; background:lightgray;">
<div class="sidebarstyle-three">
{{{pagetitle|'''{{{SUBPAGENAME}}}'''}}}
{{{pagetitle|'''{{{SUBPAGENAME}}}'''}}}
</div>
</div>
<div style="border-bottom: solid 1px #9c2e34; padding: 1px; margin:0px;">{{{pagetoc|__TOC__}}}</div>
<div class="sidebarstyle-four">{{{pagetoc|__TOC__}}}</div>
{{{footer}}}<div id="sidebarcontentsEnd" ></div></div><!--
{{{footer|}}}<div id="sidebarcontentsEnd" ></div></div>
 
The ZIM version follows.
 
--><div id="sidebarcontents-offline" class="offline-only offline-display-block" style="background: lightgray; border: solid 3px #9c2e34; float:right; padding: 0px;margin-left:10px; margin-top:0px; margin-bottom:10px;width:{{{width|200px}}};
border-radius:10px;
box-shadow: 5px 5px 2px lightblue;
">
<div style="border-bottom: solid 1px #9c2e34; padding: 10px;margin:0px; background:lightgray;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
">
{{{unittitle}}}
</div>
<div class=”rh-menu”>
{{{unittocZIM}}}
</div>
<div style="clear: both; border-top:solid 1px #9c2e34; border-bottom: solid 1px #9c2e34; padding: 10px;margin:0px; background:lightgray;">
{{{pagetitle|'''{{{SUBPAGENAME}}}'''}}}
</div>
<div style="border-bottom: solid 1px #9c2e34; padding: 1px; margin:0px;">{{{pagetoc|__TOC__}}}</div>
{{{footer}}}<div id="sidebarcontentsEnd" ></div></div>

Latest revision as of 14:13, 5 April 2015

This template uses the css class "noprint", see http://en.wikipedia.org/wiki/Help:Printable, and thus doesn't show when clicking on "printable version".