Difference between revisions of "Template:Finance Chart"
Jump to navigation
Jump to search
imported>Zeldafan3242 |
imported>ShakespeareFan00 (Mismatched bold formatting repaired) |
||
| Line 1: | Line 1: | ||
{| class="wikitable" width="100%" | {| class="wikitable" width="100%" | ||
|- | |- | ||
| − | ! 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|}}}|{{ifequal|{{{stockinteg}}}|{{Decrease}}}} |-{{{stockchange}}}|+{{{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> | ||
Latest revision as of 18:24, 15 July 2018
| Wikipedia Finance Chart . | ||||
|---|---|---|---|---|
-{{{stockchange}}} |
Contents
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. | ||||
|---|---|---|---|---|
You can also do stocks downward:
{{Finance Chart
|stock=Gold
|stockinteg={{Decrease}}
|stockchange=3.74
|stockpercent=0.15
}}
| Wikipedia Finance Chart : Gold's Report. | ||||
|---|---|---|---|---|
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. | ||||
|---|---|---|---|---|
125.39 |
OtherGraph
This is a link to a page with a finance chart.
See also
| The above documentation is transcluded from Template:Finance Chart/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |