Benutzer:Mediator/hashtables: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
K |
K |
||
| Zeile 1: | Zeile 1: | ||
| + | {{#vardefine:liste1|hashID1}} | ||
* http://www.mediawiki.org/wiki/Extension:HashTables --<span>[[Datei:Silk_user_linux_online.png|link=Benutzer_Diskussion:Mediator|Mediator]]</span> 03:32, 28. Mai 2013 (CEST) | * http://www.mediawiki.org/wiki/Extension:HashTables --<span>[[Datei:Silk_user_linux_online.png|link=Benutzer_Diskussion:Mediator|Mediator]]</span> 03:32, 28. Mai 2013 (CEST) | ||
<!-- ---- | <!-- ---- | ||
| Zeile 8: | Zeile 9: | ||
{{#hashdefine:hashID |Player01=GameID01;Player02=GameID02;Player03=GameID30 |;|=}} | {{#hashdefine:hashID |Player01=GameID01;Player02=GameID02;Player03=GameID30 |;|=}} | ||
---- | ---- | ||
| − | ;hashsize | + | ;hashsize {{#var:liste1}} |
| − | * {{#hashsize: | + | * {{#hashsize: {{#var:liste1}}}} |
---- | ---- | ||
;hashprint hashID | ;hashprint hashID | ||
<div class="framed"> | <div class="framed"> | ||
| − | {{#hashprint: | + | {{#hashprint: {{#var:liste1}} | |
<br/> | | <br/> | | ||
%%%% | | %%%% | | ||
| Zeile 25: | Zeile 26: | ||
---- | ---- | ||
;hashkeyexists hashID | ;hashkeyexists hashID | ||
| − | * {{#hashkeyexists: | + | * {{#hashkeyexists: {{#var:liste1}}|Player03|yes |no}} |
| − | * {{#hashkeyexists: | + | * {{#hashkeyexists: {{#var:liste1}}|Player04|yes |no}} |
---- | ---- | ||
;hashinclude hashID | ;hashinclude hashID | ||
| − | {{#hashinclude: | + | {{#hashinclude: {{#var:liste1}}|Player04=GameID04}} |
| − | * {{#hashkeyexists: | + | * {{#hashkeyexists: {{#var:liste1}}|Player04|yes |no}} |
| − | * {{#hashsize: | + | * {{#hashsize: {{#var:liste1}}}} |
---- | ---- | ||
---- | ---- | ||
| Zeile 46: | Zeile 47: | ||
---- | ---- | ||
;hashintersect hashIDintersection | ;hashintersect hashIDintersection | ||
| − | {{#hashintersect:hashIDintersection | | + | {{#hashintersect:hashIDintersection | {{#var:liste1}} |hashID2}} |
* {{#hashsize:hashIDintersection}} | * {{#hashsize:hashIDintersection}} | ||
Version vom 28. Mai 2013, 04:52 Uhr
{{#vardefine:liste1|hashID1}}
- http://www.mediawiki.org/wiki/Extension:HashTables --
03:32, 28. Mai 2013 (CEST)
- hashdefine hashID
{{#hashdefine:hashID |Player01=GameID01;Player02=GameID02;Player03=GameID30 |;|=}}
- hashsize {{#var
- liste1}}
- {{#hashsize: {{#var:liste1}}}}
- hashprint hashID
{{#hashprint: {{#var:liste1}} |
| %%%% | @@@@ | %%%%: @@@@}}
- show a single hashvalue hashID
- {{#hashvalue:hashID |Player03|- undefined -}}
- {{#hashvalue:hashID |Player04|- undefined -}}
- hashkeyexists hashID
- {{#hashkeyexists: {{#var:liste1}}|Player03|yes |no}}
- {{#hashkeyexists: {{#var:liste1}}|Player04|yes |no}}
- hashinclude hashID
{{#hashinclude: {{#var:liste1}}|Player04=GameID04}}
- {{#hashkeyexists: {{#var:liste1}}|Player04|yes |no}}
- {{#hashsize: {{#var:liste1}}}}
- hashmerge hashIDall
{{#hashdefine:hashID2|Player11=GameID11;Player12=GameID12;Player13=GameID130;Player03=GameID33 |;|=}}{{#hashmerge:hashIDall |hashID|hashID2}}
- {{#hashsize:hashIDall}}
{{#hashprint:hashIDall |
| %%%% | @@@@ | %%%%: @@@@}}
- hashintersect hashIDintersection
{{#hashintersect:hashIDintersection | {{#var:liste1}} |hashID2}}
- {{#hashsize:hashIDintersection}}