Difference between revisions of "Template:News"

From Funtoo
Jump to: navigation, search
m
m
Line 37: Line 37:
 
_table=news
 
_table=news
 
|Summary={{{Summary|}}}
 
|Summary={{{Summary|}}}
|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}}
 
|Gravatar_MD5={{#show: User:{{{Author}}} | ?Gravatar MD5}}
|Publication_Status={{{Publication_Status|}}}
+
|Publication_Status={{{Publication Status|}}}
|Publication_Date={{{Publication_Date|}}}
+
|Publication_Date={{{Publication Date|}}}
 
|Deprecated_By={{#if:{{Deprecated By|}}}|{{{Deprecated By|}}}}}
 
|Deprecated_By={{#if:{{Deprecated By|}}}|{{{Deprecated By|}}}}}
 
|Icon={{{Icon|}}}
 
|Icon={{{Icon|}}}
 
|News_Format={{{News Format|}}}
 
|News_Format={{{News Format|}}}
 
}}</div></div><div class="row"><div class="col-xs-12"></includeonly>
 
}}</div></div><div class="row"><div class="col-xs-12"></includeonly>

Revision as of 07:03, June 23, 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.