Difference between revisions of "Template:Box-round"

From Compendium of Cancer Genome Aberrations
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
__NOEDITSECTION__ __NOTOC__<div style="clear: both; width: 33%"></div>  
+
<templatestyles src="Box-round/styles.css"/>
<div style="border: 1px solid {{{border|#99c}}};<!--
+
<div class="box-round">
        -->background: {{{titlebackground|#ccf}}};<!--
+
<div class="box-round-title" {{#if:{{{border|}}}{{{titlebackground|}}}{{{titleforeground|}}}{{{titlestyle|}}}|style="<!--
        -->color: {{{titleforeground|#000}}};<!--
+
  -->{{#if:{{{border|}}}|border-color: {{{border}}};}}<!--
        -->padding: 0.1em;<!--
+
  -->{{#if:{{{titlebackground|}}}|background: {{{titlebackground}}};}}<!--
        -->text-align: center;<!--
+
  -->{{#if:{{{titleforeground|}}}|color: {{{titleforeground}}};}}<!--
        -->font-weight: bold;<!--
+
  -->{{#if:{{{titlestyle|}}}|{{{titlestyle}}};}}<!--
        -->font-size: 100%;<!--
+
-->"}}><!--
        -->margin-bottom: 0px;<!--
+
  --><span class="plainlinks"><!--
        -->border-bottom: none;<!--
+
         -->[{{fullurl:{{{editpage|{{FULLPAGENAME}}}}}|action=edit}} {{int:editsection}}]<!--
        -->border-radius: 1.5em 1.5em 0 0;<!--
+
   --></span><!--
        -->{{{titlestyle|}}};"><!--
+
   -->{{{title}}}
  --><span class="plainlinks" <!-- EDIT LINK PARAMETERS
+
</div>
        -->style="float:right;<!--
+
<div class="box-round-text" {{#if:{{{border|}}}{{{background|}}}{{{foreground|}}}{{{style|}}}|style="<!--
              -->margin-bottom:.1em;<!--
+
  -->{{#if:{{{border|}}}|border-color: {{{border}}};}}<!--
              -->font-size: 80%;<!--
+
  -->{{#if:{{{background|}}}|background: {{{background}}};}}<!--
              -->padding-right: 0.5em;"><!--
+
  -->{{#if:{{{foreground|}}}|color: {{{foreground}}};}}<!--
         --><span style="color:{{{titleforeground|#000000}}}">[{{fullurl:{{{editpage|{{FULLPAGENAME}}}}}|action=edit}} {{int:editsection}}]</span>&nbsp;<!--
+
  -->{{#if:{{{style|}}}|{{{style}}};}}"}}>{{{1|{{{text|{{{content}}}}}}}}}
   --></span ><!--
+
</div>
   --><h2 style="font-size:100%;font-weight:bold;border: none; margin: 0; padding:0; padding-bottom:.1em;"><span style="color:{{{titleforeground|#000000}}}">{{{title}}}</span></h2></div>
+
</div><noinclude>
<div style="display: block; border: 1px solid {{{border|#99c}}}; width: 33%; vertical-align: top; background: {{{background|#fff}}}; color: {{{foreground|#000}}}; margin-bottom: 10px; padding: .8em 1em 1em 1.3em; margin-top: 0em; border-radius: 0 0 1.5em 1.5em; {{{style|}}};">{{{1|{{{text|{{{content}}}}}}}}}</div>
+
__NOTOC__
<noinclude>{{doc}}</noinclude>
+
{{doc}}
 +
</noinclude>

Latest revision as of 16:28, 3 November 2023

edit{{{title}}}
{{{content}}}

Template:Doc