Template:News/doc: Difference between revisions

From HPC Wiki
Jump to:navigation Jump to:search
(Created page with "{{Template}} Use this template for a news item. == Parameters == ; 1. unnamed: Add the date. ; 2. unnamed: Add the heading. ; 3. unnamed: Add the news text. == Usage == See...")
 
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:


== Parameters ==
== Parameters ==
; 1. unnamed: Add the date.
 
; 2. unnamed: Add the heading.
{{Template Parameter Table|1=
; 3. unnamed: Add the news text.
{{Template Parameter|1|Date}}
{{Template Parameter|2|News heading}}
{{Template Parameter|3|News text}}
}}


== Usage ==
== Usage ==

Latest revision as of 00:17, 28 December 2016

Note
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages.

As this template is widely used in our wiki, it may be protected in which case only staff members can change it. Use the discussion page to propose enhancements or fixes, or to voice your opinion.

Use this template for a news item.

Parameters

Parameter name Required? Default value Description
Anonymous parameter 1 No (n/a) Date
Anonymous parameter 2 No (n/a) News heading
Anonymous parameter 3 No (n/a) News text

Usage

See the template's testcases:




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.