Skip to content

Latest commit

 

History

History
74 lines (48 loc) · 1.5 KB

PuzzlePiece.md

File metadata and controls

74 lines (48 loc) · 1.5 KB

PuzzlePiece

fontawesome-6/Solid/PuzzlePiece
include('fontawesome-6/Solid/PuzzlePiece')
Illustration PuzzlePiece
illustration for Illustration illustration for PuzzlePiece

Sprites

The item provides the following sriptes:

  • <$PuzzlePieceXs>
  • <$PuzzlePieceSm>
  • <$PuzzlePieceMd>
  • <$PuzzlePieceLg>

PuzzlePiece

Load remotely

@startuml
' configures the library
!global $LIB_BASE_LOCATION="https://raw.githubusercontent.com/tmorin/plantuml-libs/master/distribution"

' loads the library's bootstrap
!include $LIB_BASE_LOCATION/bootstrap.puml

' loads the package bootstrap
include('fontawesome-6/bootstrap')

' loads the Item which embeds the element PuzzlePiece
include('fontawesome-6/Solid/PuzzlePiece')

' renders the element
PuzzlePiece('PuzzlePiece', 'Puzzle Piece', 'an optional tech label', 'an optional description')
@enduml

Load locally

@startuml
' configures the library
!global $INCLUSION_MODE="local"
!global $LIB_BASE_LOCATION="../.."

' loads the library's bootstrap
!include $LIB_BASE_LOCATION/bootstrap.puml

' loads the package bootstrap
include('fontawesome-6/bootstrap')

' loads the Item which embeds the element PuzzlePiece
include('fontawesome-6/Solid/PuzzlePiece')

' renders the element
PuzzlePiece('PuzzlePiece', 'Puzzle Piece', 'an optional tech label', 'an optional description')
@enduml