Difference between revisions of "Template:ContentBox"

From stoney cloud
Jump to: navigation, search
(Created page with "<div class="gw-contentbox" style="border: 1px solid {{{color|#333}}}; background-color: {{{bgcol|#F3F3F3}}}"><div class="gw-contentbox-title"><span class="gw-contentbox-title1" s...")
 
m (7 revisions from gentoo-wiki:Template:ContentBox: import from wiki.gentoo.org)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="gw-contentbox" style="border: 1px solid {{{color|#333}}}; background-color: {{{bgcol|#F3F3F3}}}"><div class="gw-contentbox-title"><span class="gw-contentbox-title1" style="background-color: {{{color|#333}}}; color: {{{titlecol|white}}}">{{{1}}}</span>{{#if:{{{subtitle|}}}|<span class="gw-contentbox-subtitle style="background-color: {{{color2|#AAA;}}}; color: {{{subtitlecol|white}}};">{{{subtitle}}}</span>|}}{{#if:{{{description|}}}|<span class="gw-contentbox-description" style="color: {{{descriptioncol|{{{color|#333}}}}}};">{{{description}}}</span>|}}</div>{{#if:{{{rightmsg|}}}|<div class="gw-contentbox-rightmsg">{{{rightmsg}}}</div>|}}<div class="gw-contentbox-content">{{{2}}}</div></div>
+
<includeonly>{{#if: {{{1|}}}
<noinclude>
+
|{{#if: {{{2|}}}
 +
|<div class="gw-contentbox mw-collapsible" style="border: 1px solid {{{color|#333}}}; background-color: {{{bgcol|#F3F3F3}}}; overflow: auto"><div class="gw-contentbox-title"><span class="gw-contentbox-title1" style="background-color: {{{color|#333}}}; color: {{{titlecol|white}}}">{{{1}}}</span>{{#if:{{{subtitle|}}}|<span class="gw-contentbox-subtitle" style="background-color: {{{color2|#AAA;}}}; color: {{{subtitlecol|white}}};">{{{subtitle}}}</span>|}}{{#if:{{{description|}}}|<span class="gw-contentbox-description" style="color: {{{descriptioncol|{{{color|#333}}}}}};">{{{description}}}</span>|}}</div><br style="clear: both;" />{{#if:{{{rightmsg|}}}|<!--<div class="gw-contentbox-rightmsg">{{{rightmsg}}}</div>-->|}}<div class="gw-contentbox-content mw-collapsible-content">{{#tag:syntaxhighlight|{{{2}}}|lang={{{lang|text}}}}}</div></div>
 +
|{{Error|ContentBox|2. unnamed}}
 +
}}
 +
|{{Error|ContentBox|1. unnamed}}
 +
}}</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 10:25, 22 August 2014

[create Documentation
Note
Editors can experiment in this template's sandbox (create) and testcases (create) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.