Difference between revisions of "Template:News"

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

Revision as of 22:38, October 16, 2014

Use like so:

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