formulas: Note: link(file, if(title, title, file.basename)) Place Type: if(file.hasTag("ttrpg/place/region"),"Region", if(file.hasTag("ttrpg/place/settlement"), "Settlement", "Point of Interest")) Place Subtype: if(regionType, regionType, if(settlementType, settlementType, poiType)) views: - type: table name: Places filters: and: - file.hasTag("ttrpg/place") - or: - |- list(location).filter( list(file(value).properties.location) .contains(this) ).length > 0 - list(location).contains(this.file) order: - formula.Note - formula.Place Type - formula.Place Subtype - summary sort: - property: file.name direction: DESC columnSize: formula.Note: 135 - type: table name: People filters: and: - or: - list(this.residents).contains(file) - list(this.leader).contains(file) - |- list(this.leader).filter( list(file.properties.factions) .contains(value) ).length > 0 - |- list(this.residents).filter( list(file.properties.factions) .contains(value) ).length > 0 - |- list(location).filter( list(file(value).properties.location) .contains(this) ).length > 0 - list(location).contains(this) - or: - file.hasTag("ttrpg/person") order: - formula.Note - pronunciation - pronouns - summary columnSize: formula.Note: 149