Changes

Jump to: navigation, search

Template:News

749 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}} =
{{#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 [[:News:{{{Deprecated By}}}|{{{Deprecated By}}}]].}}}}{{#ifeq:{{{Publication Status|}}|Draft|{{NotYetPublished}}}}{{#setifeq:Summary{{{News Format|}}}|Extended|{{#widget:NewsInfo|body={{{Summary|}}}|News Categoryuser={{{News CategoryAuthor|}}}|Publication Statusicon_url={{#if:{Publication Status{{Icon|}}}|Icon={{filepath:{{#sub:{{{Icon}}}|5}}|80}}|Publication Date//www.gravatar.com/avatar/{{#var:grav}}/?s=80&d=retro&r=g}}|date={{#time:F j, Y|{{{Publication Date|}}}}}}}}}{{#setcargo_store:Author_table=news|Summary=User:{{{AuthorSummary|}}}|Gravatar MD5News_Category={{{News Category|}}}|Author={{#showif: {{{Author|}}}|User:{{{Author|}}} }}|Publication_Status={{{Publication Status| ?Gravatar MD5}}}}__NOTITLE__</div></div><div class|Publication_Date="row"><div class="col-xs-12 col-sm-4 col-sm-push-8"><p><b>{{{Publication Date|}}}</b></p><p>|Deprecated_By={{#showif: User{{Deprecated By|}}}|News:{{{AuthorDeprecated By|}}}}}|Icon={{{Icon|}}} | ?Bio News_Format={{{News Format|}}}}}</pdiv></div><div class="row"><div class="col-xs-12 col-sm-8 col-sm-pull-4"></includeonly>
Bureaucrats, Administrators, wiki-admins, wiki-staff
6,450
edits

Navigation menu