Template:SoftBox: Difference between revisions
From Variscite Wiki
(Created page with "<noinclude>{{TemplateGen|params=<nowiki>boxwidth=17(5 columns)/21(4)/29(3)/44(2)|system={Android,Linux,Yocto,Hardware,Debian,Ubuntu,Arago,Windows}|content=###</nowiki>}}</noin...") |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude>{{TemplateGen|params=<nowiki>boxwidth=17(5 columns)/21(4)/29(3)/44(2)| | <noinclude>{{TemplateGen|params=<nowiki>boxwidth=17(5 columns)/21(4)/29(3)/44(2)|color={Android,Linux,Yocto,Hardware,Debian,Ubuntu,Arago,Windows}|content=###</nowiki>}}</noinclude> | ||
<div style="width:{{#if:{{{boxwidth}}}|{{{boxwidth}}}|23}}%; float:left; padding:0px 2% 0px 0px; display:inline-block;"> | <div style="width:{{#if:{{{boxwidth}}}|{{{boxwidth}}}|23}}%; float:left; padding:0px 2% 0px 0px; display:inline-block;"> | ||
{| | {| | ||
|- | |- | ||
{| style="padding:10px; background-color: #{{#switch: {{{ | {| style="padding:10px; background-color: #{{#switch: {{{color}}}| green= a4c639|orange=fea53f |grey=545454|pink=d70751 |blue= 00bef5| 999999}}; color: white; font-size:20px; width:100%; border-top-left-radius:5px; border-top-right-radius:5px; " | ||
|- | |- | ||
|{{ | |{{{title}}} | ||
|} | |} | ||
|- | |- | ||
{| style="background-color: #{{#switch: {{{ | {| style="background-color: #{{#switch: {{{color}}}| green= F2FAD9| orange=ffecd7|grey=e3e3e3|pink=f1d8e1 |blue= E0F7FD| cccccc}}; width:100%; height:540px; " | ||
|- | |- | ||
| | | | ||
Line 15: | Line 15: | ||
|- | |- | ||
| | | | ||
|} | |} | ||
|} | |} | ||
</div> | </div> |
Revision as of 15:04, 10 December 2015
Usage
Please use this string:
{{SoftBox|boxwidth=17(5 columns)/21(4)/29(3)/44(2)|color={Android,Linux,Yocto,Hardware,Debian,Ubuntu,Arago,Windows}|content=###}}
{{{title}}} |
{{{content}}} | |