Template:News/testcases

From HPC Wiki
Revision as of 17:45, 15 December 2016 by Bgo (talk | contribs) (Created page with "<noinclude>{{Template testcases notice}}</noinclude> <noinclude>{{Testcase |title=No parameter |<nowiki>{{News}}</nowiki> |{{News}} |{{News/sandbox}} }}</noinclude> <noinclud...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to:navigation Jump to:search


No parameter
Wiki code {{News}}

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


Parameter: 1. unnamed
Wiki code {{News|Aug 2, 2012}}

Main version

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

{{{3}}}

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


Parameter: 1., 2. unnamed
Wiki code {{News|Aug 2, 2012|A heading}}

Main version

Aug 2, 2012: A heading

{{{3}}}

Sandbox version
{{News}}: No 3. unnamed parameter defined. For correct usage see template's documention.
Parameter: 1., 2., 3. unnamed
Wiki code {{News|Aug 2, 2012|A heading| 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.