Difference between revisions of "Template:Important"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Removed 1px border)
m (Margin addition)
Line 1: Line 1:
<includeonly><div style="background-color: #EEAA00; color: #FFF; display: flex; align-items: center;">
+
<includeonly><div style="background-color: #EEAA00; color: #FFF; display: flex; align-items: center; margin: 0.5em">
 
<div style="font-size: 28px; height: 100%; margin: -2px 8px;">⚠</div>
 
<div style="font-size: 28px; height: 100%; margin: -2px 8px;">⚠</div>
<div style="background-color: #FFF; border-radius: 0em; color: #333; flex-grow: 1; height: 100%; margin: 3px; padding: 0.5em;">{{{1|-Text not defined-}}}</div>
+
<div style="background-color: #FFF; color: #333; flex-grow: 1; height: 100%; margin: 0.25em; padding: 0.5em;">{{{1|-Text not defined-}}}</div>
 
</div></includeonly><noinclude>
 
</div></includeonly><noinclude>
 
== Usage ==
 
== Usage ==

Revision as of 17:22, 29 June 2019

Usage

 {{Important|user defined text}} 

Output

user defined text


Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laborisnisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.