Difference between revisions of "Template:Finance Chart"

From blackwiki
Jump to navigation Jump to search
imported>Zeldafan3242
imported>Zeldafan3242
Line 3: Line 3:
 
! colspan=5| '''Wikipedia Finance Chart{{#if:{{{stock|}}}|''': {{{stock}}}'s Report'''}}.
 
! colspan=5| '''Wikipedia Finance Chart{{#if:{{{stock|}}}|''': {{{stock}}}'s Report'''}}.
 
|-
 
|-
! colspan=5 rowspan=5| {{#if:{{{graph|}}}|{{{graph}}}}}<br> {{#if:{{{graph|}}}|{{#if:{{{graphinfo|}}}|{{{graphinfo}}}}}}}<br> {{#if:{{{stockinteg|}}}|{{{stockinteg}}}}} {{#if:{{{stockchange|}}}|{{#if: {{ifequal|{{{stockinteg|}}}|{{Decrease}}}} |-|+}}{{{stockchange}}}}} {{#if:{{{stockpercent|}}}|({{{stockpercent}}}%)}}<br> {{#if:{{{stockvalue|}}}|<big> {{{stockvalue}}} </big>}}<br> {{#if:{{{othergraphs|}}}|{{{othergraphs}}}}}
+
! colspan=5 rowspan=5| {{#if:{{{graph|}}}|{{{graph}}}}}<br> {{#if:{{{graph|}}}|{{#if:{{{graphinfo|}}}|{{{graphinfo}}}}}}}<br> {{#if:{{{stockinteg|}}}|{{{stockinteg}}}}} {{#if:{{{stockchange|}}}|{{ifequal|{{{stockinteg}}}|{{Decrease}}}} |-{{{stockchange}}}|+{{{stockchange}}}}} {{#if:{{{stockpercent|}}}|({{{stockpercent}}}%)}}<br> {{#if:{{{stockvalue|}}}|<big> {{{stockvalue}}} </big>}}<br> {{#if:{{{othergraphs|}}}|{{{othergraphs}}}}}
 
|}
 
|}
 
<noinclude>{{Documentation}}</noinclude>
 
<noinclude>{{Documentation}}</noinclude>

Revision as of 16:22, 6 August 2011

Wikipedia Finance Chart.


-{{{stockchange}}}

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

Usage

{{Finance Chart
|stock=
|graph=
|graphinfo=
|stockinteg=
|stockchange=
|stockpercent=
|othergraph=
}}
Wikipedia Finance Chart.


-

Parameters

stock
graph
graphinfo
stockinteg
stockchange
stockpercent
stockvalue
othergraph

Stock

This is the name of the stock the it will display. Example:

{{Finance Chart
|stock=Goodies
}}
Wikipedia Finance Chart: Goodies's Report.


-{{{stockchange}}}

Graph

This the graph that will be displayed. You can use a Template:Finance Chart graph or a picture.

GraphInfo

This is the information about the graph. (Like news and such.) It is only necessary to do this if there is a graph.

StockInteg, StockChange, and StockPercent

This is the stock's info parameters. Example:

{{Finance Chart
|stock=Gold
|stockinteg={{Increase}}
|stockchange=3.74
|stockpercent=0.15
}}
Wikipedia Finance Chart: Gold's Report.


Increase (0.15%)

You can also do stocks downward:

{{Finance Chart
|stock=Gold
|stockinteg={{Decrease}}
|stockchange=3.74
|stockpercent=0.15
}}
Wikipedia Finance Chart: Gold's Report.


Decrease 1-2 (0.15%)

StockValue

This is the stocks current value!

Example:

{{Finance Chart
|stock=Wikipedia
|stockinteg={{Increase}}
|stockchange=7.24
|stockpercent=2.20
|stockvalue=125.39
}}
Wikipedia Finance Chart: Wikipedia's Report.


Increase (2.20%)
125.39

OtherGraph

This is a link to a page with a finance chart.

See also