Jump to content

Template:OR

From Mango's Lewd Diplomacy: Official Wiki
Revision as of 22:35, 26 March 2025 by MLD>CaesarVincens (Change to use Module:String "rep" function for dynamic sizing)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This template uses the following modules:
Module:String
[view] [edit] Template documentation

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
Cookies help us deliver our services. By using our services, you agree to our use of cookies.