28 lines
873 B
Plaintext
28 lines
873 B
Plaintext
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) && file(value).hasTag("ttrpg/place/region")
|
|
).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
|