Changes

Jump to: navigation, search

Template:News

496 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}} =
<span style{{#vardefine:grav|{{#cargo_query:tables=people|fields=Gravatar_MD5|where=_pageName="font-sizeUser:{{{Author}}}"}}}}{{#if: 1{{{Deprecated By|}}}|{{Important|This news item is not current.5em; colorYou can find updated information on this topic at [[: #888; font-variant: small-caps;">News: {{{News CategoryDeprecated By}}}|{{{Deprecated By}}}]].}}}}</span>{{#ifeq:{{{Publication Status|}}|Draft|{{NotYetPublished}}}}{{#ifeq:{{{News Format|}}}|Extended|{{#setwidget:SummaryNewsInfo|body={{{Summary|}}}|News Categoryuser={{{News CategoryAuthor|}}}|Publication Statusicon_url={{#if:{{{Publication StatusIcon|}}}|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|}}}}}}}}}{{#arraymapcargo_store:_table=news|Summary={{{AuthorSummary|}}}|,News_Category={{{News Category|x}}}|Author={{#setif:{{{Author=|}}}|User:x{{{Author|Gravatar MD5}}}}}|Publication_Status={{#show: User:x {Publication Status| ?Gravatar MD5}}}|Publication_Date={{{Publication Date|}}}__NOTITLE__</div></div><div class|Deprecated_By="row"><div class="col-xs-12 col-sm-4 col-sm-push-8">{{TableStart#if:{{Deprecated By|}}}|News:{{{Deprecated By|}}}}}<tr><th colspan=2 class|Icon="active">Information</th></tr><tr><th class="active">Date</th><td>{{{Publication DateIcon|}}}</td></tr><tr><th class|News_Format="active">Category</th><td>{{{News CategoryFormat|}}}}}</tddiv></trdiv>{{TableEnd}}</divclass="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