Mlink-rodrigue (talk | contribs)
No edit summary
Mlink-rodrigue (talk | contribs)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
==About icons==
==About icons==
The '''Icon''' Content droplet allows you to insert icons from the Bootstrap and FontAwesome libraries onto a page.
TheContent droplet  '''Icon''' allows you to insert icons from the Bootstrap and FontAwesome libraries on a page.


* Bootstrap: https://icons.getbootstrap.com/
* Bootstrap: https://icons.getbootstrap.com/
Line 8: Line 8:
{{Textbox|boxtype=note|header=Compatibility|text=The official icon websites always display all icons from the most recent versions of these libraries. If there is a version discrepancy between the library included in BlueSpice and the official version, it is possible that not all icons will be available for display within BlueSpice.|icon=yes}}
{{Textbox|boxtype=note|header=Compatibility|text=The official icon websites always display all icons from the most recent versions of these libraries. If there is a version discrepancy between the library included in BlueSpice and the official version, it is possible that not all icons will be available for display within BlueSpice.|icon=yes}}


=== Bootstrap icons ===
== Insert icon ==
#'''Find''' a Bootstrap or FontAwesome icon.
#'''Find''' a Bootstrap or FontAwesome icon.
#'''Highlight''' the <nowiki/>class name (it has the format ''bi bi-myicon'') and '''copy''' it to your clipb<nowiki/>oard (ctrl+c) (or remember the class name).
#'''Highlight''' the <nowiki/>class name (it has the format ''bi bi-myicon'') and '''copy''' it to your clipb<nowiki/>oard (ctrl+c) (or remember the class name).
#'''Go back''' to your wiki page.
#'''Go back''' to your wiki page.
#'''Open''' the Droplets dialog in VisualEditor:
#'''Open''' the Droplets dialog in VisualEditor:
#'''Select''' the Icon-droplet:[[File:icon-droplet.png|alt=screenshot showing the 3 steps to select the icon-droplet|center|thumb|450x450px|Selecting the icon droplet]]
#'''Select''' the Icon-droplet:[[File:Extension ContentDroplets dialog.png|alt=ContentDroplets dialog with 3 highlighted actions to select the icon-droplet|center|thumb|450x450px|Selecting the icon droplet]]
##'''Search''' for the droplet "Icon"  
##'''Search''' for the droplet "Icon"  
##'''Click''' on the Icon-card
##'''Click''' on the Icon-card
##'''Click''' the ''Insert'' button
##'''Click''' the ''Insert'' button
# '''Copy''' the icon class from your clipboard (or enter it manually):[[File:template-editor-icon.png|alt=Template editor|center|thumb|450x450px|Template editor]]
# '''Copy''' the icon class from your clipboard (or enter it manually):[[File:Extension ContentDroplets icon dialog.png|alt=Dialog with icon class "bi bi-award" and custom color value|center|thumb|450x450px|Icon settings]]
#'''Change''' the font size (optional) if you want the size to be different from the text surrounding it (e.g., from the size of a heading if the icon is placed in the heading or of the paragraph text if the icon is placed in the flow-text.  Smaller than text icons are usually sized no smaller than 0.85em and larger icons up to 2.5em.
#'''Change''' the font size (optional) if you want the size to be different from the text surrounding it (e.g., from the size of a heading if the icon is placed in the heading or of the paragraph text if the icon is placed in the flow-text.  Smaller than text icons are usually sized no smaller than 0.85em and larger icons up to 2.5em.
#'''Color:''' If you want the color to be different from the surrounding text, you can specify any web color (e.g., a color name like blue or a hex-valuesuch as #0059b3 for a more specific blue). A list of web colors can be found at https://www.w3schools.com/colors/colors_picker.asp
#'''Color:''' If you want the color to be different from the surrounding text, you can specify any web color (e.g., a color name like blue or a hex-valuesuch as #0059b3 for a more specific blue). A list of web colors can be found at https://www.w3schools.com/colors/colors_picker.asp
Line 25: Line 25:
The icon is now displayed on the page.
The icon is now displayed on the page.


[[File:bootstrap-icon-on page.png|alt=Inserted Bootstrap icon|center|thumb|450x450px|Inserted Bootstrap icon]]
[[File:Extension ContentDroplets bootstrap icon example.png|alt=bootstrap awards icon before heading text|center|thumb|450x450px|Inserted Bootstrap icon]]


== Icon selection ==
== Icon selection ==

