Template:News item: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{| style="width: 100%;" | {| style="width: 100%;" | ||
| style="color: # | | style="color: #353; font-style: italic; width: 50%; text-align: center;" | {{{1}}} | ||
| style="text-align: center;" | <div title={{#switch:{{{2|}}} | c="News about the community" | s="News about the official Pikmin series" | w="News about the wiki's evolution"}} style="display: inline-block; width: 80px; border: {{#switch:{{{2|}}} | c=#363 | s=#336 | w=#663}} solid 1px; {{round|8}} background-color: {{#switch:{{{2|}}} | c=#BEB | s=#BBE | w=#EEB}};">{{#switch:{{{2|}}} | c=Community | s=Series | w=Wiki}}</div> | | style="text-align: center;" | <div title={{#switch:{{{2|}}} | c="News about the community" | s="News about the official Pikmin series" | w="News about the wiki's evolution"}} style="display: inline-block; width: 80px; border: {{#switch:{{{2|}}} | c=#363 | s=#336 | w=#663}} solid 1px; {{round|8}} background-color: {{#switch:{{{2|}}} | c=#BEB | s=#BBE | w=#EEB}};">{{#switch:{{{2|}}} | c=Community | s=Series | w=Wiki}}</div> | ||
|- | |- |
Revision as of 19:04, February 4, 2015
{{{1}}} | |
{{{3}}} |
Info
This template creates a table with information about a news feed, for use with {{News}}.
Parameters
Parameter | Mandatory | Default | Purpose | Detailed description |
---|---|---|---|---|
1 | Yes | Date | Date of the item. It should have the month first, then a space, then the day number, followed by the ordinal qualifier, using the <sup> tags. Example: January 1<sup>st</sup> for "January 1st".
| |
2 | Yes | Type | Type of item.
| |
3 | Yes | Text | The actual item text. |
Skeleton
{{news item | <date> | <type> | <text>}}