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|}}}|Author={{{Author|}}}|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}}}}
 
</includeonly>
 
</includeonly>

Revision as of 20:19, October 16, 2014

Use like so:

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