Difference between revisions of "Templates"

From Epic Paths
Jump to navigation Jump to search
Line 115: Line 115:
** [[Template:TagComp]]: Marks an item as making the player Compromised.
** [[Template:TagComp]]: Marks an item as making the player Compromised.
** [[Template:TagMount]]: Item is used while mounted.
** [[Template:TagMount]]: Item is used while mounted.
== Logic ==
** [[Template:IfAnd]]: Requires up to 5 variables to be non-empty.

Revision as of 13:08, 20 November 2021

Forms

Cargo Tables

Equipment

Feats

Monsters

Non-Cargo Data

  • Template:Archetype: Formats the header information for an archetype
    • Template:ArchetypeLevel: Formats the information for a level, primarily the small statistics table and [edit] link leading to the level subpage. ArchetypeLevel expects to be on a subpage ("/1st", "/2nd", etc) compared to the main Archetype.
    • Note that OGL is not part of any of the templates and needs to be added separately to the Archetype page.

Layout

  • Template:BreadCrumbs: Used to create a hierarchy path that floats right. Used on most pages.
  • Template:OGL: Shows the Open Gaming License for the Pathfinder RPG Core Rulebook, as well as any books included in the parameter
  • Template:TOC: Create a right-aligned Table of Contents. Can add extra variables.
  • Template:Heading: Create a heading without an edit-link.
  • Template:EditHeading: Create a heading with an edit-link which links to editing the entire page. Useful for headings inside a template, which would otherwise link to editing the template.
  • Template:Columns: Used to arrange a section of text into columns from 2 to 4.
  • Template:Grid: Used to order content into columns which dynamically reorganizes if the screen becomes too small. Also contains options for borders and background color.
  • Template:Break: Create a wikitext paragraph break (I.E. place where you want text to break to a new paragraph).
  • Template:Hanging: All paragraphs within will have hanging text by 1em.
  • Template:IfNotEmpty: Show a value if not empty, including pre and post-text.
  • Template:UcWords: Capitalizes all words in the input (with some extra seperators beyond space)

Cards

Navigation

Mappers

Lists

Tags

Logic