注意:

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "Template:News"

From Funtoo
Jump to navigation Jump to search
m
Line 38: Line 38:
|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:00, 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.