{% extends "page.html" %} {% import "macros.html" as m with context %} {% block titre %}{{ doc.titre }}{% endblock %} {% block fil %}{{ m.fil(fil, doc.titre|truncate(70)) }}{% endblock %} {% block contenu %}

{{ doc.type or sans_type }}{% if not en_tete.type_declare %} type hors vocabulaire{% endif %} {% set c = en_tete.confiance %} {% if c.palier == 'humain' %}vérifié par un humain{% elif c.palier == 'machine' %}vérifié par un agent{% endif %} {% if c.genere %}généré{% endif %} {% if c.perime %}périmé depuis le {{ c.stale_after|date }}{% endif %} {% if c.statut %}{{ c.statut }}{% endif %} {% if doc.fm_illisible %}frontmatter illisible{% endif %}

{{ doc.titre }}

{% if description %}

{{ description }}

{% endif %} {% if en_tete.synonymes %}

Aussi appelé : {{ en_tete.synonymes|join(', ') }}

{% endif %}
{% if en_tete.provenance %}{% set p = en_tete.provenance %}
Provenance
{{ p.libelle }}{% if p.hors_vocabulaire %} hors vocabulaire{% endif %} {% if p.preuve_nom %}
{{ p.preuve_nom }} : {% if p.preuve %}{{ p.preuve }}{% else %}absent{% endif %}{% endif %}
{% endif %} {% if en_tete.debut or en_tete.fin %}
Période
{{ en_tete.debut|date if en_tete.debut else '…' }} → {{ en_tete.fin|date if en_tete.fin else '…' }}
{% endif %} {% if en_tete.version %}
S'applique à partir de
{{ en_tete.version }}
{% endif %} {% if en_tete.identifiant %}
Identifiant
{{ en_tete.identifiant }}
{% endif %}
Fraîcheur
{{ fraicheur.date|quand }} ({{ origines[fraicheur.origine] }}){% if commit %}
{{ commit|quand }} (dernier commit){% endif %}
{% for f in en_tete.facettes %}
{{ f.libelle }}
{% for v in f.valeurs %}{{ v.libelle }}{% if v.hors_vocabulaire %} hors vocabulaire{% endif %} {% endfor %}
{% endfor %} {% if en_tete.tags_libres %}
Tags
{% for t in en_tete.tags_libres %}{{ t }} {% endfor %}
{% endif %}
{% if mode_operatoire %}

Aller au mode opératoire

{% endif %}

MCP : kb_read(base="{{ nom }}", path="{{ doc.chemin }}")

{% if derives %}

À revérifier : ce que cette fiche cite a changé depuis

Cette fiche date de {{ derives[0].date_doc|quand }} (dernier commit, ou dernière vérification si elle est plus récente).

{% endif %} {% set g = genealogie %} {% if g.en_attente %}

{{ g.en_attente|length|nb('proposition en attente la mentionne', 'propositions en attente la mentionnent') }} — déposées par des sessions, pas encore revues : ce que dit la fiche peut être contesté.

{% endif %} {% if rendu.tronque %}

Rendu possiblement incomplet : le document dépasse l'imbrication que le moteur rend. Sa source suit le rendu.

{% endif %}
{{ rendu.html }}
{% if rendu.tronque %}
{{ rendu.source }}
{% endif %} {% if sources %}

Sources

    {% for s in sources %} {% if s.id %}[{{ s.id }}] {% endif %}{% if s.titre %}{{ s.titre }} — {% endif %}{% if s.url %}{{ s.ressource }}{% else %}{{ s.ressource }}{% endif %}{% if s.date %} ({{ s.date|date }}){% endif %} {% endfor %}
{% endif %} {% if en_tete.autres %}
Autres champs du frontmatter
{{ en_tete.autres }}
{% endif %}

Liens

Entrants — {% if entrants.total or entrants.sommaires %}{{ entrants.liens|nb('lien') }} depuis {{ entrants.total|nb('fiche') }}{% if entrants.sommaires %} et {{ entrants.sommaires|length|nb('sommaire ou journal', 'sommaires ou journaux') }}{% endif %}{% else %}aucune fiche ne cite celle-ci{% endif %} {% if entrants.declinee %}

Déclinée par

    {% for e in entrants.declinee %}
  • {{ e.titre }}{% if e.base != nom %} {{ e.base }}{% endif %}
  • {% endfor %}
{% endif %} {% for base_source, liste in entrants.citee %}

Citée {% if base_source == nom %}dans cette base{% else %}par {{ base_source }}{% endif %}

    {% for e in liste[:entrants_par_base] %}
  • {{ e.titre }}
  • {% endfor %}
{% if liste|length > entrants_par_base %}

Et {{ (liste|length - entrants_par_base)|nb('autre fiche', 'autres fiches') }} : toutes dans l'Explorer.

{% endif %} {% endfor %} {% if entrants.sommaires %}

Sommaires et journaux — citent sans dépendre : ni comptés comme fiches, ni dans l'impact

    {% for e in entrants.sommaires %}
  • {{ e.titre }}{% if e.base != nom %} {{ e.base }}{% endif %} {{ e.chemin }}
  • {% endfor %}
{% endif %} {% set n_sortants = sortants.values()|map('length')|sum %} Sortants — {% if n_sortants %}{{ n_sortants|nb('lien') }}{% if sortants.casses %}, dont {{ sortants.casses|length|nb('cassé ou non suivi', 'cassés ou non suivis') }}{% endif %}{% else %}aucun{% endif %} {% for cle, titre in [('internes', 'Dans cette base'), ('interbases', 'Vers d\'autres bases'), ('externes', 'Externes'), ('casses', 'Cassés ou non suivis')] %} {% if sortants[cle] %}

{{ titre }}

    {% for l in sortants[cle] %}
  • {% if l.href %}{{ l.titre }}{% else %}{{ l.brut }}{% endif %}
  • {% endfor %}
{% endif %} {% endfor %}

Histoire de la fiche

{% if g.integrees %}

Propositions intégrées

{% endif %} {% if g.commits %}

Commits

    {% for c in g.commits %}
  1. {{ c.date|quand }} · {{ c.court }} {{ c.sujet }}
  2. {% endfor %}
{% endif %} {% if not (g.integrees or g.commits) %}

Aucun historique lisible pour cette fiche.

{% endif %}

↑ Haut de page

{% endblock %}