Template:Random

From MTG Wiki
Jump to navigation Jump to search

This template randomly selects one option from the given list each time the page loads.

Due to caching of page data, the random selection may not change on every refresh.

Syntax

{{Random|Option1|Option2|Option3|...}}

Example

{{Random|Apples|Bananas|Cherries|Grapes}}

This randomly displays either "Apples", "Bananas", "Cherries", or "Grapes" on each page load. For instance, this time it chose:

Cherries

Notes

  • You can add as many options as you want.
  • Each option is equally likely to be chosen.
  • Works on any page, including templates.
  • Previewing a page multiple times will bypass normal caching behavior and choose randomly each time.

Related

This template is used to provide random quotations for many article message boxes.