Changes

Jump to: navigation, search

Template:News

551 bytes added, 3 years ago
m
ssl compliance
|Publication Status=Draft
|Publication Date=2014/10/16
|Deprecated By=News:NewsPageThatContainsNewerInfo
|Icon=File:foobar.jpg
|News Format=Short (or Extended)
}}
</pre>
{{#cargo_declare:
_table=news
|Summary=Wikitext
|News_Category=Text
|Author=Page
|Publication_Status=Text
|Publication_Date=Date
|Deprecated_By=Page
|Icon=Page
|News_Format=Text
}}
 
</noinclude><includeonly>{{#widget:AddThis}}
<div class="container" style="margin-top: 20px;"><div class="row"><div class="col-xs-12">
= {{PAGENAME}} =
{{#ifeqvardefine:grav|{{{Publication Status#cargo_query:tables=people|}}|Draftfields=Gravatar_MD5|where=_pageName="User:{{{NotYetPublishedAuthor}}}"}}}}{{#setif:Summary={{{SummaryDeprecated By|}}}|News Category={{{Important|This news item is not current. You can find updated information on this topic at [[:News Category|}}}|Publication Status={{{Publication Status|}}}|Icon=:{{{Icon|Deprecated By}}}|Publication Date={{{Publication Date|Deprecated By}}}|News Format={{{News Format]].}}}}}{{#set:Author=Userifeq:{{{AuthorPublication Status|}}}|Gravatar MD5=Draft|{{#show: User:{{{Author}}} | ?Gravatar MD5NotYetPublished}}}}
{{#ifeq:{{{News Format|}}}|Extended|
{{#widget:NewsInfo|body={{{Summary|}}}|user={{{Author|}}}|icon_url={{#if:{{{Icon|}}}|{{filepath:{{#sub:{{{Icon}}}|5}}|80}}|http://www.gravatar.com/avatar/{{#showvar: User:{{{Author}}} | ?Gravatar MD5grav}}/?s=80&d=retro&r=g}}|date={{#time:F j, Y|{{{Publication Date}}}}}}}}}{{#cargo_store:_table=news|Summary={{{Summary|}}}|News_Category={{{News Category|}}}|Author={{#if:{{{Author|}}}|User:{{{Author|}}}}}|Publication_Status={{{Publication Status|}}}|Publication_Date={{{Publication Date|}}}|Deprecated_By={{#if:{{Deprecated By|}}}|News:{{{Deprecated By|}}}}}|Icon={{{Icon|}}}|News_Format={{{News Format|}}}}}</div></div><div class="row"><div class="col-xs-12"></includeonly>
Bureaucrats, Administrators, wiki-admins, wiki-staff
6,450
edits

Navigation menu