2 : Ajout du module de recherche internet
This commit is contained in:
parent
d79e3dbf35
commit
0724c49ae7
23 changed files with 360 additions and 0 deletions
12
templates/wikipedia_search.j2
Normal file
12
templates/wikipedia_search.j2
Normal file
|
@ -0,0 +1,12 @@
|
|||
{% if returncode == "DisambiguationError" %}
|
||||
La recherche retourne les pages suivantes:
|
||||
{% if may_refer is not none %}
|
||||
{% for page in may_refer %}
|
||||
{{ page }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% elif returncode == "PageError" %}
|
||||
La recherche n'a rien donnée
|
||||
{% else %}
|
||||
{{ summary }}
|
||||
{% endif %}
|
Loading…
Add table
Add a link
Reference in a new issue