Difference between revisions of "Template:News"

From Funtoo
Jump to: navigation, search
Line 19: Line 19:
 
|News_Category=Text
 
|News_Category=Text
 
|Author=Page
 
|Author=Page
|Gravatar_MD5=Text
 
 
|Publication_Status=Text
 
|Publication_Status=Text
 
|Publication_Date=Date
 
|Publication_Date=Date
Line 42: Line 41:
 
|News_Category={{{News Category|}}}
 
|News_Category={{{News Category|}}}
 
|Author={{#if:{{{Author|}}}|User:{{{Author|}}}}}
 
|Author={{#if:{{{Author|}}}|User:{{{Author|}}}}}
|Gravatar_MD5={{#show: User:{{{Author}}} | ?Gravatar MD5}}
 
 
|Publication_Status={{{Publication Status|}}}
 
|Publication_Status={{{Publication Status|}}}
 
|Publication_Date={{{Publication Date|}}}
 
|Publication_Date={{{Publication Date|}}}

Revision as of 08:10, June 28, 2015

Use like so:

{{News
|Summary=Test News Item
|News Category=General
|Author=Drobbins
|Publication Status=Draft
|Publication Date=2014/10/16
|Deprecated By=News:NewsPageThatContainsNewerInfo
|Icon=File:foobar.jpg
|News Format=Short (or Extended)
}}

This template defines the table "news". View table.