1
0
2026-01-10 14:30:32 -06:00

127 lines
2.9 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

filters:
or:
- and:
- list(campaigns).contains(this)
- this.hasTag("ttrpg/campaign")
- list(this.campaigns).filter(list(campaigns).contains(value)).length > 0
formulas:
Note: file.asLink(if(note.title, note.title, file.basename))
Game Date: '[note["fc-date"], note["fc-end"]].filter(value).join(" ")'
Real Date: '"" + realDate'
Place Type: if(file.hasTag("ttrpg/place/poi"), "Point of Interest", if(file.hasTag("ttrpg/place/region"), "Region", if(file.hasTag("ttrpg/place/settlement"), "Settlement", "Unknown")))
Place Subtype: if(poiType, poiType, if(settlementType, settlementType, if(regionType, regionType)))
properties:
note.sessionNumber:
displayName: Num
note.summary:
displayName: Summary
note.realDate:
displayName: Date
note.ancestry:
displayName: Ancestry
note.pronouns:
displayName: Pronouns
note.languages:
displayName: Languages
note.factionType:
displayName: Type
note.leader:
displayName: Leader
note.itemType:
displayName: Item Type
views:
- type: cards
name: Player Character Cards
filters:
and:
- file.hasTag("ttrpg/person")
- personType == "pc"
order:
- formula.Note
- Player
- ancestry
- pronouns
image: note.image
- type: table
name: Sessions
filters:
and:
- file.hasTag("ttrpg/session")
order:
- formula.Note
- sessionNumber
- formula.Real Date
- formula.Game Date
- summary
sort:
- property: sessionNumber
direction: ASC
- type: table
name: Factions
filters:
and:
- file.hasTag("ttrpg/faction")
order:
- formula.Note
- factionType
- leader
- summary
sort:
- property: formula.Note
direction: ASC
columnSize:
formula.Note: 125
note.factionType: 102
- type: table
name: Nonplayer Characters
filters:
and:
- file.hasTag("ttrpg/person")
- personType != "pc"
order:
- formula.Note
- ancestry
- pronouns
- languages
- summary
columnSize:
formula.Note: 140
note.pronouns: 111
note.languages: 127
- type: table
name: Places
filters:
and:
- file.hasTag("ttrpg/place")
groupBy:
property: formula.Place Type
direction: ASC
order:
- formula.Note
- formula.Place Type
- formula.Place Subtype
- location
- summary
sort:
- property: formula.Note
direction: ASC
- property: location
direction: ASC
columnSize:
formula.Note: 86
formula.Place Type: 114
note.location: 107
note.summary: 134
formula.Place Subtype: 130
- type: table
name: Items
filters:
and:
- file.hasTag("ttrpg/item")
order:
- formula.Note
- itemType
- summary
columnSize:
note.itemType: 136