API Reference
Function
New-HTMLTimelineItem
Creates a new HTML timeline item with specified date, heading text, content text, and color.
Remarks
This function generates an HTML timeline item with the provided information. It allows customization of the date, heading text, content text, and color of the timeline item.
Examples
EXAMPLE 1
New-HTMLTimelineItem -Date "2022-01-01" -HeadingText "Project Kickoff" -Text "Started the project development phase." -Color "Blue"
Creates a timeline item with a specific date, heading, content, and color.
EXAMPLE 2
New-HTMLTimelineItem -HeadingText "Meeting with Client" -Text "Discussed project requirements." -Color "Green"
Creates a timeline item with the current date, specified heading, content, and color.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
New-HTMLTimelineItem [-Color <String>] [-Date <DateTime>] [-HeadingText <String>] [-Text <String>] [<CommonParameters>]
#
Parameter set:
All Parameter SetsParameters
- Color String
- Specifies the color of the timeline item. If not provided, the default color is used.
- Date DateTime
- Specifies the date for the timeline item. Defaults to the current date if not specified.
- HeadingText String
- Specifies the heading text for the timeline item.
- Text String
- Specifies the content text for the timeline item.