Difference between revisions of "Template:News"

From Funtoo
Jump to: navigation, search
Line 15: Line 15:
 
{{#set:Summary={{{Summary|}}}|News Category={{{News Category|}}}|Publication Status={{{Publication Status|}}}|Publication Date={{{Publication Date|}}}}}{{#arraymap:{{{Author|}}}|,|x|{{#set:Author=User:x}}}}
 
{{#set:Summary={{{Summary|}}}|News Category={{{News Category|}}}|Publication Status={{{Publication Status|}}}|Publication Date={{{Publication Date|}}}}}{{#arraymap:{{{Author|}}}|,|x|{{#set:Author=User:x}}}}
 
__NOTITLE__
 
__NOTITLE__
= {{PAGETITLE}} =
+
= {{PAGENAME}} =
 
</includeonly>
 
</includeonly>

Revision as of 22:39, October 16, 2014

Use like so:

{{News
|Summary=Test News Item
|News Category=General
|Author=Drobbins
|Publication Status=Draft
|Publication Date=2014/10/16
}}