Difference between revisions of "Template:News"

From MarketsWiki
Jump to: navigation, search
m
 
(33 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<!-- Parameters
+
<div id="pagefloat">
employer =  Where the person works, or leave blank
+
<div class="content">
job      =  Person's occupation, type of work, NOT their company, or leave blank
+
<div class="headerimage"><imagemap>
employer2 =  Another place the person works, or leave blank
+
  Image:John Lothian News logo1.png
job2      =  Another occupation, type of work, NOT their company, or leave blank
+
  desc none
loc      =  Location in the world, or blank
+
  default [http://johnlothiannews.com]
name    =  Person's name (required)
+
</imagemap></div>
pic      =  Picture, or leave blank.  Syntax:  personpic.jpg
+
<div class="reading"><h2>JLN News Feed</h2><feed url="http://www.johnlothiannews.com/feed/" entries="4"><div class="mw-feed">[{PERMALINK} {TITLE}]</div></feed>
linkedin = Person's LinkedIn PUBLIC LINK, e.g. http://www.linkedin.com/in/johnjlothian, or blank
+
<div class="sponsor-news"><h2>Sponsor News</h2><feed url="http://www.rssmix.com/u/8319903/rss.xml" entries="5"><div class="mw-feed">[{PERMALINK} {TITLE}]</div></feed></div>
stocktwits = Person's StockTwits id, e.g. JohnLothian, or blank
+
twitter  = DON'T include @ symbol - Person's PROFESSIONAL Twitter id, e.g. JohnLothian, or blank
+
twitterpersonal  =  DON'T include @ symbol - Person's PERSONAL Twitter id, e.g. JohnLothian, or blank
+
url      =  Person's web site, or leave blank
+
blog      =  Person's blog site, or leave blank
+
--><div class="infobox_person">
+
{| style="width:100%; font-size:90%; background-color:transparent;" cellpadding=5 cellspacing=1 border=0
+
|-
+
|colspan="2" class="fn org" style="text-align:center; font-size:120%;"|'''{{{name|Person's Name Here}}}'''
+
|-
+
{{#if:{{{pic|}}}|
+
{{!}}colspan="2" align=center style="padding:16px 0 16px 0;"{{!}} [[Image:{{{pic}}}]] |}}
+
|-
+
{{#if:{{{job|}}}|
+
{{!!}}class="label left" {{!}} Occupation
+
{{!}}class="right"{{!}} {{{job}}} |}}
+
|-
+
{{#if:{{{employer|}}}|
+
{{!!}}class="label left"{{!}} Employer
+
{{!}}class="right"{{!}} [[{{{employer}}}]] |}}
+
|-
+
{{#if:{{{job2|}}}|
+
{{!!}}class="label left occupation" {{!}} Occupation
+
{{!}}class="right occupation"{{!}} {{{job2}}} |}}
+
|-
+
{{#if:{{{employer2|}}}|
+
{{!!}}class="label left employer"{{!}} Employer
+
{{!}}class="right employer"{{!}} [[{{{employer2}}}]] |}}
+
|-
+
{{#if:{{{loc|}}}|
+
{{!!}}class="label left"{{!}} Location
+
{{!}}class="right"{{!}} {{{loc}}} |}}
+
|-
+
{{#if:{{{twitter|}}}|
+
{{!!}}class="label left"{{!}} Twitter
+
{{!}}class="right"{{!}} [http://twitter.com/{{{twitter}}} @{{{twitter}}}] |}}
+
|-
+
{{#if:{{{twitterpersonal|}}}|
+
{{!!}}class="label left"{{!}} Personal Twitter
+
{{!}}class="right"{{!}} [http://twitter.com/{{{twitterpersonal}}} @{{{twitterpersonal}}}] |}}
+
|-
+
{{#if:{{{stocktwits|}}}|
+
{{!!}}class="label left"{{!}} StockTwits
+
{{!}}class="right"{{!}} [http://stocktwits.com/{{{stocktwits}}} {{{stocktwits}}}] |}}
+
|-
+
{{#if:{{{linkedin|}}}|
+
{{!!}}class="label left"{{!}} LinkedIn
+
{{!}}class="right"{{!}} [{{{linkedin}}} Profile] |}}
+
|-
+
{{#if:{{{url|}}}|
+
{{!!}}class="label left"{{!}} Website
+
{{!}}class="right"{{!}} {{{url}}} |}}
+
|-
+
{{#if:{{{blog|}}}|
+
{{!!}}class="label left"{{!}} Blog
+
{{!}}class="right"{{!}} {{{blog}}} |}}
+
|}
+
 
</div>
 
</div>
<div class="desktop-news">
+
</div><div class="days">We visit more than 100 websites daily for financial news (Would YOU do that?). Read the John Lothian Newsletter.
<div align="float">
+
<div class="daysfree">[http://newsletter.johnlothiannews.com/sign-up FREE 90 day trial]</div></div>
<div qalign="bottom">
+
<div style="float:right;"></div>
+
{| cellpadding="10" style="text-align:left; width:300px; height:150px; border:6px solid #ABC0F1;font-size:12px;"
+
|+
+
!width="198px"|
+
<div class="reading"><h2>What We're Reading</h2><feed url="http://www.johnlothiannews.com/jlnlinks/" entries="6"><div class="mw-feed">[{PERMALINK} {TITLE}]</div></feed></div><div class="sponsor-news"><h2>Sponsor News</h2><feed url="http://pipes.yahoo.com/pipes/pipe.run?_id=c46fbdb6feb1242bdd047bf3782e418c&_render=rss" entries="6"><div class="mw-feed">[{PERMALINK} {TITLE}]</div></feed></div>
+
|}
+
 
</div>
 
</div>
 
 
 
<!-- Category section -->
 
{{#if:{{{twitter|}}}|[[Category:Professionals on Twitter]]|}}
 
{{#if:{{{linkedin|}}}|[[Category:Professionals on LinkedIn]]|}}
 
{{#if:{{{stocktwits|}}}|[[Category:Professionals on StockTwits]]|}}
 
{{#if:{{{employer|}}}|[[Category:{{{employer}}} - Current Employees]]|}}
 
{{#if:{{{employer|}}}|[[Category:{{{employer}}}]]|}}
 
{{#if:{{{employer2|}}}|[[Category:{{{employer2}}} - Current Employees]]|}}
 
{{#if:{{{employer2|}}}|[[Category:{{{employer2}}}]]|}}
 
[[Category:Biographies]]
 

Latest revision as of 17:26, 15 May 2019