Difference between revisions of "Template:RightMenu"

From VideoLAN Wiki
Jump to navigation Jump to search
m (80% font size)
m (It was code-correct, but the look was worse)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{| class="noprint" style="float: right; color: black; background-color: white; margin: 2.8em 0 0 3.2em; padding: 1em 1em 1.5em 1em; width: 20%;"
+
{| style="float: right; background-color: white; margin: 2.8em 0 0 3.2em; padding: 1em 1em 1.5em 1em; width: 20%;"
|<div class="tocsidebar cellpadding-5px" style="border:1px solid #aaa; font-size: 80%;">{{ {{#if: {{{1|}}}|{{{1}}}|ns:0}} }}</div>
+
|  
 +
<div class="noprint tocsidebar" style="font-size:80%;border:1px solid #aaa;padding:5px;">{{ {{#if: {{{1|}}}|{{{1}}}|ns:0}} }}</div>
 
|}
 
|}
 
</includeonly><noinclude>
 
</includeonly><noinclude>

Revision as of 07:46, 18 April 2019

Usage

{{RightMenu|Name of Template to include}}

Example

{{RightMenu|documentation toc}}

becomes