Template:News Link Box: Difference between revisions
From Indian River Lagoon Project
mNo edit summary |
mNo edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
< | <includeonly> | ||
<templatestyles src="News_Link/styles.css" /> | |||
<div class="irlnews"> | <div class="irlnews"> | ||
<div class="irlnewstop"> | <div class="irlnewstop"> | ||
{{#if:{{{Image|}}} | <div class="irlnewsimage">[[File:{{{Image|}}}| | {{#if:{{{Image|}}} | <div class="irlnewsimage">[[File:{{{Image|}}}|640px|center|alt={{{Title|}}}|link={{{_pageName|}}}]]</div>}} | ||
{{#if:{{{Title|}}}|<div class="irlnewstitle">[[{{{_pageName|}}}|{{{Title|}}}]]</div>}} | {{#if:{{{Title|}}}|<div class="irlnewstitle" style="font-size:1.1em">[[{{{_pageName|}}}|{{{Title|}}}]]</div>}} | ||
{{#if:{{{Author_Last|}}} | <div class="irlnewsauthor">{{#if:{{{Author_First|}}}|{{{Author_First|}}} |}} {{{Author_Last|}}}, Author</div> |}}{{#if:{{{SubTitle|}}} | <div class="irlnewssubtitle">{{{SubTitle|}}}</div> |}}<div class="irlnewsdesc">{{{Description|}}}</div> | {{#if:{{{Author_Last|}}} | <div class="irlnewsauthor">{{#if:{{{Author_First|}}}|{{{Author_First|}}} |}} {{{Author_Last|}}}, Author</div> |}}{{#if:{{{SubTitle|}}} | <div class="irlnewssubtitle">{{{SubTitle|}}}</div> |}}<div class="irlnewsdesc">{{{Description|}}}</div> | ||
</div> | </div> | ||
{{#if:{{{Text_Body|}}}|<div class="irlnewsmiddle">{{#if:{{{Location|}}}|<span class="irlnewslocation">{{{Location|}}}</span>}}{{#if:{{{Published_Date|}}}|<span class="irlnewspubdate"> ({{{Published_Date|}}}) - </span>}}<span class="irlnewstext">{{{Text_Body|}}}</span></div>| }} | |||
{{#if:{{{Text_Body|}}}| <div class="irlnewsmiddle">{{#if:{{{Location|}}}|<span class="irlnewslocation">{{{Location|}}}</span>}}{{#if:{{{Published_Date|}}}|<span class="irlnewspubdate"> ({{{Published_Date|}}}) - </span>}}<span class="irlnewstext">{{{Text_Body|}}}</span></div> }} | {{#if:{{{Url|}}} | <div class="irlnewsmiddle irlnewslink">Visit Link: [{{{Url|}}} {{{Title|}}}]</div>}} | ||
<div class="irlnewsbottom"> | <div class="irlnewsbottom"> | ||
{{#if:{{{Topic|}}}|<div class="irlnewstopicdiv"><span class="irlnewstopic">Topic: [[:Category:{{{Topic|}}}{{!}}{{{Topic|}}}]]</span></div>}} | |||
<div class="irlnewspost"><span class="irlnewsposter">Poster: {{{Poster|}}}</span><span class="irlnewsposted">Posted: {{#time: Y-m-d|{{{Posted|}}} }}</span></div> | <div class="irlnewspost"><span class="irlnewsposter">Poster: {{{Poster|}}}</span><span class="irlnewsposted">Posted: {{#time: Y-m-d|{{{Posted|}}} }}</span></div> | ||
</div> | </div> | ||
</div> | </div> | ||
</includeonly> | |||
<noinclude> | <noinclude> | ||
This is the News_Link_Box template for use in News info boxes. | This is the News_Link_Box template for use in News info boxes. | ||
</noinclude> | </noinclude> |
Latest revision as of 07:22, December 6, 2020
This is the News_Link_Box template for use in News info boxes.