Last edited 9 months ago
by Richard Heigl

Site:Imprint and Manual:Extension/ContentDroplets/Icon: Difference between pages

(Difference between pages)
No edit summary
 
No edit summary
 
Line 1: Line 1:
Responsible for content according to TMG:
==<span class="mw-headline" id="Using_the_template">Using the template</span>==


'''Hallo Welt! GmbH'''<br />Bruderwöhrdstraße 29<br />93055 Regensburg<br />Germany<br /><br />
=== Bootstrap icons ===
#'''Find''' a bootstrap icon from the [https://en.wiki.bluespice.com/w/skins/BlueSpiceDiscovery/resources/bootstrap/icons/index.html '''list of currently supported icons.''']
#'''Click''' on the i<nowiki/>con you would like to use. The icon page shows you the class-name of <nowiki/>the icon on the right side of the page:
#'''Highlight''' the class name (it has the format ''bi bi-myicon'') and '''copy''' it to your clipboard (ctrl+c).
#'''Go back''' to your wiki page.
#'''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]]
##'''Search''' for the droplet "Icon"
##'''Click''' on the Icon-card
##'''Click''' the ''Insert'' button
# '''Copy''' the icon class from your clipboard:[[File:template-editor-icon.png|alt=Template editor|center|thumb|450x450px|Template editor]]
#'''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
#'''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.
#'''Click''' ''Apply changes''.


Telephone: +49 (0) 941 – 66080-0<br />Fax: +49 (0) 941 – 66080-189<br />Web:[https://hallowelt.com hallowelt.com] | [https://bluespice.com bluespice.com]<br />E-mail:[mailto:Info@hallowelt.com info@hallowelt.com]<br />
The icon is now displayed on the page.


Management: Anja Ebersbach, Markus Glaser, Dr. Richard Heigl<br />Register court: Amtsgericht Regensburg, HRB number: 10467<br />Financial office: Finanzamt Regensburg<br />Tax number: 244/128/00334<br />VAT ID no.: DE 253050833
[[File:bootstrap-icon-on page.png|alt=Inserted Bootstrap icon|center|thumb|450x450px|Inserted Bootstrap icon]]
----Please note our [[Site:General disclaimer|terms of use]].


<br /><br />
=== FontAwesome icons ===
 
The exension [[Reference:FontAwesome|FontAwesome]] is bundled starting at BlueSpice version 4.3. In one of our next patches, we will add the possibility to use them in the Icon droplet. In the meantime, you can add FontAwesome icons with the <code><nowiki>{{#fas:...}}</nowiki></code> parser-function in source edit mode. [[mediawikiwiki:Extension:FontAwesome#Usage|See the official MediaWiki documentation]].
 
__FORCETOC__
 
 
 
__NOTOC__
__NOAUTHORS__
__NODISCUSSION__
 
[[en:{{FULLPAGENAME}}]]
[[de:Site:Impressum]]

Revision as of 15:29, 24 July 2023

Using the template

Bootstrap icons

  1. Find a bootstrap icon from the list of currently supported icons.
  2. Click on the icon you would like to use. The icon page shows you the class-name of the icon on the right side of the page:
  3. Highlight the class name (it has the format bi bi-myicon) and copy it to your clipboard (ctrl+c).
  4. Go back to your wiki page.
  5. Open the Droplets dialog in VisualEditor:
  6. Select the Icon-droplet:
    screenshot showing the 3 steps 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
  7. Copy the icon class from your clipboard:
    Template editor
    Template editor
  8. 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.
  9. 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
  10. 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.
  11. Click Apply changes.

The icon is now displayed on the page.

Inserted Bootstrap icon
Inserted Bootstrap icon

FontAwesome icons

The exension FontAwesome is bundled starting at BlueSpice version 4.3. In one of our next patches, we will add the possibility to use them in the Icon droplet. In the meantime, you can add FontAwesome icons with the {{#fas:...}} parser-function in source edit mode. See the official MediaWiki documentation.

No categories assignedEdit