Affiche une icône d'horloge et une estimation de la durée du tutoriel. Pour les tutoriels en plusieurs étapes, ajoutez cette directive immédiatement après le titre.
Paramètres
Paramètre
Type
Description
duration
Float
Durée estimée du tutoriel en minutes.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/04 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/04 (UTC)."],[],[],null,["# Layout directives\n\nThis page lists directives related to Layout.\n\nFootnotes\n---------\n\n \u003cwalkthrough-footnote\u003e\u003cvar class=\"readonly\" translate=\"no\"\u003eFOOTNOTE_TEXT\u003c/var\u003e\u003c/walkthrough-footnote\u003e\n\nRenders the inner text in a footnote style. Insert this directive at the bottom\nof the relevant step.\n\nIcons\n-----\n\n \u003cwalkthrough-\u003cvar class=\"readonly\" translate=\"no\"\u003eICON_NAME\u003c/var\u003e\u003e\u003c/walkthrough-\u003cvar class=\"readonly\" translate=\"no\"\u003eICON_NAME\u003c/var\u003e\u003e\n\nShows an icon.\n\n### Icon names\n\nThe following icons can be inserted into a line of text.\n\nThe following icons are best shown as a standalone image.\n\n| **Note:** For multi-step tutorials, make the conclusion trophy the first element in the final step.\n\nTutorial duration\n-----------------\n\n \u003cwalkthrough-tutorial-duration duration=\"\u003cvar class=\"readonly\" translate=\"no\"\u003eDURATION\u003c/var\u003e\"\u003e\u003c/walkthrough-tutorial-duration\u003e\n\nShows a clock icon and an estimate of how long the tutorial will take. For\nmulti-step tutorials, add this directive immediately after the title.\n\n### Parameters"]]