The Wiki for Tale 7 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.
If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.
Difference between revisions of "Template:Progress bar evolved"
(Created page with "<includeonly>{{ #vardefine: lpbCurrent | {{#ifexpr: {{{current|0}}} - {{{max|100}}} > 0 | {{{max|100}}} | {{{current|0}}} }} }}{{ #vardefine: lpbProgression | {{{progre...") |
|||
Line 1: | Line 1: | ||
<includeonly>{{ | <includeonly>{{ | ||
− | + | ||
{{#ifexpr: {{{current|0}}} - {{{max|100}}} > 0 | | {{#ifexpr: {{{current|0}}} - {{{max|100}}} > 0 | | ||
{{{max|100}}} | | {{{max|100}}} | | ||
Line 6: | Line 6: | ||
}} | }} | ||
}}{{ | }}{{ | ||
− | + | ||
{{{progression | | {{{progression | | ||
{{#ifexpr: ({{#var:lpbCurrent}} - {{{min|0}}} >= 0) and ({{{max|100}}} - {{{min|0}}} > 0) | | {{#ifexpr: ({{#var:lpbCurrent}} - {{{min|0}}} >= 0) and ({{{max|100}}} - {{{min|0}}} > 0) | | ||
Line 14: | Line 14: | ||
}}} | }}} | ||
}}{{ | }}{{ | ||
− | + | ||
{{{tooltip-display-mode | | {{{tooltip-display-mode | | ||
{{#if: {{#var:pb-tooltip-display-mode}} | | {{#if: {{#var:pb-tooltip-display-mode}} | | ||
Line 22: | Line 22: | ||
}}} | }}} | ||
}}{{ | }}{{ | ||
− | + | ||
{{#switch: {{#var:lpbTooltipDisplayMode}} | | {{#switch: {{#var:lpbTooltipDisplayMode}} | | ||
percentage = {{formatnum:{{#var:lpbProgression}}}} | | percentage = {{formatnum:{{#var:lpbProgression}}}} | | ||
Line 34: | Line 34: | ||
}}} | }}} | ||
}}{{ | }}{{ | ||
− | + | ||
{{{bar-display-mode | | {{{bar-display-mode | | ||
{{#if: {{#var:pb-bar-display-mode}} | | {{#if: {{#var:pb-bar-display-mode}} | | ||
Line 42: | Line 42: | ||
}}} | }}} | ||
}}{{ | }}{{ | ||
− | + | ||
{{#switch: {{#var:lpbBarDisplayMode}} | | {{#switch: {{#var:lpbBarDisplayMode}} | | ||
percentage = {{formatnum:{{#var:lpbProgression}}}} | | percentage = {{formatnum:{{#var:lpbProgression}}}} | | ||
Line 54: | Line 54: | ||
}}} | }}} | ||
}}{{ | }}{{ | ||
− | + | ||
{{{bar-background | | {{{bar-background | | ||
{{#if: {{#var:pb-bar-background}} | | {{#if: {{#var:pb-bar-background}} | | ||
Line 62: | Line 62: | ||
}}} | }}} | ||
}}{{ | }}{{ | ||
− | + | ||
{{{bar-custom-style | | {{{bar-custom-style | | ||
{{#if: {{#var:pb-bar-custom-style}} | | {{#if: {{#var:pb-bar-custom-style}} | | ||
Line 69: | Line 69: | ||
}}} | }}} | ||
}}{{ | }}{{ | ||
− | + | ||
{{{box-background | | {{{box-background | | ||
{{#if: {{#var:pb-box-background}} | | {{#if: {{#var:pb-box-background}} | | ||
Line 77: | Line 77: | ||
}}} | }}} | ||
}}{{ | }}{{ | ||
− | + | ||
{{{box-border | | {{{box-border | | ||
{{#if: {{#var:pb-box-border}} | | {{#if: {{#var:pb-box-border}} | | ||
Line 85: | Line 85: | ||
}}} | }}} | ||
}}{{ | }}{{ | ||
− | |||
{{{box-margin | | {{{box-margin | | ||
{{#if: {{#var:pb-box-margin}} | | {{#if: {{#var:pb-box-margin}} | | ||
Line 93: | Line 92: | ||
}}} | }}} | ||
}}{{ | }}{{ | ||
− | |||
{{{box-padding | | {{{box-padding | | ||
{{#if: {{#var:pb-box-padding}} | | {{#if: {{#var:pb-box-padding}} | | ||
Line 101: | Line 99: | ||
}}} | }}} | ||
}}{{ | }}{{ | ||
− | |||
{{{box-width | | {{{box-width | | ||
{{#if: {{#var:pb-box-width}} | | {{#if: {{#var:pb-box-width}} | | ||
Line 109: | Line 106: | ||
}}} | }}} | ||
}}{{ | }}{{ | ||
− | |||
{{{box-custom-style | | {{{box-custom-style | | ||
{{#if: {{#var:pb-box-custom-style}} | | {{#if: {{#var:pb-box-custom-style}} | | ||
Line 116: | Line 112: | ||
}}} | }}} | ||
}}{{ | }}{{ | ||
− | |||
{{{text-color | | {{{text-color | | ||
{{#if: {{#var:pb-text-color}} | | {{#if: {{#var:pb-text-color}} | | ||
Line 124: | Line 119: | ||
}}} | }}} | ||
}}{{ | }}{{ | ||
− | |||
{{{text-size | | {{{text-size | | ||
{{#if: {{#var:pb-text-size}} | | {{#if: {{#var:pb-text-size}} | | ||
Line 132: | Line 126: | ||
}}} | }}} | ||
}}{{ | }}{{ | ||
− | |||
{{{text-weight | | {{{text-weight | | ||
{{#if: {{#var:pb-text-weight}} | | {{#if: {{#var:pb-text-weight}} | | ||
Line 141: | Line 134: | ||
}}{{ | }}{{ | ||
#if: {{{title|}}} | <span style="font-size:{{#var:lpbTextSize}};font-weight:{{#var:lpbTextWeight}}">{{{title|}}}</span> | | #if: {{{title|}}} | <span style="font-size:{{#var:lpbTextSize}};font-weight:{{#var:lpbTextWeight}}">{{{title|}}}</span> | | ||
− | }}<div role="progressbar" aria-valuemin="{{{min|0}}}" aria-valuemax="{{{max|100}}}" aria-valuenow="{{{current|{{{progression|0}}}}}}" aria-valuetext="{{#var:lpbBarText}}" title="{{#var:lpbTooltipText}}" style="background:{{#var:lpbBoxBackground}};border:{{#var:lpbBoxBorder}};margin:{{#var:lpbBoxMargin}};padding:{{#var:lpbBoxPadding}};width:{{#var:lpbBoxWidth}};color:{{#var:lpbTextColor}};font-size:{{#var:lpbTextSize}};font-weight:{{#var:lpbTextWeight}};line-height:1.25em;{{#var:lpbBoxCustomStyle}}"><div style="margin:0;padding:0;position:relative;"><div style="margin:0;padding:0;width:{{#var:lpbProgression}};background:{{#var:lpbBarBackground}};height:1.25em;{{#var:lpbBarCustomStyle}}"> </div><div style="margin:0;padding:0;width:100%;position:absolute;top:0;z-index:1;background-color:transparent;text-align:center;">{{#var:lpbBarText}}</div></div></div></includeonly><noinclude>{{Progress bar evolved | + | }}<div role="progressbar" aria-valuemin="{{{min|0}}}" aria-valuemax="{{{max|100}}}" aria-valuenow="{{{current|{{{progression|0}}}}}}" aria-valuetext="{{#var:lpbBarText}}" title="{{#var:lpbTooltipText}}" style="background:{{#var:lpbBoxBackground}};border:{{#var:lpbBoxBorder}};margin:{{#var:lpbBoxMargin}};padding:{{#var:lpbBoxPadding}};width:{{#var:lpbBoxWidth}};color:{{#var:lpbTextColor}};font-size:{{#var:lpbTextSize}};font-weight:{{#var:lpbTextWeight}};line-height:1.25em;{{#var:lpbBoxCustomStyle}}"><div style="margin:0;padding:0;position:relative;"><div style="margin:0;padding:0;width:{{#var:lpbProgression}};background:{{#var:lpbBarBackground}};height:1.25em;{{#var:lpbBarCustomStyle}}"> </div><div style="margin:0;padding:0;width:100%;position:absolute;top:0;z-index:1;background-color:transparent;text-align:center;">{{#var:lpbBarText}}</div></div></div></includeonly><noinclude>{{Progress bar evolved}} |
− | [[Category: | + | [[Category:Template]] |
</noinclude> | </noinclude> |
Revision as of 06:22, 2 April 2016
Expression error: Unrecognized punctuation character "{".
}}{{
{{#var:pb-tooltip-display-mode}}
}}{{
{{#var:pb-tooltip-text}}
}}{{
{{#var:pb-bar-display-mode}}
}}{{
{{#var:pb-bar-text}}
}}{{
{{#var:pb-bar-background}}
}}{{
{{#var:pb-bar-custom-style}}
}}{{
{{#var:pb-box-background}}
}}{{
{{#var:pb-box-border}}
}}{{
{{#var:pb-box-margin}}
}}{{
{{#var:pb-box-padding}}
}}{{
{{#var:pb-box-width}}
}}{{
{{#var:pb-box-custom-style}}
}}{{
{{#var:pb-text-color}}
}}{{
{{#var:pb-text-size}}
}}{{
{{#var:pb-text-weight}}
}}