Template:News Link Row: Difference between revisions

From Indian River Lagoon Project
mNo edit summary
mNo edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<includeonly>
<templatestyles src="News_Link/styles.css" />
<div class="irlnews irlnewsbox">
{{#if:{{{Image|}}} |<div class="irlnewslogoright">[[File:{{{Image|}}}|144x144px|alt={{{Title|}}}|link={{{_pageName|}}}]]</div>|<div class="irlnewslogoright">[[File:IRLN_IRLNews_logo.png|128x128px|frameless|alt={{{Title|}}}|link={{{_pageName|}}}]]</div>}}<span class="irlnewsboxtitle">[[{{{_pageName|}}}|{{{Title|}}}]]</span>
<div class="irlnewsboxdesc"><span class="irlnewslabel">{{#time: m/d/Y|{{{Posted|}}} }} -  {{#if:{{{Region|}}}|{{{Location|}}}, {{{Region|}}} -|}}</span> {{{Description|}}}</div>
</div>
</includeonly><noinclude>
This is the News_Link_Row template for showing rows of News Headlines using Cargo Query.
This is the News_Link_Row template for showing rows of News Headlines using Cargo Query.
</noinclude>
</noinclude>
<includeonly>
<div class="irlnews irlnewsbox" style="width:100%;float:left;margin-bottom:20px;border-bottom:1px solid #333">
{{#if:{{{Image|}}} |<div style="width:auto;float:right;margin:5px">[[File:{{{Image|}}}|144x144px|frameless|right|alt={{{Title|}}}|link={{{_pageName|}}}]]</div>|<div style="width:auto;float:right;margin:5px">[[File:IRL-logo-news.png|144x144px|frameless|right|alt={{{Title|}}}|link={{{_pageName|}}}]]</div>}}<span style="font-size:1.1em;">[[{{{_pageName|}}}|{{{Title|}}}]]</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>
</div>
</includeonly>

Latest revision as of 07:54, February 6, 2021

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