This note collects all notes where collections contains {{title}}.

filters:
  and:
    - '!file.folder.contains("x/Templates")'
    - '!file.name.contains("Template")'
    - '!file.name.contains("_")'
formulas:
  Links: file.backlinks.length
  "Outlink #": file.links.length
properties:
  file.backlinks:
    displayName: Inlinks
  file.links:
    displayName: Outlinks
  formula.Links:
    displayName: "Inlink #"
views:
  - type: table
    name: {{title}}
    filters:
      or:
        - collections.contains(link("{{title}}"))
    order:
      - file.name
      - created
    sort:
      - property: created
        direction: DESC
      - property: file.mtime
        direction: DESC
      - property: file.name
        direction: ASC
  - type: table
    name: {{title}} (w Inlinks)
    filters:
      or:
        - collections.contains(link("{{title}}"))
    order:
      - file.name
      - formula.Links
      - created
      - file.backlinks
    sort:
      - property: created
        direction: DESC
      - property: file.mtime
        direction: DESC
      - property: file.name
        direction: ASC
  - type: table
    name: {{title}} (more columns)
    filters:
      or:
        - collections.contains(link("{{title}}"))
    order:
	    - file.name
	    - created
	    - file.mtime
	    - file.folder
	    - file.backlinks
	    - file.links
	    - collections
    sort:
      - property: created
        direction: DESC
      - property: file.mtime
        direction: DESC
      - property: file.name
        direction: ASC
    columnSize:
      note.created: 115
      file.mtime: 96