Template:OR/doc

Revision as of 01:06, 27 March 2025 by MLD>Lorenerd11 (Usage)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is the documentation page for Template:OR.
When it is viewed directly, links using variables may appear broken; do not replace these with hardcoded page names or URLs.

A template for creating OR condition blocks.

Parameters

Parameter Description Required Default
1 Contents of the condition block required
rowspan Height of the condition block in rows. optional 2
operator Logical operator, replaces OR. optional OR

Usage

{{OR|
* Condition 1
* Condition 2
}}

results in:

OR
{
  • Condition 1
  • Condition 2
{{OR|rowspan=3|
* Condition 1
* Condition 2
* Condition 3
}}

results in:

OR
{
  • Condition 1
  • Condition 2
  • Condition 3

Note that this template cannot be used with wikilists such as * or # as this breaks the format, * {{OR|}}:

OR
{
  • Condition 1
  • Condition 2

If used in a plainlist, this can be set alongside a wikilist; if a list marker must be used, wrap the template in <ul><li>{{OR|}}</li></ul>

  • OR
    {
    • Condition 1
    • Condition 2