Difference between revisions of "Template:MarketScreener"

From WikiCorporates
Jump to navigation Jump to search
(Created page with "<div style="line-height:1.2em;"><small><b>Source: </b>123x12px|link={{{1}}}, {{{2}}} </small></div><noinclude>{{doc2}}</noinclude>")
 
Line 1: Line 1:
−
<div style="line-height:1.2em;"><small><b>Source: </b>[[File:MarketScreener.svg|123x12px|link={{{1}}}]], {{{2}}}
+
<div style="line-height:1.2em;"><small><b>Source: </b>[[File:MarketScreener.svg|123x12px|link={{{1}}}]], {{#if:{{{3|}}}|{{{3}}},|}} {{{2}}}</small></div><noinclude>{{doc2}}</noinclude>
−
</small></div><noinclude>{{doc2}}</noinclude>
 

Revision as of 17:33, 12 October 2019

Source: link={{{1}}}, {{{2}}}

[edit] Documentation


Small template to generate the following, for Company Shareholders.
Purpose: to be able to track publicly-listed companies, to keep shareholdings updated.

See if the Extension:DynamicPageList3 will select out-of-date pages.

Usage

{{MarketScreener|
| url  = the MarketScreener url
| date = the date the shareholdings were last updated
| link = optional extra link.

Example with 2 params

  • {{MarketScreener|https://www.marketscreener.com/YUM-BRANDS-46353249/company/|Oct.2019}}
gives:
Source: MarketScreener.svg, Oct.2019

Example with 3 params

  • {{MarketScreener|https://www.marketscreener.com/YUM-BRANDS-46353249/company/|Oct.2019|[https://www.nasdaq.com/market-activity/stocks/amzn Nasdaq], Jan.2019}}
gives:
Source: MarketScreener.svg, Nasdaq, Jan.2019, Oct.2019