id, $matches)) { return "{$matches[1]}-{$matches[2]}"; } return null; } public function getParaLink(): ?string { $id = $this->getParaId(); if (!$id) return null; return "{{para|id={$id}|title={$id}|style=reference}}"; } }