Latest revision as of 15:37, 27 October 2026

About icons

TheContent droplet Icon allows you to insert icons from the Bootstrap and FontAwesome libraries on a page.

CompatibilityThe official icon websites always display all icons from the most recent versions of these libraries. If there is a version discrepancy between the library included in BlueSpice and the official version, it is possible that not all icons will be available for display within BlueSpice.


Insert icon

  1. Find a Bootstrap or FontAwesome icon.
  2. Highlight the class name (it has the format bi bi-myicon) and copy it to your clipboard (ctrl+c) (or remember the class name).
  3. Go back to your wiki page.
  4. Open the Droplets dialog in VisualEditor:
  5. Select the Icon-droplet:
    ContentDroplets dialog with 3 highlighted actions to select the icon-droplet
    Selecting the icon droplet
    1. Search for the droplet "Icon"
    2. Click on the Icon-card
    3. Click the Insert button
  6. Copy the icon class from your clipboard (or enter it manually):
    Dialog with icon class "bi bi-award" and custom color value
    Icon settings
  7. Change the font size (optional) if you want the size to be different from the text surrounding it (e.g., from the size of a heading if the icon is placed in the heading or of the paragraph text if the icon is placed in the flow-text. Smaller than text icons are usually sized no smaller than 0.85em and larger icons up to 2.5em.
  8. Color: If you want the color to be different from the surrounding text, you can specify any web color (e.g., a color name like blue or a hex-valuesuch as #0059b3 for a more specific blue). A list of web colors can be found at https://www.w3schools.com/colors/colors_picker.asp
  9. Vertical alignment: It should not be necessary to provide an alignment value. The standard is set to text-top and usually works in headings and in flow-text. If it looks a little off, you can try other vertical-alignment values, such as text-bottom. For a full list of possible values, see https://www.w3schools.com/cssref/pr_pos_vertical-align.asp.
  10. Click Apply changes.

The icon is now displayed on the page.

bootstrap awards icon before heading text
Inserted Bootstrap icon

Icon selection

Here is a selection of supported icons and their class names.

Bootstrap icons

https://icons.getbootstrap.com/

These icons have the syntax bi bi-<iconname>.


bi bi-envelope
bi bi-chat-dots
bi bi-telephone
bi bi-megaphone
bi bi-headset
bi bi-building
bi bi-bank
bi bi-shop
bi bi-hospital
bi bi-house-door
bi bi-cart
bi bi-credit-card
bi bi-cash-coin
bi bi-receipt
bi bi-piggy-bank
bi bi-truck
bi bi-box-seam
bi bi-wrench
bi bi-hammer
bi bi-tools
bi bi-key
bi bi-person
bi bi-people
bi bi-person-badge
bi bi-briefcase
bi bi-calendar
bi bi-clock
bi bi-lightbulb
bi bi-globe
bi bi-shield-check
bi bi-graph-up
bi bi-pie-chart
bi bi-trophy
bi bi-award
bi bi-bag
bi bi-gift
bi bi-printer
bi bi-camera
bi bi-laptop
bi bi-cpu
bi bi-book
bi bi-folder
bi bi-clipboard-check
bi bi-geo-alt
bi bi-lock

FontAwesome icons

https://fontawesome.com/search?ic=free-collection


These icons have the syntax fas-fa-<iconname>.


fas fa-envelope
fas fa-comments
fas fa-phone
fas fa-bullhorn
fas fa-headset
fas fa-building
fas fa-university
fas fa-store
fas fa-hospital
fas fa-home
fas fa-industry
fas fa-warehouse
fas fa-shopping-cart
fas fa-credit-card
fas fa-coins
fas fa-receipt
fas fa-piggy-bank
fas fa-truck
fas fa-box
fas fa-chart-line
fas fa-wrench
fas fa-hammer
fas fa-tools
fas fa-key
fas fa-user
fas fa-users
fas fa-id-badge
fas fa-briefcase
fas fa-handshake
fas fa-calendar-alt
fas fa-clock
fas fa-lightbulb
fas fa-globe
fas fa-chart-pie
fas fa-trophy
fas fa-award
fas fa-shopping-bag
fas fa-gift
fas fa-print
fas fa-camera
fas fa-laptop
fas fa-microchip
fas fa-book
fas fa-folder
fas fa-clipboard-check
fas fa-graduation-cap
fas fa-map-marker-alt
fas fa-lock