Template:Box
From New York City LDS History
(Difference between revisions)
LDSdbSysop (Talk | contribs) (Undo revision 2736 by LDSdbSysop (talk)) |
LDSdbSysop (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | < | + | <noinclude>{{Box |title=example |content={{Lorem ipsum}} |width=50%}}</noinclude><includeonly> <div id="{{{title|}}}"> |
− | | | + | {|style="margin-bottom: .5 em; font-size: 95%; text-align: left; padding: -2px; background: none; width:{{{width|100%}}}; {{#if:{{{height|}}}|height:{{{height}}}}}; border-spacing:0;" |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}; | + | |
− | + | ||
− | | | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}; | + | |
|- | |- | ||
− | |style=" | + | <!-- 1: Tab settings --> |
− | |} | + | | rowspan="{{#if:{{{link|}}}|2|1}}" nowrap="nowrap" style="width:{{#if:{{{link|}}}|1%|100%}}; height:37px; vertical-align:top; background:#FFF; border:2px solid {{#switch:{{{color|}}} |blue=blue |grey=darkgray |gray=darkgray |green=darkgreen |violet=blueviolet |orange=orange |yellow=gold |red=darkred |pink=darksalmon |user={{{border}}} |#default=blue}}; border-bottom: 0; padding:0; padding-right: .5em; margin:0; {{border-radius|0 {{#if:{{{link|}}}|1em|0}} 0 0}}; {{#if:{{{bg|}}}|background-color:{{{bg}}};}}" | |
− | |} | + | [[File:cartella_{{#switch:{{{color|}}} |blue=blu |gray=grigia |grey=grigia |green=verde |violet=viola |orange=arancione |red=roug |pink=rossa |yellow=giallo |user={{{cartella}}}|#default=blu}}.{{{ext|jpg}}}|link={{{link|}}}]] |
− | + | <div style="padding-left:12px; margin-top:-37px;">[[File:{{{logo|Crystal_Clear_app_xmag.png}}}|{{{px|21}}}px |link={{{link|}}}]]</div> | |
− | == | + | <div style="padding-left:43px; margin-top:-{{{height_px|{{#expr:{{{px|21}}}+4}}}}}px; font-size:130%;"> '''{{{title}}}'''</div> |
− | + | <!-- 2 --> | |
− | + | | {{#if:{{{link|}}}| {{!!}} }} | |
− | == | + | |
− | {| | + | |
− | ! | + | |
|- | |- | ||
− | | color || | + | <!-- 3: Edit box --> |
+ | {{#if:{{{link|}}}| {{!}} style="vertical-align:bottom; text-align:center; padding-left:0; padding-bottom:0; border-bottom:2px solid {{#switch:{{{color|}}} |blue=blue |grey=darkgray |gray=darkgray |green=darkgreen |violet=blueviolet |orange=orange |yellow=gold |red=darkred |pink=darksalmon |user={{{border}}} |#default=blue}};" {{!}} | ||
+ | <div style="float:left; padding:0 .5em 0 .5em; border-left:0; border-bottom:0; font-size:85%; {{border-radius|0 1em 0 0}} border: 1px solid {{#switch:{{{color|}}} |blue=blue |grey=darkgray |gray=darkgray |green=darkgreen |violet=blueviolet |orange=orange |yellow=gold |red=darkred |pink=darksalmon |user={{{border}}} |#default=blue}}; border-left:0; border-bottom:0; background:{{#switch:{{{color|}}} |blue=lightblue |grey=lightgray |gray=lightgray |green=lightgreen |violet=violet |orange=gold |yellow=yellow |red=salmon |pink=lightsalmon |user={{{background}}} |#default=lightblue}};">{{#if:{{{logo_editlink|}}}|[[File:{{{logo_editlink}}} |20px]]}}[{{fullurl:{{{link}}}|action=edit}} edit] | ||
+ | </div> | ||
+ | }} | ||
|- | |- | ||
− | | | + | <!-- 4: Content space --> |
+ | | colspan="{{#if:{{{link|}}}|2|1}}" style="padding-left:.5em; padding-right:.5em; background:#FFF; border: 2px solid {{#switch:{{{color|}}} |blue=blue |grey=darkgray |gray=darkgray |green=darkgreen |violet=blueviolet |orange=orange |yellow=gold |red=darkred |pink=darksalmon |user={{{border}}} |#default=blue}}; border-top:0; border-bottom:0; {{#if:{{{bg|}}}|background-color:{{{bg}}};}} vertical-align:top;" | | ||
+ | {{{content}}} | ||
|- | |- | ||
− | + | <!-- 5: Bottom tray --> | |
− | + | | colspan="{{#if:{{{link|}}}|2|1}}" class="radius_bottom" style="height:8px; {{border-radius |0 0 1em 1em}} background:{{#switch:{{{color|}}} |blue=lightblue |grey=lightgray |gray=lightgray |green=lightgreen |violet=violet |orange=gold |yellow=yellow |red=salmon |pink=lightsalmon |user={{{background}}} |#default=gold}}; border:2px solid {{#switch:{{{color|}}} |blue=blue |grey=darkgray |gray=darkgray |green=darkgreen |violet=blueviolet |orange=orange |yellow=gold |red=darkred |pink=darksalmon |user={{{border}}} |#default=orange}}; border-top:0;" | {{#if:{{{footer_image|}}}|[[File:{{{footer_image}}}]]}} | |
− | + | <div style="font-size:{{#if:{{{footer|}}}|x-small|0%}};">{{#if:{{{footer|}}}| {{{footer}}}}}</div> | |
− | + | |}</div></includeonly><noinclude> | |
− | | | + | {{Documentation}} |
− | + | </noinclude> | |
− | |} | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | {{ | + | |
− | | | + | |
− | + | ||
− | }} | + | |
− | + | ||
− | + | ||
− | {{ | + | |
− | | | + | |
− | + | ||
− | }} | + | |
− | + | ||
− | + | ||
− | + | ||
− | | | + | |
− | + | ||
− | | | + | |
− | | | + | |
− | | | + | |
− | | | + | |
− | | | + | |
− | }} | + | |
− | | | + | |
− | + | ||
− | {{ | + | |
− | | | + | |
− | | | + | |
− | | | + | |
− | | | + | |
− | | | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | | | + | |
− | + | ||
− | + | ||
− | | | + | |
− | | | + | |
− | }} | + | |
− | | | + | |
− | + | ||
− | {{ | + | |
− | | | + | |
− | | | + | |
− | + | ||
− | }} | + | |
− | < | + | |
− | + | ||
− | + | ||
− | + | ||
− | {{ | + | |
− | | | + | |
− | | | + | |
− | | | + | |
− | + | ||
− | }} | + | |
− | + | ||
− | + | ||
− | {{ | + | |
− | | | + | |
− | | | + | |
− | + | ||
− | + | ||
− | }} | + | |
− | </ | + | |
− | |} | + | |
− | + | ||
− | + |
Revision as of 23:27, 15 May 2012
|
[create] Template documentation