This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.

Please visit our production wiki at https://wiki.gentoo.org

Template:News/testcases

From Gentoo Wiki (test)
Jump to:navigation Jump to:search
Note
This is the template test case page for Template:News and its sandbox version. You may have to purge this page to update the examples.
No parameter
Wiki code {{News}}

Main version
Sandbox version
{{News}}: No 1. unnamed parameter defined. For correct usage see template's documention.


Parameter: date
Wiki code {{News|date=Aug 2, 2012}}

Main version

Aug 2, 2012: {{{header}}}

{{{body}}}

Sandbox version
{{News}}: No 2. unnamed parameter defined. For correct usage see template's documention.


Parameter: date, header
Wiki code {{News|date=Aug 2, 2012|header=A header}}

Main version

Aug 2, 2012: A header

{{{body}}}

Sandbox version
{{News}}: No 3. unnamed parameter defined. For correct usage see template's documention.
Parameter: date, header, body
Wiki code {{News|date=Aug 2, 2012|header=A header|body= This is a news item. }}

Main version

Aug 2, 2012: A heading

This is a news item.

Sandbox version

Aug 2, 2012: A heading

This is a news item.