Skip to main content
create_clause_reference A live link to a clause in another document, to write as {{clauseRef:ID}}. Pass the document that holds the clause and the clause’s full number as a reader cites it (“2.2”, “4.1(a)”); the result’s clauseReferenceId is the ID. It shows only the clause’s number, so the sentence names the document: “Section {{clauseRef:ID}} of the {{doc:DOCUMENT_ID}}”. A clause in the document you are writing needs none: write “Section 2” as prose and it is linked when the document is written.

Parameters

string
required
ID of the document that CONTAINS the target clause.
string
The clause’s full number as a reader cites it: “2.2”, “3”, “4.1(a)”.
string
Instead of numbering: the target clause block’s id (attrs.id), with its hierarchy.
string
With blockId: the clause’s hierarchy as the document holds it (attrs.hierarchy), e.g. “1.2”.