Difference between revisions of "Templates"

From Epic Paths
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 103: Line 103:
* [[Template:link_mi]]: Links to a subpage of "Magic Items".
* [[Template:link_mi]]: Links to a subpage of "Magic Items".
* [[Template:link_mm]]: Links to headings of "Morale Maneuvers".
* [[Template:link_mm]]: Links to headings of "Morale Maneuvers".
*[[Template:range]]: Creates a tip-text for a specific range, including a link to the range.


* [[Template:TipText_Immunity]]: Creates a tip-text for a specific immunity, including a link to the immunity.
* [[Template:TipText_Immunity]]: Creates a tip-text for a specific immunity, including a link to the immunity.
Line 141: Line 142:
** [[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.
* Range
** [[Template:TagSelf]]: Marks an ability as having a range of "self"
** [[Template:TagTouch]]: Marks an ability as having a range of "touch"


== Logic ==
== Logic ==

Latest revision as of 18:57, 14 May 2022

Forms

Cargo Tables

Equipment

Feats

Magic Items

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:KS: Keeping spacing returns given parameter.
  • Template:UcWords: Capitalizes all words in the input (with some extra seperators beyond space)

InfoBox

Cards

Navigation

Mappers

Lists

Values

Tags

Logic