Difference between revisions of "Template:Order"
From cm2.liecourt.com
(Fill database) |
(Fill database) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
</pre> | </pre> | ||
− | </noinclude><includeonly>__NOTOC__ __NOTITLE__{{#if:{{{Errors|}}}|<div class="m-5 alert alert-danger">{{{Errors|}}}</div>}} | + | </noinclude><includeonly>__NOTOC__ __NOTITLE__{{#ifeq:{{{Version|}}}|Free|{{#if:{{{User|}}}|{{#set:Class=Order|User={{{User|}}}|Transaction=Free token|Tokens=1 }} }}|{{#if:{{{Errors|}}}|<div class="m-5 alert alert-danger">{{{Errors|}}}</div>}} |
{{#if:{{{User|}}}|{{#set:Class=Order|User={{{User|}}}|Transaction={{{Transactions|}}}|Tokens={{{Tokens|}}}|Paytrace validated customer id={{{Paytrace validated customer id|}}} }} }} | {{#if:{{{User|}}}|{{#set:Class=Order|User={{{User|}}}|Transaction={{{Transactions|}}}|Tokens={{{Tokens|}}}|Paytrace validated customer id={{{Paytrace validated customer id|}}} }} }} | ||
{{#if:{{{Transactions|}}}|<div class="m-5 alert alert-primary">Payment was successful {{#widget:link|type=a|href={{fullurl:{{{User|}}} }}|text=Back to profile page|class=btn btn-green}}</div>| | {{#if:{{{Transactions|}}}|<div class="m-5 alert alert-primary">Payment was successful {{#widget:link|type=a|href={{fullurl:{{{User|}}} }}|text=Back to profile page|class=btn btn-green}}</div>| | ||
Line 18: | Line 18: | ||
|Type=Initial | |Type=Initial | ||
|Invoice id= | |Invoice id= | ||
− | |Description={{{Tokens|}}} TruthTokens | + | |Description={{#ifeq:{{{Tokens|}}}|1|{{{Tokens|}}} TruthToken|{{{Tokens|}}} TruthTokens}} |
|Billing name={{{Name|}}} | |Billing name={{{Name|}}} | ||
|Billing email={{{Email|}}} | |Billing email={{{Email|}}} | ||
Line 32: | Line 32: | ||
|Paytrace validated customer id={{{Paytrace validated customer id|}}} | |Paytrace validated customer id={{{Paytrace validated customer id|}}} | ||
}} | }} | ||
− | }}</includeonly> | + | }} }}</includeonly> |
Latest revision as of 13:29, 7 December 2020
This is the Order template. It should be called in the following format:
{{Order }}