doc_macro_corentin
mer. 22 janv. 2020
Comment documenter des commandes
Créer des petits rectangles informatifs
| Paramètre | Requis | Type | Description |
|---|---|---|---|
| Titre | oui | String | Le titre du bloc |
| Texte | oui | String | Le texte du bloc |
| Icone | oui | Id_icone | Permet de choisir l'icone voulu |
[@newMacro
mot_clef="Titre"
text_clef="Texte"
numero_icone="Id_Icone"
/]
Permet de récupérer la date du jour
| Paramètre | Requis | Type | Description |
|---|---|---|---|
| aDateTime | oui | Date | Affiche la date |
1 nov. 2025 21:13:16
[@dateMacro
aDateTime=.now
/]
Permet d'afficher un titre normaliser
| Paramètre | Requis | Type | Description |
|---|---|---|---|
| titre 1 | oui | String | Affiche le titre |
| sous_titre 1 | non | String | Affiche le sous text |
| sous_titre 2 | non | String | Affiche le sous text |
C'est
Pascal
[@macroTitre
titre="Coucou"
sous_titre="C'est"
sous_titre2="Pascal"
/]
Permet d'afficher une jolie div de couleur avec une icon et du texte
| Paramètre | Requis | Type | Description |
|---|---|---|---|
| Icon | oui | Icon | Affiche une icon |
| titre | oui | String | Affiche le titre |
| text | oui | String | Affiche le text |
| couleur | oui | String | Changer la couleur |
[@macroDimatext
icon="icon-chemistry"
titre="Lorem ipsum"
text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer laoreet tristique nisl, at commodo ligula. Nunc iaculis mauris ante, nec sollicitudin ipsum blandit ac."
couleur="pink"
lien = "http://wad-poc-agence-panorama.gipco-adns.com/equipe"
/]