Difference between revisions of "Template:ResResource"
From A Wiki in the Desert
Line 11: | Line 11: | ||
| style = 'font-size: 70%; line-height: 1.2; text-align: right' | <strong>{{#expr: trunc (100 * {{{2|7777}}} / {{{3|10000}}}) }}%</strong> | | style = 'font-size: 70%; line-height: 1.2; text-align: right' | <strong>{{#expr: trunc (100 * {{{2|7777}}} / {{{3|10000}}}) }}%</strong> | ||
| colspan = '4' style = 'padding: 0.2em 0.25em' |<div style='width: 98%; min-width: 12em; border: 1px solid #888; background: #ddd'><div style='font-size: 70%; line-height: 1.2; height: 1.2em; width: {{#expr: trunc (100 * {{{2|7777}}} / {{{3|10000}}}) }}%; max-width: 100%; background: {{#switch: 1 | {{#expr: {{{2|7777}}} = {{{3|10000}}} }} = #9f5 | {{#expr: {{{2|7777}}} < {{{3|10000}}} }} = | | colspan = '4' style = 'padding: 0.2em 0.25em' |<div style='width: 98%; min-width: 12em; border: 1px solid #888; background: #ddd'><div style='font-size: 70%; line-height: 1.2; height: 1.2em; width: {{#expr: trunc (100 * {{{2|7777}}} / {{{3|10000}}}) }}%; max-width: 100%; background: {{#switch: 1 | {{#expr: {{{2|7777}}} = {{{3|10000}}} }} = #9f5 | {{#expr: {{{2|7777}}} < {{{3|10000}}} }} = | ||
− | #fb9 | {{#expr: {{{2|7777}}} > {{{3|10000}}} }} = #9ff }}'></div></div> | + | #fb9 | {{#expr: {{{2|7777}}} > {{{3|10000}}} }} = #9ff }}'></div></div>{{#subobject: |
− | |||
|count={{#expr:{{trim|{{{3}}}}} - {{trim|{{{2}}}}}}} | |count={{#expr:{{trim|{{{3}}}}} - {{trim|{{{2}}}}}}} | ||
|requires={{trim|{{{1}}}}} | |requires={{trim|{{{1}}}}} | ||
− | }}</noinclude><noinclude> | + | }}<noinclude> |
+ | |}</noinclude><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
[[Category:Content templates]] | [[Category:Content templates]] | ||
</noinclude> | </noinclude> |
Revision as of 14:35, 29 May 2021
None | 7777
|
/ | 10000
|
(2223)
| |
77% | <ul><li>Property "Count" (as page type) with input value "Expression error: Unrecognized punctuation character "{"." contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.</li> <!--br--><li>Property "Requires" (as page type) with input value "{{{1}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.</li></ul>
|
Template documentation (for the above template, sometimes hidden or invisible)
Legacy Template |
Visit Template:ResResource/doc to edit this text! (How does this work?)