Template:MP News: Difference between revisions

From Inkipedia, the Splatoon wiki
(Added dark mode support)
m (Fixed size miscalculation)
Line 15: Line 15:
</div>
</div>
<div class="darkmode" style="display:none;height:100%">
<div class="darkmode" style="display:none;height:100%">
<div style="border: 2px solid #577100; border-radius: 8px; padding: 10px;flex: 9999 0 0;height:calc(100% - 20px)">
<div style="border: 2px solid #577100; border-radius: 8px; padding: 10px;flex: 9999 0 0;height:calc(100% - 24px)">
<div style="background-color: rgba(255, 255, 255, 0.2); border: 0.125rem solid #577100; border-radius: .5rem; text-align: center; font-size: 1.25rem;">'''{{{header}}}'''</div>
<div style="background-color: rgba(255, 255, 255, 0.2); border: 0.125rem solid #577100; border-radius: .5rem; text-align: center; font-size: 1.25rem;">'''{{{header}}}'''</div>
<div style="border: 0.125rem solid #577100; border-radius: .5rem; padding: .25rem; margin-top: 0.125em;">'''{{date|{{{item 1 date}}}}}'''
<div style="border: 0.125rem solid #577100; border-radius: .5rem; padding: .25rem; margin-top: 0.125em;">'''{{date|{{{item 1 date}}}}}'''

Revision as of 08:21, 26 October 2019

For use with Main Page/Featured.

Parameters

Parameter Type Status Description
item <#> date Named Required The date that the item is being saved to the wiki.
  • Currently supports up to two items, named as "item 1 date" and "item 2 date".
  • The second item is optional.
item <#> content Named Required The content.
  • Currently supports up to two items, named as "item 1 content" and "item 2 content".
  • The second item is optional.