Template:Box: Difference between revisions

Semantic MediaWikiThis message will disappear after all relevant tasks have been resolved.

There are 1 incomplete or pending task to finish installation of Semantic MediaWiki. An administrator or user with sufficient rights can complete it. This should be done before adding new data to avoid inconsistencies.

No edit summary
No edit summary
Line 2: Line 2:
   <!-- CSS for icon and background -->
   <!-- CSS for icon and background -->
   <div style="background: {{{background-title-color|#eaecf0}}}; border-radius: 0.2em 0.2em 0 0; padding: 0.5em 1em 0.5em 1em;; display: flex; align-items: center;">
   <div style="background: {{{background-title-color|#eaecf0}}}; border-radius: 0.2em 0.2em 0 0; padding: 0.5em 1em 0.5em 1em;; display: flex; align-items: center;">
     {{#if:{{{icon|}}}|<span style="opacity: 0.8; display: flex; align-items: center; margin-right: 0.5em; line-height: 20px;">[[File:{{{icon}}}|20px|left|link=|alt=]]</span>&#32;}}
     {{#if:{{{icon|}}}|<span style="opacity: 0.8; display: flex; align-items: center; margin-right: 0.5em; line-height: 50px;">[[File:{{{icon}}}|50px|left|link=|alt=]]</span>&#32;}}
     <div style="color: {{{title-color|#000000}}}; font-weight: bold; line-height: 20px;">{{{title}}}</div>
     <div style="color: {{{title-color|#000000}}}; font-weight: bold; line-height: 50px;">{{{title}}}</div>
     <!-- Link div -->
     <!-- Link div -->
     {{#if:{{{link|}}}|<div style="float: right; font-size: 0.7em;">[[{{{link}}}|<span style="color: {{{link-color|{{{title-color|#000000}}}}}};">{{{Link-text|{{{link-text|Link}}}}}}</span>]]</div>}}
     {{#if:{{{link|}}}|<div style="float: right; font-size: 0.7em;">[[{{{link}}}|<span style="color: {{{link-color|{{{title-color|#000000}}}}}};">{{{Link-text|{{{link-text|Link}}}}}}</span>]]</div>}}