Template:MP News: Difference between revisions

From Inkipedia, the Splatoon wiki
(documentation)
(used date template)
Line 1: Line 1:
<includeonly>{{BubbleBox|background=bubbles|border={{SiteColor|Generic}}|style=flex: 9999 0 0;|open}}
<includeonly>{{BubbleBox|background=bubbles|border={{SiteColor|Generic}}|style=flex: 9999 0 0;|open}}
<div style="background-color: rgba(255, 255, 255, 0.65); border: 0.125rem solid #ffffff; border-radius: .5rem; text-align: center; font-size: 1.25rem;">'''{{{header}}}'''</div>
<div style="background-color: rgba(255, 255, 255, 0.65); border: 0.125rem solid #ffffff; border-radius: .5rem; text-align: center; font-size: 1.25rem;">'''{{{header}}}'''</div>
<div style="background-color: rgba(255, 255, 255, 0.4); border: 0.125rem solid #ffffff; border-radius: .5rem; padding: .25rem; margin-top: 0.125em;">'''{{{item 1 date}}}'''
<div style="background-color: rgba(255, 255, 255, 0.4); border: 0.125rem solid #ffffff; border-radius: .5rem; padding: .25rem; margin-top: 0.125em;">'''{{date|{{{item 1 date}}}}}'''


{{{item 1 content}}}
{{{item 1 content}}}
</div>
</div>


{{#if: {{{item 2 date}}} | <div style="background-color: rgba(255, 255, 255, 0.4); border: 0.125rem solid #ffffff; border-radius: .5rem; padding: .25rem; margin-top: 0.125em;">'''{{{item 2 date}}}'''
{{#if: {{{item 2 date}}} | <div style="background-color: rgba(255, 255, 255, 0.4); border: 0.125rem solid #ffffff; border-radius: .5rem; padding: .25rem; margin-top: 0.125em;">'''{{date|{{{item 2 date}}}}}'''


{{{item 2 content}}}
{{{item 2 content}}}

Revision as of 21:27, 12 September 2018

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.