« Thousands separator » : différence entre les versions

De Semantic MediaWiki - Sandbox

Aucun résumé des modifications
Aucun résumé des modifications
Ligne 12 : Ligne 12 :
* Without separator <code><nowiki>{{#show:{{PAGENAME}}|?Value1#}}</nowiki></code> :  
* Without separator <code><nowiki>{{#show:{{PAGENAME}}|?Value1#}}</nowiki></code> :  
| '''{{#show:{{PAGENAME}}|?Value1#}}'''
| '''{{#show:{{PAGENAME}}|?Value1#}}'''
|-
|
* <code><nowiki>{{#number_format:{{#show:{{PAGENAME}}|?Value1}}|2|,|.|.}}</nowiki></code> :
| '''{{#number_format:{{#show:{{PAGENAME}}|?Value1}}|2|,|.|.}}'''
|-
|
* <code><nowiki>{{#number_format:{{#show:{{PAGENAME}}|?Value1}}|2|,||.}}</nowiki></code> :
| '''{{#number_format:{{#show:{{PAGENAME}}|?Value1}}|2|,||.}}'''
|-
|-
|  
|  
Ligne 28 : Ligne 20 :
* Without separator <code><nowiki>{{#show:{{PAGENAME}}|?Value2#}}</nowiki></code> :  
* Without separator <code><nowiki>{{#show:{{PAGENAME}}|?Value2#}}</nowiki></code> :  
| '''{{#show:{{PAGENAME}}|?Value2#}}'''
| '''{{#show:{{PAGENAME}}|?Value2#}}'''
|-
|
* <code><nowiki>{{#number_format:{{#show:{{PAGENAME}}|?Value2}}|2|,|.|.}}</nowiki></code> :
| '''{{#number_format:{{#show:{{PAGENAME}}|?Value2}}|2|,|.|.}}'''
|-
|
* <code><nowiki>{{#number_format:{{#show:{{PAGENAME}}|?Value2}}|2|,||.}}</nowiki></code> :
| '''{{#number_format:{{#show:{{PAGENAME}}|?Value2}}|2|,||.}}'''
|}
|}



Version du 5 avril 2017 à 07:31

Properties

#Show

  • With separator {{#show:{{PAGENAME}}|?Value1}} :
€ 1 000,55¥ 114 062,7 <br />
  • Without separator {{#show:{{PAGENAME}}|?Value1#}} :
€ 1000,55
  • With separator {{#show:{{PAGENAME}}|?Value2}} :
€ 21 000,4¥ 2 394 045,6 <br />
  • Without separator {{#show:{{PAGENAME}}|?Value2#}} :
€ 21000,4

#Ask

  • With separator {{#ask:[[{{PAGENAME}}]]|?Value1|?Value2|mainlabel=-}} :
Value1Value2
€ 1 000,55¥ 114 062,7 <br />€ 21 000,4¥ 2 394 045,6 <br />
  • Without separator {{#ask:[[{{PAGENAME}}]]|?Value1#|?Value2#|mainlabel=-}} :
Value1Value2
€ 1000,55€ 21000,4

#Ask format=min

  • With separator {{#ask:[[{{PAGENAME}}]]|?Value1|?Value2|format=min}} :
1 000,55
  • Without separator {{#ask:[[{{PAGENAME}}]]|?Value1#|?Value2#|format=min}} :
1000.55
  • {{#number_format:{{#ask:[[{{PAGENAME}}]]|?Value1|?Value2|format=min}}|2|,||.}} :
100055,00

#Ask format=max

  • With separator {{#ask:[[{{PAGENAME}}]]|?Value1|?Value2|format=max}} :
21 000,4
  • Without separator {{#ask:[[{{PAGENAME}}]]|?Value1#|?Value2#|format=max}} :
21000.4
  • {{#number_format:{{#ask:[[{{PAGENAME}}]]|?Value1|?Value2|format=max}}|2|,||.}} :
210004,00

#Ask format=sum

  • With separator {{#ask:[[{{PAGENAME}}]]|?Value1|?Value2|format=sum}} :
22 000,95
  • Without separator {{#ask:[[{{PAGENAME}}]]|?Value1#|?Value2#|format=sum}} :
22000.95
  • {{#number_format:{{#ask:[[{{PAGENAME}}]]|?Value1|?Value2|format=sum}}|2|,||.}} :
2200095,00
Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.