Template:ProgressBar: Difference between revisions

From Dissidia Wiki
(Created page with "<div style=" width:{{{width|75%}}}; {{#ifeq: {{{center|yes}}} | yes | margin:auto; text-align:center;}}"> {{#ifeq: {{{header|yes}}} | yes | <p> {{{text|}}} </p> }} <p style="border:{{{border|1px solid #c8ccd1}}}; padding:{{{padding|1px}}}; overflow:hidden;"> <span style=" <!-- if percentage is higher than 100%, show all green bar --> width: {{#ifexpr: ({{{1|0}}}/{{{total|100}}})>1 | 100 | {{#expr: {{{1|<noinclude></noinclude>0}}} / {{{total|100}}} * 100}}...")
 
(Added some info on parameters.)
Line 24: Line 24:
</p>
</p>
</div>
</div>
<noinclude>'''Info on parameters''' <br>[https://en.wikipedia.org/wiki/Template:Progress_bar '''Wikipedia link''']
<pre>{{ProgressBar|xx (percentage number)|text='''Example text here'''}}</pre>
For example:
<pre>{{ProgressBar|30|text='''Dissidia progress'''}}</pre>
If you don't want the text above the progress bar:
<pre>{{ProgressBar|30|header=no=|text='''Dissidia progress'''}}</pre>
</noinclude>

Revision as of 20:59, 18 June 2024

   

Info on parameters
Wikipedia link

{{ProgressBar|xx (percentage number)|text='''Example text here'''}}

For example:

{{ProgressBar|30|text='''Dissidia progress'''}}

If you don't want the text above the progress bar:

{{ProgressBar|30|header=no=|text='''Dissidia progress'''}}