Toggle menu
15
236
70
27.6K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Percentage bar: Difference between revisions

Template page
Created page with "<templatestyles src="Percentage bar/styles.css"/><div class="percentage-bar" style="{{#if:{{{border-width|}}}{{{border-color|}}}|border: {{{border-width|1px}}} solid {{{border-color|#aaa}}};}} {{#if:{{{background-color|}}}|background-color: {{{background-color}}};}} {{#if:{{{width|}}}|width: {{digits|{{{width|100}}}}}{{#if:{{str endswith|{{{width}}}|%}}|%|px}};}}"><div class="percentage-bar-fill" style="{{#if:{{{c|{{{hex|{{{3|}}}}}}}}}|background-color:{{{c|#{{{hex|{{{3}..."
 
No edit summary
 
Line 1: Line 1:
<templatestyles src="Percentage bar/styles.css"/><div class="percentage-bar" style="{{#if:{{{border-width|}}}{{{border-color|}}}|border: {{{border-width|1px}}} solid {{{border-color|#aaa}}};}} {{#if:{{{background-color|}}}|background-color: {{{background-color}}};}} {{#if:{{{width|}}}|width: {{digits|{{{width|100}}}}}{{#if:{{str endswith|{{{width}}}|%}}|%|px}};}}"><div class="percentage-bar-fill" style="{{#if:{{{c|{{{hex|{{{3|}}}}}}}}}|background-color:{{{c|#{{{hex|{{{3}}}}}}}}};}} {{#if:{{{1|}}}|width: {{#expr:floor({{#invoke:String|replace|source={{{1}}}|pattern=[a-zA-Z]+|plain=false}})}}%;}}"></div><div class="percentage-bar-text" style="{{#if:{{{weight|}}}|font-weight: {{{weight}}};}} {{#if:{{{align|}}}|text-align: {{{align}}};}} {{#if:{{{color|}}}|color: {{{color}}};}}">{{{2|{{formatnum:{{{1|50}}}}}%}}}</div></div><noinclude>
<templatestyles src="Template:Percentage bar/styles.css"/><div class="percentage-bar" style="{{#if:{{{border-width|}}}{{{border-color|}}}|border: {{{border-width|1px}}} solid {{{border-color|#aaa}}};}} {{#if:{{{background-color|}}}|background-color: {{{background-color}}};}} {{#if:{{{width|}}}|width: {{digits|{{{width|100}}}}}{{#if:{{str endswith|{{{width}}}|%}}|%|px}};}}"><div class="percentage-bar-fill" style="{{#if:{{{c|{{{hex|{{{3|}}}}}}}}}|background-color:{{{c|#{{{hex|{{{3}}}}}}}}};}} {{#if:{{{1|}}}|width: {{#expr:floor({{#invoke:String|replace|source={{{1}}}|pattern=[a-zA-Z]+|plain=false}})}}%;}}"></div><div class="percentage-bar-text" style="{{#if:{{{weight|}}}|font-weight: {{{weight}}};}} {{#if:{{{align|}}}|text-align: {{{align}}};}} {{#if:{{{color|}}}|color: {{{color}}};}}">{{{2|{{formatnum:{{{1|50}}}}}%}}}</div></div><noinclude>
{{Documentation}}
{{Documentation}}
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES TO THE /doc SUBPAGE, THANKS -->
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES TO THE /doc SUBPAGE, THANKS -->
</noinclude>
</noinclude>

Latest revision as of 00:08, 16 March 2025

50%
Contents