(Created page with "<div style="vertical-align:top;color:#{{ColorAtys|group={{{palette}}}|type=fg}};padding:0; margin: 0em 0em 1em 0em; {{ #switch: {{{type|}}} | U=top:0; width:100%;background:#{...") |
|||
(17 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <div style="vertical-align:top;color:#{{ColorAtys|group={{{palette}}}|type=fg}};padding:0; margin: | + | <noinclude>{{Trad |
+ | |DE= Template:TheBigBox | ||
+ | |EN= Template:TheBigBox | ||
+ | |ES= Template:TheBigBox | ||
+ | |FR= Template:TheBigBox | ||
+ | |RU= Template:TheBigBox | ||
+ | |H=ok | ||
+ | }}</noinclude><div style="vertical-align:top;color:#{{ColorAtys|group={{{palette}}}|type=fg}};padding:0; margin: 0;overflow:auto; | ||
{{ #switch: {{{type|}}} | {{ #switch: {{{type|}}} | ||
− | | U=top:0; width:100%;background:#{{ColorAtys|group={{{palette}}}|type=light}};box-shadow: . | + | | U=top:0; width:100%;background:#{{ColorAtys|group={{{palette}}}|type=light}};box-shadow: .2em .2em .4em rgba(0, 0, 0, .5);border:medium outset #{{ColorAtys|group={{{palette}}}|type=dark}}; border-radius:.5em;clear:both;text-align:{{{align|center}}}; |
− | | | + | | R=float:right; width:33%; margin-left: .1em; margin-right: 0; margin: 0; background:#{{ColorAtys|group={{{palette}}}|type=light}};box-shadow: .1em .2em .4em rgba(0, 0, 0, .5);border:medium outset #{{ColorAtys|group={{{palette}}}|type=dark}};border-radius:.5em;text-align:{{{align|left}}}; |
− | | | + | | R50=float:right; width:49%; margin-left: .1em; margin-right: 0; margin: 0; background:#{{ColorAtys|group={{{palette}}}|type=light}};box-shadow: .1em .2em .4em rgba(0, 0, 0, .5);border:medium outset #{{ColorAtys|group={{{palette}}}|type=dark}};border-radius:.5em;text-align:{{{align|left}}}; |
− | | r=margin-left:34%; background:#{{ColorAtys|group={{{palette}}}|type=bg}};border-radius:.5em;box-shadow: .1em .1em .2em rgba(0, 0, 0, .8);border:none; | + | | r=margin-left:34%; background:#{{ColorAtys|group={{{palette}}}|type=bg}};border-radius:.5em;box-shadow: .1em .1em .2em rgba(0, 0, 0, .8);border:none;text-align:{{{align|left}}}; |
− | | L=float:left;width:33%; margin-right: 1em; background:#{{ColorAtys|group={{{palette}}}|type=light}};box-shadow: .1em .2em .4em rgba(0, 0, 0, .5);border:medium outset #{{ColorAtys|group={{{palette}}}|type=dark}};border-radius:1em; | + | | L=float:left;width:33%; margin-right: .1em; background:#{{ColorAtys|group={{{palette}}}|type=light}};box-shadow: .1em .2em .4em rgba(0, 0, 0, .5);border:medium outset #{{ColorAtys|group={{{palette}}}|type=dark}};border-radius:.5em;text-align:{{{align|left}}}; |
− | | l=margin-right:34%; ;background:#{{ColorAtys|group={{{palette}}}|type=bg}};border-radius:.5em;box-shadow: .1em .1em .2em rgba(0, 0, 0, .8);border:none; | + | | L50=float:left;width:49%; margin-right: .1em; background:#{{ColorAtys|group={{{palette}}}|type=light}};box-shadow: .1em .2em .4em rgba(0, 0, 0, .5);border:medium outset #{{ColorAtys|group={{{palette}}}|type=dark}};border-radius:.5em;text-align:{{{align|left}}}; |
− | | C=margin:auto;width:30%;background:#{{ColorAtys|group={{{palette}}}|type=light}};box-shadow: .1em .2em .4em rgba(0, 0, 0, .5);border:medium outset #{{ColorAtys|group={{{palette}}}|type=dark}}; border-radius: | + | | l=margin-right:34%; ;background:#{{ColorAtys|group={{{palette}}}|type=bg}};border-radius:.5em;box-shadow: .1em .1em .2em rgba(0, 0, 0, .8);border:none;text-align:{{{align|left}}}; |
− | | c=margin:auto;width:30%;background:#{{ColorAtys|group={{{palette}}}|type=bg}};border-radius:.5em;box-shadow: .1em .1em .2em rgba(0, 0, 0, .8);border:none; | + | | C=margin:auto;width:30%;background:#{{ColorAtys|group={{{palette}}}|type=light}};box-shadow: .1em .2em .4em rgba(0, 0, 0, .5);border:medium outset #{{ColorAtys|group={{{palette}}}|type=dark}}; border-radius:.5em;clear:both;text-align:{{{align|center}}}; |
− | | #default=top:0; width:100%;background:#{{ColorAtys|group={{{palette}}}|type=bg}} | + | | c=margin:auto;width:30%;background:#{{ColorAtys|group={{{palette}}}|type=bg}};border-radius:.5em;box-shadow: .1em .1em .2em rgba(0, 0, 0, .8);border:none;;text-align:{{{align|center}}}; |
+ | | #default=top:0; width:100%;background:#{{ColorAtys|group={{{palette}}}|type=bg}};box-shadow: .1em .1em .2em rgba(0, 0, 0, .8);border:medium double rgba(0, 0, 0, .2); border-radius:.5em;clear:both;text-align:{{{align|center}}}; | ||
}} | }} | ||
"> | "> | ||
{{#if:{{{title|}}}| | {{#if:{{{title|}}}| | ||
− | <div class="cadre" style="text-align:left; position:relative; left:0; top:0; border:thin outset #{{ColorAtys|group={{{palette}}}|type=dark}}; | + | |
− | <div style="position:absolute; left:.5em; top:-.5em;">[[File:{{{image|logo_40px.png}}}| | + | <div class="cadre" |
− | <div style="position:absolute; left:4em; top:.2em;font-size:1.2em; font-weight:bold; text-align:left; color:#{{ColorAtys|group={{{palette}}}|type=dark}}; padding:. | + | style="text-align:left; position:relative; left:0; top:0; border:thin outset #{{ColorAtys|group={{{palette}}}|type=dark}}; hei_ght:2em; border-radius:.5em .5em .0em .0em;margin:0;text-overflow: ellipsis; |
+ | background: #{{ColorAtys|type=bg|group={{{palette}}}}}; | ||
+ | background: linear-gradient(to right, #{{ColorAtys|type=dark|group={{{palette}}}}}, #{{ColorAtys|type=bg|group={{{palette}}}}} 5%, #{{ColorAtys|type=light|group={{{palette}}}}} 50%, #{{ColorAtys|type=|group={{{palette}}}}}, #{{ColorAtys|type=dark|group={{{palette}}}}}); | ||
+ | border: thin solid #{{ColorAtys|type=bg|group={{{palette}}}}}; | ||
+ | border-bottom: thin outset #{{ColorAtys|type=dark|group={{{palette}}}}}; | ||
+ | color: #{{ColorAtys|type=fg|group={{{palette}}}}};"> | ||
+ | <!--div style="position:absolute; left:.5em; top:-.5em; top:0em;"-->[[File:{{{image|logo_40px.png}}}|32px|top|left|link=]]<!--/div--> | ||
+ | <!--div style="position:absolute; left:4em; top:.2em;font-size:1.2em; font-weight:bold; text-align:left; color:#{{ColorAtys|group={{{palette}}}|type=dark}}; padding:.0em;text-overflow: ellipsis;"--> | ||
+ | {{3DText|text=<big><strong>{{{title}}}</strong></big> }}<!--/div--> | ||
</div> | </div> | ||
}} | }} | ||
{{#if:{{{content|}}}| | {{#if:{{{content|}}}| | ||
− | <div style="margin: | + | <div style="margin:0; padding:.5em;clear: left;">{{{content}}}</div> |
| | | | ||
---- | ---- | ||
− | }} | + | }}</div><noinclude>{{{{FULLPAGENAME}}/Documentation}}[[Category:Templates]]</noinclude> |
− | </div> | ||
− | <noinclude>{{{{FULLPAGENAME}}/Documentation}}[[Category: |
Usage of the TheBigBox template
Syntaxis
{{TheBigBox|type=type|title=title|image=image|palette=palette|content=content|align=text-align}}
<div align="left">...</div>
. "'The reason is basically due to an error in the bullet lists."type" values
Types for boxes that occupy the entire width of the box containing them:
Types for small floating boxes in the box containing them:
← U type of box without "image"
A very useful U model without content to realign floating boxes, and below without title
c (lower case) type of box
C (upper case) type of box
{{TheBigBox |title= A title|image=R2_scenario_admin.png}}
ᐁgives thatᐁ
A title
{{TheBigBox |type=U}}
ᐁgives thatᐁ
{{TheBigBox}}
ᐁgives thatᐁ
L type of box, fyros palette
r type of box, fyros palette
r type of box
R type of box, matis palette
l (L lower case) type of box, matis palette
Then chain on the one(s) on the left, always without space or empty line between the "template".
Sed ut tum ad senem senex de senectute, sic hoc libro ad amicum amicissimus scripsi de amicitia. Tum est Cato locutus, quo erat nemo fere senior temporibus illis, nemo prudentior; nunc Laelius et sapiens (sic enim est habitus) et amicitiae gloria excellens de amicitia loquetur. Tu velim a me animum parumper avertas, Laelium loqui ipsum putes. C. Fannius et Q. Mucius ad socerum veniunt post mortem Africani; ab his sermo oritur, respondet Laelius, cuius tota disputatio est de amicitia, quam legens te ipse cognosces.l (L lower case) type of box
No type, ranger palette
Sed ut tum ad senem senex de senectute, sic hoc libro ad amicum amicissimus scripsi de amicitia. Tum est Cato locutus, quo erat nemo fere senior temporibus illis, nemo prudentior; nunc Laelius et sapiens (sic enim est habitus) et amicitiae gloria excellens de amicitia loquetur. Tu velim a me animum parumper avertas, Laelium loqui ipsum putes. C. Fannius et Q. Mucius ad socerum veniunt post mortem Africani; ab his sermo oritur, respondet Laelius, cuius tota disputatio est de amicitia, quam legens te ipse cognosces.
l (L lower case) type of box
No type, tryker palette
R type of box
No type, zorai palette
R type of box
l (L lower case) type of box