---
description: Insert project page format
tags: meta/template/slash
priority: 100
---
---
priority: 10
type: project
tags: project
univers: PRO
title: ""
aliases: [""]
axe: "PILOTAGE-DGE"
status: "active"     # Options: active, closed, in-progress, urgent, waiting
urgence: "haute"     # Options: haute, normale, basse
start: "${os.date('%Y-%m-%d')}"
due: "${os.date('%Y-%m-%d')}"
end: "${os.date('%Y-%m-%d')}"
review: "${os.date('%Y-%m-%d')}"
---
# |^|

## Todo

### Urgent

{query[[
  from t = index.tasks('URGENT')
  where t.done == false 
    and table.includes(t.links, _CTX.currentPage.name)
  order by t.lastModified desc 
  limit 10
  select {
    REF = "[[" .. t.ref .. "]]",
    TEXT =  t.text,
    TAGS = t.tags
  }
]]}

### Next

{query[[
  from t = index.tasks('next')
  where t.done == false 
    and table.includes(t.links, _CTX.currentPage.name)
  order by t.lastModified desc 
  limit 10
  select {
    REF = "[[" .. t.ref .. "]]",
    TEXT =  t.text,
    TAGS = t.tags
  }
]]}

### Other

{query[[
  from t = index.tasks()
  where t.done == false 
    and table.includes(t.links, _CTX.currentPage.name)
    and not table.includes(t.tags, 'URGENT')
    and not table.includes(t.tags, 'next')
    and not table.includes(t.tags, 'event')
  order by t.lastModified desc 
  limit 10
  select {
    REF = "[[" .. t.ref .. "]]",
    TEXT =  t.text,
    TAGS = t.tags
  }
]]}


## Evénements

### A venir

{query[[
  from t = index.tasks('event')
  where not t.done
    and table.includes(t.links, _CTX.currentPage.name)
  order by t.lastModified desc 
  limit 10
  select {
    REF = "[[" .. t.ref .. "]]",
    TEXT =  t.text,
    TAGS = t.tags
  }
]]}


### A traiter

{query[[
  from o = index.tag "header" 
  where table.includes(o.tags, "event")
    and string.find(string.gsub(o.name, '%-', '_'), "%[%[" .. string.gsub(_CTX.currentPage.name, '%-', '_') .. "%]%]") 
  order by o.page desc 
  limit 10
  select {
    REF = "[[" .. o.ref .. "]]",
    NAME =  o.name
  }
]]}


## DONE

* 

{query[[
  from t = index.tasks()
  where t.done
    and table.includes(t.links, _CTX.currentPage.name)
  order by t.lastModified desc 
  limit 10
  select {
    REF = "[[" .. t.ref .. "]]",
    TEXT =  t.text,
    TAGS = t.tags
  }
]]}
