Template:MP News: Difference between revisions
From Inkipedia, the Splatoon wiki
m (Flex adjustment) |
m (reduced set width in flex so it doesn't cross the lines in mobile view) Tags: mobile edit mobile web edit |
||
Line 1: | Line 1: | ||
<includeonly><templatestyles src="Main page featured/styles.css" /> | <includeonly><templatestyles src="Main page featured/styles.css" /> | ||
{{BubbleBox|background=bubbles|border={{SiteColor|Generic}}|style=flex: 9999 0 | {{BubbleBox|background=bubbles|border={{SiteColor|Generic}}|style=flex: 9999 0 300px; height: {{{height|1500px}}}; overflow-y: auto|open}} | ||
<div class="bubbleboxbg-lighter" style="border: 0.125rem solid #ffffff; border-radius: .5rem; text-align: center; font-size: 1.25rem;">'''{{{header}}}'''</div> | <div class="bubbleboxbg-lighter" style="border: 0.125rem solid #ffffff; border-radius: .5rem; text-align: center; font-size: 1.25rem;">'''{{{header}}}'''</div> | ||
<div class="bubbleboxbg-darker" style="border: 0.125rem solid #ffffff; border-radius: .5rem; padding: .25rem; margin-top: 0.125em;">'''{{date|{{{item 1 date}}}}}''' | <div class="bubbleboxbg-darker" style="border: 0.125rem solid #ffffff; border-radius: .5rem; padding: .25rem; margin-top: 0.125em;">'''{{date|{{{item 1 date}}}}}''' |
Revision as of 12:57, 29 March 2022
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.
|
item <#> content | Named | Required | The content.
|