Difference between revisions of "Template:Bloc"

From Ryzom Forge Wiki

Jump to: navigation, search
m
Line 1: Line 1:
<div style="vertical-align:top;border-radius:1em;color:#000;padding:0;
+
<div style="vertical-align:top;color:#000;padding:0;
 
{{ #switch: {{{type|}}}
 
{{ #switch: {{{type|}}}
 
| U=margin:0em;top:0; width:100%;background:#def;box-shadow: 1px 2px 4px rgba(0, 0, 0, .5);border:medium outset #69c;clear:both;text-align:center;
 
| U=margin:0em;top:0; width:100%;background:#def;box-shadow: 1px 2px 4px rgba(0, 0, 0, .5);border:medium outset #69c;clear:both;text-align:center;
Line 6: Line 6:
 
| L=float:left;margin:2em;top:0;width:60%;
 
| L=float:left;margin:2em;top:0;width:60%;
 
| C=top:0;width:30%;margin:auto;
 
| C=top:0;width:30%;margin:auto;
| #default=margin:0em;top:0; width:100%;background:#fff;box-shadow: 1px 2px 2px rgba(0, 0, 0, .2);border:none;clear:both;
+
| #default=margin:0em;top:0; width:100%;background:#fff;border-radius:.5em;box-shadow: -.1em .1em .2em rgba(0, 0, 0, .2);border:none;clear:both;
 
}}
 
}}
 
">
 
">
<div class="cadre" style="text-align:left; position:relative; left:0; top:0;  border:thin outset #69c; height:2em; border-radius:.5em;margin:.5em; {{#if:{{{title|}}}|display:none;|}}">
+
{{#if:{{{title|}}}|
 +
<div class="cadre" style="text-align:left; position:relative; left:0; top:0;  border:thin outset #69c; height:2em; border-radius:.5em;margin:.5em;">
 
   <div style="position:absolute; left:.5em; top:-.5em;">[[File:{{{image|R2_scenario_admin.png}}}|4em|link=]]</div>
 
   <div style="position:absolute; left:.5em; top:-.5em;">[[File:{{{image|R2_scenario_admin.png}}}|4em|link=]]</div>
 
   <div style="position:absolute; left:4em; top:.2em;font-size:1.2em; font-weight:bold; text-align:left; color:#000; padding:.15em .4em;">{{3DText|text={{{title}}} }}</div>
 
   <div style="position:absolute; left:4em; top:.2em;font-size:1.2em; font-weight:bold; text-align:left; color:#000; padding:.15em .4em;">{{3DText|text={{{title}}} }}</div>
 
</div>
 
</div>
<div style="margin:.5em; padding:.5em;">{{{content|à compléter...}}}</div>
+
}}
 
+
{{#if:{{{content|}}}|
 +
<div style="margin:.5em; padding:.5em;">{{{content}}}</div>
 +
|
 +
----
 +
}}
 
</div>
 
</div>
 
<noinclude>[[Catégorie:Modèles]]</noinclude>
 
<noinclude>[[Catégorie:Modèles]]</noinclude>

Revision as of 15:47, 4 November 2016


Catégorie:Modèles