Difference between revisions of "Template:User"
From cm2.liecourt.com
(Fill database) |
|||
Line 110: | Line 110: | ||
<h2>TruthTokens</h2><div id="balance"> | <h2>TruthTokens</h2><div id="balance"> | ||
<!-- | <!-- | ||
− | + | ||
− | -->{{#vardefine:@ | + | -->{{#vardefine:@balance|{{#arraydefine:$tokensavailable|{{#arraymap:{{#ttList|,}}|,|@@|@@}} }}{{#arraysize:$tokensavailable}} }} |
− | |||
− | |||
− | |||
<span class="truth-token">{{fa|gavel}}</span>× <span class="nr">{{#var:@balance}}</span> {{#tag:wsfield|Buy more|type=button|onclick=buyMore()|class=btn ml-4 btn-green|id=buy-more-button}}</div> | <span class="truth-token">{{fa|gavel}}</span>× <span class="nr">{{#var:@balance}}</span> {{#tag:wsfield|Buy more|type=button|onclick=buyMore()|class=btn ml-4 btn-green|id=buy-more-button}}</div> | ||
{{#tag:wsfield|Send to a friend|type=button|onclick=sendTokens()|class=btn |id=send-tokens}} | {{#tag:wsfield|Send to a friend|type=button|onclick=sendTokens()|class=btn |id=send-tokens}} |
Revision as of 09:11, 22 May 2020
This is the User template. It should be called in the following format:
{{User |User= |Roles= |Name= |Filed by= }}