Template:Messagebox: Difference between revisions

From Vintage Story Wiki
m
replace the messagebox category with notice templates
m (removed cat)
m (replace the messagebox category with notice templates)
 
(5 intermediate revisions by 3 users not shown)
Line 4: Line 4:
{{#if: {{{linecol|}}} | border-style: solid; border-width: 1px 1px 1px 4px; border-color: {{{linecol}}}; | border: 1px solid #7a7c7d;}}
{{#if: {{{linecol|}}} | border-style: solid; border-width: 1px 1px 1px 4px; border-color: {{{linecol}}}; | border: 1px solid #7a7c7d;}}
border-radius: 4px;
border-radius: 4px;
{{#if: {{{mini|}}} | font-size: 75%; | }}
font-size: {{#if: {{{mini|}}} | 75% | 85% }};
width: {{#if: {{{mini|}}} | 50em | {{#if: {{{width|}}} | {{{width}}} | 90% }} }};
width: {{#if: {{{mini|}}} | 50em | {{#if: {{{width|}}} | {{{width}}} | 90% }} }};
padding: 0.4em;
padding: 0.2em;
margin: auto;
margin: 0.5em auto;
{{{css|}}}
{{{css|}}}
"><div style="display: flex; justify-content: flex-start; align-items: center; padding-left: 10px">
"><div style="display: flex; justify-content: flex-start; align-items: center; padding-left: 10px">
{{#if: {{{image|}}} | [[File:{{{image}}}|{{#if: {{{imagesize|}}} | {{{imagesize}}} | {{#if: {{{mini|}}} | 16px | 32px }}}}|left|middle]]}}<div style="margin-left: 10px; text-align: left;">
{{#if: {{{image|}}} | [[File:{{{image}}}|{{#if: {{{imagesize|}}} | {{{imagesize}}} | {{#if: {{{mini|}}} | 16px | 32px }}}}|middle]]}}<div style="margin-left: 10px; text-align: left;">
{{#if: {{{title|}}} | <big>'''{{{title}}}'''</big>{{#if: {{{discuss|}}} | {{discuss}} }}<br>}}
{{#if: {{{title|}}} | <big>'''{{{title}}}'''</big>{{#if: {{{discuss|}}} | {{discuss}} }}<br>}}
{{#if: {{{text|}}} | {{{text}}} }}
{{#if: {{{text|}}} | {{{text}}} }}
</div></div></div></includeonly>
</div></div></div></includeonly>
<noinclude>{{doc}}</noinclude>
<noinclude>{{doc}}[[Category:Notice_templates]]</noinclude>
Confirmedusers, Bureaucrats, editor, Administrators
1,522

edits