Changes

Jump to: navigation, search

Template:News

300 bytes removed, 3 years ago
m
ssl compliance
|News Format=Short (or Extended)
}}
</pre>
{{#cargo_declare:
table_table=_newsnews|Summary=TextWikitext
|News_Category=Text
|Author=Page
|Gravatar_MD5=Text
|Publication_Status=Text
|Publication_Date=Date
|News_Format=Text
}}
</pre>
</noinclude><includeonly>{{#widget:AddThis}}
<div class="container" style="margin-top: 20px;"><div class="row"><div class="col-xs-12">
= {{PAGENAME}} =
{{#vardefine:grav|{{#cargo_query:tables=people|fields=Gravatar_MD5|where=_pageName="User:{{{Author}}}"}}}}{{#if:{{{Deprecated By|}}}|{{Important|This news item is not current. You can find updated information on this topic at [[Deprecated By::News:{{{Deprecated By}}}|{{{Deprecated By}}}]].}}}}{{#ifeq:{{{Publication Status|}}|Draft|{{NotYetPublished}}}}{{#set:Summary={{{Summary|}}}|News Category={{{News Category|}}}|Publication Status={{{Publication Status|}}}|Icon={{{Icon|}}}|Publication Date={{{Publication Date|}}}|News Format={{{News Format}}}}}{{#set:Author=User:{{{Author|}}}|Gravatar MD5={{#show: User:{{{Author}}} | ?Gravatar MD5}}}}
{{#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_CategoryNews Category|}}}|Author={{{#if:{{{Author|}}}|User:{{{Author|}}}}}|Gravatar_MD5={{#show: User:{{{Author}}} | ?Gravatar MD5}}|Publication_Status={{{Publication_StatusPublication Status|}}}|Publication_Date={{{Publication_DatePublication 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