Files
thpeetz-notes/Resources/Templates/contact-company.md
T
2026-02-11 11:43:37 +01:00

1.1 KiB

tags, organization, address, url, parent_company
tags organization address url parent_company
street city code country
Deutschland

<%* const organization = tp.frontmatter.organization const url = tp.frontmatter.url app.fileManager.processFrontMatter(tp.config.target_file, (fm) => { if (organization == undefined) { fm.organization = tp.file.name } else { fm.organization = organization } if (url == undefined) { fm.url = "" } else { fm.url = url } frontmatter.template = "contact-company" frontmatter.type = "company" }) -%>

Kontakte

TABLE location AS Standort, manager AS Vorgesetzter
FROM [[]] AND !outgoing([[]]) AND #process/contact
WHERE !contains(former_company, [[<% tp.file.title %>]])
SORT location, manager, name

Ehemalige Kollegen

TABLE company AS Firma, location AS Standort
FROM [[]] AND !outgoing([[]]) AND #process/contact 
WHERE contains(former_company, [[<% tp.file.title %>]])
SORT location, manager, name

Termine

list from [[]] and !outgoing([[]]) and "Journal"