Template:News Link: Difference between revisions

From Indian River Lagoon Project
mNo edit summary
mNo edit summary
Line 65: Line 65:
  | Website = {{#if:{{{Url|}}} | [{{{Url}}} Web Page] | Web Page}}
  | Website = {{#if:{{{Url|}}} | [{{{Url}}} Web Page] | Web Page}}
  | Press Release = {{{Type}}}
  | Press Release = {{{Type}}}
  | #default = }}{{#if:{{{Publisher|}}} |&nbsp;published by {{#if:{{{Publisher_Url|}}}|[{{{Publisher_Url|}}} {{{Publisher|}}}]|{{{Publisher|}}}|}}|}}{{#if:{{{Published_Date|}}}|&nbsp;on {{#time:F d, Y|{{{Published_Date|}}} }}|}}</div> |}}
  | #default = }}
{{#if:{{{Url|}}} | <div class="irlnewslabel">Link: {{{Url}}} {{#if:{{{Access_Date|}}}| retrieved on {{#time:F d, Y|{{{Access_Date}}} }} }}</div> | }}
{{#if:{{{Publisher|}}} |&nbsp;published by {{#if:{{{Publisher_Url|}}} | [{{{Publisher_Url|}}} {{{Publisher|}}}] | {{{Publisher|}}}|}} |}}{{#if:{{{Published_Date|}}} | &nbsp;on {{#time:F d, Y|{{{Published_Date|}}}. }} |}}{{#if:{{{Access_Date|}}} | Retrieved on {{#time:F d, Y|{{{Access_Date}}} }}. |}} |}}
</div> |}}
<!--
<!--
{{#if:{{{Type|}}} | <div class="irlnewstype"><span class="irlnewslabel">Source: </span>{{#ifeq:{{{Type|}}} | Social Media | {{#if:{{{Social_Type|}}}| <span class="irlnewssocial">{{{Social_Type|}}} post {{#if:{{{Social_Name|}}}|from {{#if:{{{Social_Url|}}}|[{{{Social_Url|}}} {{{Social_Name|}}}]|{{{Social_Name|}}} }} |}}</span> |}} |}}{{#ifeq:{{{Type|}}} | Article | {{{Publication|}}} {{#if:{{{Work|}}}|{{{Work|}}}|}} {{{Type|}}} | }}{{#ifeq:{{{Type|}}} | Opinion-Editorial | {{{Publication|}}} {{#if:{{{Work|}}}|{{{Work|}}}|}} {{{Type|}}} | }}{{#ifeq:{{{Type|}}} | Audio-Visual | {{{Publication|}}} {{#if:{{{AV_Format|}}}|{{{AV_Format|}}} File {{#if:{{{AV_Run_Time|}}}|({{{AV_Run_Time|}}}) |}} |}} |}}{{#ifeq:{{{Type|}}} | Website | {{#if:{{{Url|}}} | [{{{Url|}}} Web Page]|}} | }}{{#ifeq:{{{Type|}}} | Press Release | {{{Type|}}} | }}{{#if:{{{Publisher|}}} |&nbsp;published by {{#if:{{{Publisher_Url|}}}|[{{{Publisher_Url|}}} {{{Publisher|}}}]|{{{Publisher|}}}|}}|}}{{#if:{{{Published_Date|}}}|&nbsp;on {{#time:F d, Y|{{{Published_Date|}}} }}|}}.</div> |}}
{{#if:{{{Type|}}} | <div class="irlnewstype"><span class="irlnewslabel">Source: </span>{{#ifeq:{{{Type|}}} | Social Media | {{#if:{{{Social_Type|}}}| <span class="irlnewssocial">{{{Social_Type|}}} post {{#if:{{{Social_Name|}}}|from {{#if:{{{Social_Url|}}}|[{{{Social_Url|}}} {{{Social_Name|}}}]|{{{Social_Name|}}} }} |}}</span> |}} |}}{{#ifeq:{{{Type|}}} | Article | {{{Publication|}}} {{#if:{{{Work|}}}|{{{Work|}}}|}} {{{Type|}}} | }}{{#ifeq:{{{Type|}}} | Opinion-Editorial | {{{Publication|}}} {{#if:{{{Work|}}}|{{{Work|}}}|}} {{{Type|}}} | }}{{#ifeq:{{{Type|}}} | Audio-Visual | {{{Publication|}}} {{#if:{{{AV_Format|}}}|{{{AV_Format|}}} File {{#if:{{{AV_Run_Time|}}}|({{{AV_Run_Time|}}}) |}} |}} |}}{{#ifeq:{{{Type|}}} | Website | {{#if:{{{Url|}}} | [{{{Url|}}} Web Page]|}} | }}{{#ifeq:{{{Type|}}} | Press Release | {{{Type|}}} | }}{{#if:{{{Publisher|}}} |&nbsp;published by {{#if:{{{Publisher_Url|}}}|[{{{Publisher_Url|}}} {{{Publisher|}}}]|{{{Publisher|}}}|}}|}}{{#if:{{{Published_Date|}}}|&nbsp;on {{#time:F d, Y|{{{Published_Date|}}} }}|}}.</div> |}}

Revision as of 07:29, March 14, 2021

This is the "News Link" template. It should be called in the following format:

{{News_Link
|Title=
|Url=
|Description=
|Image=
|Region=
|Water_Body=
|Location=
|ShowMap=
|Coordinates=
|People=
|Access_Date=
|Publication=
|Published_Date=
|Publisher=
|Publisher_Url=
|Type=
|SubTitle=
|Author_Last=
|Author_First=
|Work=
|Section=
|AV_Format=
|AV_Run_Time=
|Social_Type=
|Social_Name=
|Social_Url=
|Keywords=
|Topic=
|Page=
|Text_Body=
|Poster=
|Posted=
}}

This template defines the table "News_Link". View table.

Template documentation[view] [edit] [history] [purge]

This News Link Template displays a news article page. Uses News Link Form.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
TitleTitle

no description

Unknownoptional
UrlUrl

no description

Unknownoptional
DescriptionDescription

no description

Unknownoptional
ImageImage

no description

Unknownoptional
RegionRegion

no description

Unknownoptional
Water_BodyWater_Body

no description

Unknownoptional
LocationLocation

no description

Unknownoptional
ShowMapShowMap

no description

Unknownoptional
CoordinatesCoordinates

no description

Unknownoptional
PeoplePeople

no description

Unknownoptional
Access_DateAccess_Date

no description

Unknownoptional
PublicationPublication

no description

Unknownoptional
Published_DatePublished_Date

no description

Unknownoptional
PublisherPublisher

no description

Unknownoptional
Publisher_UrlPublisher_Url

no description

Unknownoptional
TypeType

no description

Unknownoptional
SubTitleSubTitle

no description

Unknownoptional
Author_LastAuthor_Last

no description

Unknownoptional
Author_FirstAuthor_First

no description

Unknownoptional
WorkWork

no description

Unknownoptional
SectionSection

no description

Unknownoptional
AV_FormatAV_Format

no description

Unknownoptional
AV_Run_TimeAV_Run_Time

no description

Unknownoptional
Social_TypeSocial_Type

no description

Unknownoptional
Social_NameSocial_Name

no description

Unknownoptional
Social_UrlSocial_Url

no description

Unknownoptional
KeywordsKeywords

no description

Unknownoptional
TopicTopic

no description

Unknownoptional
PagePage

no description

Unknownoptional
Text_BodyText_Body

no description

Unknownoptional
PosterPoster

no description

Unknownoptional
PostedPosted

no description

Unknownoptional