Template:MainNews: Difference between revisions
Template page
More actions
concept |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
<div style="width: {{{width|750px}}}; position: relative; text-align: center; margin: 5px auto; padding:5px; border: 2px solid; color: #FFFFFF; border-radius: | <div style="width: {{{width|750px}}}; position: relative; text-align: center; margin: 5px auto; padding:5px; border: 2px solid; color: #FFFFFF; border-radius: 10px; font-family: Noto Sans;"> | ||
<div style="vertical-align: middle; width: 100%; background: {{{topcolor|#0295CB}}}; border-radius: 2px; margin: | <div style="vertical-align: middle; width: 100%; background: {{{topcolor|#0295CB}}}; border-radius: 2px; margin-bottom: 5px;"> | ||
<div style="float: left | <div style="float: left; text-align: left; padding-left: 5px;">'''{{{title| }}}'''</div> | ||
<div style="float: right | <div style="float: right; text-align: right; font-size: 0.9em; padding-right: 5px;">'''{{{date| }}}'''</div> | ||
<div style="clear:both;"></div> | <div style="clear: both;"></div> | ||
</div> | </div> | ||
<div style="display: | |||
<div style=" | {{#if:{{{image|}}}| | ||
<div style="display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 5px;"> | |||
<div style="background: {{{imagecolor|transparent}}}; border-radius: 5px; padding: 3px; width: 70px; min-width: 70px;"> | |||
[[File:{{{image|}}}|{{{imagesize|70px}}}|link={{{link|}}}]] | |||
</div> | |||
{{#if:{{{image2|}}}| | |||
<div style="background: {{{imagecolor|transparent}}}; border-radius: 5px; padding: 3px; width: 70px; min-width: 70px;"> | |||
[[File:{{{image2|}}}|{{{image2size|70px}}}|link={{{link2|}}}]] | |||
</div> | |||
}} | |||
</div> | |||
}} | |||
<div style="text-align: left; padding: 3px; font-size: 0.9em;">{{{info| }}}</div> | |||
</div> | </div> |
Revision as of 08:04, 10 July 2025