Templates as macros
MediaWiki, the software platform that powers the Bisq Wiki, includes a built-in feature that allows the content of a template page to be displayed inline on any other page using a markup command. This can be very useful, for example, when mentioning a maximum trade amount that might change over time on multiple pages. You won't have to worry about those pages becoming outdated if the amount changes.
To create a template page, you can do so like any other wiki page, but you need to add the prefix "Template:" at the beginning. It's recommended that template pages used as macros have a more simplified name for ease of recall. The newly created template page should only contain the content that will be displayed inline when referenced.
To display the content of a template page inline, use the following command: "{{name_of_template}}". For instance, to display the content of the template page "Template:MaxTradeSizeUnsigned", you would use "{{MaxTradeSizeUnsigned}}".
List of current Templates being used as macros, for reference and quick access:
Page | Description | Current value |
---|---|---|
Template:MinTradeSizeToBeSigned | Displays the min trade amount for an account to be signed | .0005 |
Template:MaxTradeSizeUnsigned | Displays the max trade amount for an unsigned buyer. | .002 BTC |
Template:MaxTradeSizeBisq1 | Displays the max trade size for Bisq 1 trade (keeping separate for more flexibility with Bisq 2 protocols) | 0.0624 BTC |
Template:MaxTradeSizeAltcoin | Displays the max trade size for altcoin trades in Bisq 1 | 0.50 BTC |
Template:MaxBisqEasyTrade | Displays the max trade amount for a Bisq Easy trade | the equivalent of 600 USD |