Template:News item: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
mNo edit summary
(It was pretty unanimous between the community: we won't be needing this tag.)
Line 1: Line 1:
{| style="width: 100%;"
{| style="width: 100%;"
| class="news-date" style="width: 50%; text-align: center;" | {{{1}}}
| class="news-date" style="width: 50%; text-align: center;" | {{{1}}}
| class="news-type" 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" | n="News about other NIWA wikis." |nt = "News about Nintendo games and the company itself."}} style="display: inline-block; width: 80px; border: {{#switch:{{{2|}}} | c=#363 | s=#336 | w=#663 | n=#633 | nt = #633}} solid 1px; {{round|8}} background-color: {{#switch:{{{2|}}} | c=#BEB | s=#BBE | w=#EEB | n=#EBB | nt=#CCC}};">{{#switch:{{{2|}}} | c=Community | s=Series | w=Wiki | n=NIWA | nt = Nintendo}}</div>
| class="news-type" 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" | n="News about other NIWA wikis." }} style="display: inline-block; width: 80px; border: {{#switch:{{{2|}}} | c=#363 | s=#336 | w=#663 | n=#633 }} solid 1px; {{round|8}} background-color: {{#switch:{{{2|}}} | c=#BEB | s=#BBE | w=#EEB | n=#EBB }};">{{#switch:{{{2|}}} | c=Community | s=Series | w=Wiki | n=NIWA }}</div>
|-
|-
| colspan="2" style="text-indent: 1em;" | {{{3}}}
| colspan="2" style="text-indent: 1em;" | {{{3}}}
Line 22: Line 22:
*'''w''': Wiki-related news.
*'''w''': Wiki-related news.
*'''n''': NIWA wiki-related news.
*'''n''': NIWA wiki-related news.
*'''nt''': Nintendo news not pertaining to the Pikmin series (ex. game releases)
|-
|-
! 3
! 3

Revision as of 08:39, July 28, 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 use {{date}}, year included.
2 Yes Type Type of item.
  • c: Community-related news.
  • s: Series-related news (official revelations about the series).
  • w: Wiki-related news.
  • n: NIWA wiki-related news.
3 Yes Text The actual item text.

Skeleton

{{news item | <date> | <type> | <text>}}