Actions

Difference between revisions of "Templates"

From P6 Spheres

(Layout)
(Layout)
 
(One intermediate revision by the same user not shown)
Line 28: Line 28:
 
==== Feats ====
 
==== Feats ====
 
* [[Template:FeatsTable SubCategory]]: Displays a featlist-table filtered by subcategory.
 
* [[Template:FeatsTable SubCategory]]: Displays a featlist-table filtered by subcategory.
 +
* [[Template:FeatsTable Keyword]]: Displays a featlist-table filtered by keyword.
  
 
== Non-Form Items ==
 
== Non-Form Items ==
Line 57: Line 58:
 
* [[Template:Flex]]: Used by Template:BaseItemList_ItemCard to create a nice card graphic, which also floats the cards into x columns.
 
* [[Template:Flex]]: Used by Template:BaseItemList_ItemCard to create a nice card graphic, which also floats the cards into x columns.
 
* [[Template:FlexContainer]]: Template:Flex instances do not work unless contained in a FlexContainer.
 
* [[Template:FlexContainer]]: Template:Flex instances do not work unless contained in a FlexContainer.
 +
 +
* [[Template:Card]]: Creates a card with adjustable title, size and background color.
 +
* [[Template:ChoiceCard]]: Creates a card styled to be used for player choices.
 +
* [[Template:AbilityCard]]: Creates a card styled to be used for Class Abilities.
 +
* [[Template:ModifierCard]]: Creates a card styled to be used for Modifiers to Class Abilities.
  
 
* [[Template:Break]]: Create a wikitext paragraph break (I.E. place where you want text to break to a new paragraph).
 
* [[Template:Break]]: Create a wikitext paragraph break (I.E. place where you want text to break to a new paragraph).

Latest revision as of 12:36, 9 May 2021

Forms

FormItems

Equipment

Feats

Non-Form Items

Classes

Mapping

Layout

  • Template:BreadCrumbs: Used to create a hierarchy path that floats right. Used on most pages.
  • 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:OGL: Shows the Open Gaming License for the Pathfinder RPG Core Rulebook, as well as any books included in the parameter
  • 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:Flex: Used by Template:BaseItemList_ItemCard to create a nice card graphic, which also floats the cards into x columns.
  • Template:FlexContainer: Template:Flex instances do not work unless contained in a FlexContainer.
  • Template:Break: Create a wikitext paragraph break (I.E. place where you want text to break to a new paragraph).
  • Template:Lcwords: Transforms a string to all lower-case.
  • Template:Ucwords: Transforms a string to all upper-case words.
  • Template:IfAnd: Check whether both variables are nonempty, and if true display the result.

Navigation

  • Template:Link: Formats a link to scrape structure from the visible link text.