Template:RightMenu: Difference between revisions

From VideoLAN Wiki
Jump to navigation Jump to search
m Simplify template code. Should look the same, but with 5% larger text
Line 1: Line 1:
<includeonly>
{{#if:{{{1|}}}|<div class="noprint tocsidebar cellpadding-5px" style="float: right; color: black; background-color: white; margin: 2.8em 0 0 3.2em; padding: 1em 1em 1.5em 1em; width: 20%;"><small>{{:{{{1}}}}}</small></div>}}<noinclude>
{| style="float: right; background-color: white; margin: 2.8em 0 0 3.2em; padding: 1em 1em 1.5em 1em; width: 20%;"
|
<div class="noprint tocsidebar" style="font-size:80%;border:1px solid #aaa;padding:5px;">{{ {{#if: {{{1|}}}|{{{1}}}|ns:0}} }}</div>
|}
</includeonly><noinclude>
{{See also|Template:LeftMenu}}
{{See also|Template:LeftMenu}}



Revision as of 07:31, 18 April 2019

Usage

{{RightMenu|Name of Template to include}}

Example

{{RightMenu|documentation toc}}

becomes