Knighs of Malort
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Campaigns - Current

  • The Thousand Orcs

  • The Void Between

Campaigns - Inactive

  • Black Kingdom

  • Star Wars Campaign

  • Ogre Battle: Teo Torriatte

Worlds

  • Adref

  • The Void Between

Revision 7 as of 2020-05-21 22:00:39
  • CustomMacros

Custom Macros

This wiki employs custom macros - some library, some homebrew - in order to make displaying stuff on the wiki easier. If there is a common set of data or formatting that appears on the wiki across multiple pages, inform an admin and a macro can be created for it. See this page for details on how to use them. Common Usage: Macros are invoked by "<<name_of_macro(arguments)>>".

Sidebar

Title
face_profile.jpg
Another Title
Second Title
Title One
Bruh Bruh
Swol? Check
Name: sidebar()

Arguments:

  • "Page Name" - The name of the page (example: this page name is CustomMacros)

  • "Title" - Title bar for the sidebar
  • image="image.jpg" - An image to render on the side bar. Must be an attachment to the page, should be 330x350 pixels in size.
  • Subtitle={} - A table of information, in the format of "Key": "Value"; (separated by semicolons) with subtitle being the title of that table

Example: (see right of the screen)

Character Stats

Name: charstats()

Arguments:

  • BR, AG, INT, CUN, WILL, PR - Numbers (values technically) to put in each of those respective stats.

Example:

Characteristics

1
BR
2
AG
3
INT
4
CUN
3
WILL
2
PR

Table of Contents

Name: TableOfContents()

Arguments:

  • Recursion depth - How far down to drill for finding headers.

Example:

Contents

  1. Custom Macros
    1. Sidebar
    2. Character Stats
    3. Table of Contents
    4. Collapsible Section
    5. Genesys Dice
    6. Genesys Spell List
    7. Columns

Collapsible Section

Name: CollapsibleSection()

Arguments:

  • Section Title - Title to display for the collapsible section
  • Page Name - Name of the page to embed into a section
  • 0 or 1 - Boolean value to start expanded (1) or collapsed (0)
  • Header - h1 - h5, header value to size the section title
  • Plus sign - Symbol to use for "expand" symbol (requred!)
  • Minus sign - Symbol to use for "collapse" symbol (required!)

Example:

- Collapsible Section

Just a regular not secret here.

Genesys Dice

Name: gendice()

Arguments:

  • Dice labels - first letter of each color (y-yellow, g-green, r-red, p-purple, w-white, b-black)

Example: Dice:

Genesys Spell List

Name: genspells()

Arguments:

  • Position - 'start' to begin the spell list, 'spell' to list a spell, 'end' to finish the spell list
  • Spell data - String representing spell data
    • Format: "Name, Difficulty, Range, Target, Description"
  • Alt - Use alternative coloring for spell list line, useful for multiple lines

Example:

SPELL LIST
Name Difficulty Range Target On Success
Spell 1 Short Single Does an action to a single target
Spell 2 Medium Single Gives target on skill checks
Spell 3 Engaged Multiple All targets wihin range get

Columns

Name: columns()

Arguments:

  • Number of columns - how many columns to split the section into
  • Position - 'start' to denote the start of columns, 'end' to denote the end, blank if neither

Example:

This is the first column.
This is the second column.
This is the third and final column.

  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01