Template:News Link Row: Difference between revisions

From Indian River Lagoon Project
mNo edit summary
mNo edit summary
Line 4: Line 4:
<includeonly>
<includeonly>
<div class="irlnews irlnewsbox" style="width:100%;float:left;margin-bottom:20px;border-bottom:1px solid #333">
<div class="irlnews irlnewsbox" style="width:100%;float:left;margin-bottom:20px;border-bottom:1px solid #333">
{{#if:{{{Image|}}} |<div style="padding-left:5px">[[File:{{{Image|}}}|144x144px|frameless|right|alt={{{Title|}}}|link={{{_pageName|}}}]]</div>}}<span style="font-size:1.1em;">[[{{{_pageName|}}}|{{{Title|}}}]]</span>
{{#if:{{{Image|}}} |<div style="width:auto;float:right;margin-left:5px">[[File:{{{Image|}}}|144x144px|frameless|right|alt={{{Title|}}}|link={{{_pageName|}}}]]</div>}}<span style="font-size:1.1em;">[[{{{_pageName|}}}|{{{Title|}}}]]</span>
{{#if:{{{SubTitle|}}} | <br/><span>{{{SubTitle|}}}</span> }}
{{#if:{{{SubTitle|}}} | <br/><span>{{{SubTitle|}}}</span> }}
<p style="padding-right:5px"><span style="font-weight:600">{{#time: m/d/Y|{{{Posted|}}} }} -  {{#if:{{{Region|}}}|{{{Location|}}}, {{{Region|}}} -|}}</span> {{{Description|}}}</p>
<p style="padding-right:5px"><span style="font-weight:600">{{#time: m/d/Y|{{{Posted|}}} }} -  {{#if:{{{Region|}}}|{{{Location|}}}, {{{Region|}}} -|}}</span> {{{Description|}}}</p>
</div>
</div>
</includeonly>
</includeonly>

Revision as of 12:55, January 24, 2020

This is the News_Link_Row template for showing rows of News Headlines using Cargo Query.