Difference between revisions of "Template:User"

From cm2.liecourt.com
Line 111: Line 111:
 
<!--
 
<!--
  
-->{{#arraymap:{{#ttList|,}}|,|@@|@@}} }}{{#vardefine:@balance|{{#arraydefine:$tokensavailable|{{#arraymap:{{#ttList|,}}|,|@@|@@}} }}{{#arraysize:$tokensavailable}} }}
+
-->{{#arraymap:{{#ttList:,}}|,|@@|@@}} }}{{#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:12, 22 May 2020


This is the User template. It should be called in the following format:

{{User
|User=
|Roles=
|Name=
|Filed by=
}}