Dicemonger (talk | contribs) mNo edit summary |
Dicemonger (talk | contribs) m (→Cargo Cards) |
||
(One intermediate revision by the same user not shown) | |||
Line 9: | Line 9: | ||
=== Styling === | === Styling === | ||
* [[Template:DataCard]]: Non-floating Box graphic. Can contain an optional title. <code><nowiki>{{DataCard|Title|Body}}</nowiki></code> | * [[Template:DataCard]]: Non-floating Box graphic. Can contain an optional title. <code><nowiki>{{DataCard|Title|Body}}</nowiki></code> | ||
* [[Template:FlexCard]]: Using flex to make grid of cards. <code><nowiki>{{FlexCard|begin|card}}</nowiki></code> or <code><nowiki>{{FlexCard|begin|container}}</nowiki></code> | |||
* [[Template:InfoBoxRow]]: Create a row for an infobox. Checks whether the row exists, and adds it if it does. <code><nowiki>{{InfoBoxRow|Param|Title}}</nowiki></code> | * [[Template:InfoBoxRow]]: Create a row for an infobox. Checks whether the row exists, and adds it if it does. <code><nowiki>{{InfoBoxRow|Param|Title}}</nowiki></code> | ||
* [[Template:InfoBoxRowList]]: Create a list for an infobox. Checks whether the list exists, and adds it if it does. <code><nowiki>{{InfoBoxRow|Param|Title|Makes entries links|Makes a comma-separated list rather than newline-separated}}</nowiki></code> | * [[Template:InfoBoxRowList]]: Create a list for an infobox. Checks whether the list exists, and adds it if it does. <code><nowiki>{{InfoBoxRow|Param|Title|Makes entries links|Makes a comma-separated list rather than newline-separated}}</nowiki></code> | ||
Line 14: | Line 15: | ||
==== Cargo Cards ==== | ==== Cargo Cards ==== | ||
* [[Template:AncestryCard]]: DataCard for an ancestry. <code><nowiki>{{AncestryCard|The Old Lands Dwarves}}</nowiki></code> | * [[Template:AncestryCard]]: DataCard for an ancestry. <code><nowiki>{{AncestryCard|The Old Lands Dwarves}}</nowiki></code> | ||
* [[Template:ClassCard]]: DataCard for a | * [[Template:ClassCard]]: DataCard for a class. <code><nowiki>{{ClassCard|Name=|Short=}}</nowiki></code> | ||
* [[Template:OrganizationCard]]: DataCard for an organization. <code><nowiki>{{OrganizationCard|Name=|Short=}}</nowiki></code> | |||
=== Cargo === | === Cargo === |
Latest revision as of 19:29, 15 July 2023
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
- Template:AncestryCard: DataCard for an ancestry.
{{AncestryCard|The Old Lands Dwarves}}
- Template:ClassCard: DataCard for a class.
{{ClassCard|Name=|Short=}}
- Template:OrganizationCard: DataCard for an organization.
{{OrganizationCard|Name=|Short=}}
Cargo
- Template:Ancestry: Used for Form:Ancestry
- Template:Class: Used for Form:Class
- Template:Deity: Used for Form:Deity
- Template:District: Used by Template:Ward/Form:Ward for ward districts.
- Template:Equipment Item: Used for Form:Equipment Item
- Template:Equipment Traits: Used by Template:Equipment Item/Template:Equipment Weapon/Form:Equipment Item for item traits.
- Template:Equipment Weapon: Used for Form:Equipment Weapon
- Template:Organization: Used for Form:Organization
- Template:Person: Used for Form:Person
- Template:Session: Used for Form:Session
- Template:Settlement: Used for Form:Settlement
- Template:Ward: Used for Form:Ward