Difference between revisions of "Template:News"

From Funtoo
Jump to: navigation, search
(more deSMWification)
Line 36: Line 36:
 
tables=people
 
tables=people
 
|fields=Gravatar_MD5
 
|fields=Gravatar_MD5
|where=_pageName="User:Author"}}/?s=80&d=retro&r=g}}|date={{#time:F j, Y|{{{Publication Date}}}}}
+
|where=_pageName="User:{{{Author}}}"}}/?s=80&d=retro&r=g}}|date={{#time:F j, Y|{{{Publication Date}}}}}
 
}}}}{{#cargo_store:
 
}}}}{{#cargo_store:
 
_table=news
 
_table=news

Revision as of 07:57, 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.