Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:StatsBar: Difference between revisions

Template page
mNo edit summary
No edit summary
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Documentation}}
<div class="statsbar">{{#if: {{{label1|}}} | <div class="stat"><strong>{{{label1}}}:</strong> {{{data1}}}</div> }}{{#if: {{{label2|}}} | <div class="stat"><strong>{{{label2}}}:</strong> {{{data2}}}</div> }}{{#if: {{{label3|}}} | <div class="stat"><strong>{{{label3}}}:</strong> {{{data3}}}</div> }}{{#if: {{{label4|}}} | <div class="stat"><strong>{{{label4}}}:</strong> {{{data4}}}</div> }}{{#if: {{{label5|}}} | <div class="stat"><strong>{{{label5}}}:</strong> {{{data5}}}</div> }}[[Chrome_Engine_Modding_Wiki:Editing|<div class="start-editing" onclick="window.location.href='{{fullUrl:Chrome_Engine_Modding_Wiki:Editing}}'">Start Editing</div>]]
 
</div>
{{t|Statsbar}} displays a list of stats in a horizontal scrollable bar.
 
== Usage ==
Please remove the parameters that are left blank.
 
<syntaxhighlight lang="wiki">
{{Statsbar
|label1 =
|data1 =
 
|label2 =
|data2 =
 
|label3 =  
|data3 =
}}
</syntaxhighlight>
 
== Parameter list ==
;<code>label<sub>n</sub></code>
:Label text for the stat
 
;<code>data<sub>n</sub></code>
:Data/value for the stat
 
;<code>desc<sub>n</sub></code>
:Description text for the stat
 
;<code>id</code>
:ID used for HTML, mostly used in template

Latest revision as of 02:58, 16 February 2025

Cookies help us deliver our services. By using our services, you agree to our use of cookies.