Templates

From Night's End
Revision as of 19:07, 16 June 2023 by Dicemonger (talk | contribs)

Modules

Layout

  • Module:Columns: Mark sections of text with column-count css. {{#invoke:Columns|begin}}
  • Module:Grid: Wrap sections of text in floating boxes. {{#invoke:Grid|begin}}

Templates

Styling

  • Template:DataCard: Non-floating Box graphic. Can contain an optional title. {{DataCard|Title|Body}}
  • Template:FlexCard: Using flex to make grid of cards. {{FlexCard|begin|card}} or {{FlexCard|begin|container}}
  • Template:InfoBoxRow: Create a row for an infobox. Checks whether the row exists, and adds it if it does. {{InfoBoxRow|Param|Title}}
  • Template:InfoBoxRowList: Create a list for an infobox. Checks whether the list exists, and adds it if it does. {{InfoBoxRow|Param|Title|Makes entries links|Makes a comma-separated list rather than newline-separated}}

Cargo Cards

Cargo