Vorlagen Download/Icon: Unterschied zwischen den Versionen

Keine Bearbeitungszusammenfassung
Markierung: 2017-Quelltext-Bearbeitung
Keine Bearbeitungszusammenfassung
Markierung: 2017-Quelltext-Bearbeitung
Zeile 43: Zeile 43:
{| class="wikitable"
{| class="wikitable"
|-
|-
|<span class="bi bi-alarm" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-alarm" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-alarm
|bi bi-alarm
|<span class="bi bi-archive" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-archive" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-archive
|bi bi-archive
|<span class="bi bi-arrow-down-circle" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-arrow-down-circle" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-arrow-down-circle
|bi bi-arrow-down-circle
|<span class="bi bi-arrow-right-circle" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-arrow-right-circle" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-arrow-right-circle
|bi bi-arrow-right-circle
|<span class="bi bi-award" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-award" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-award
|bi bi-award
|-
|-
|<span class="bi bi-bag" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-bag" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-bag
|bi bi-bag
|<span class="bi bi-bar-chart" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-bar-chart" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-bar-chart
|bi bi-bar-chart
|<span class="bi bi-bell" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-bell" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-bell
|bi bi-bell
|<span class="bi bi-bicylce" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-bicylce" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-bicycle
|bi bi-bicycle
|<span class="bi bi-book" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-book" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-book
|bi bi-book
|-
|-
|<span class="bi bi-box" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-box" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-box
|bi bi-box
|<span class="bi bi-box2" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-box2" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-box2
|bi bi-box2
|<span class="bi bi-braces-asterisk" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-braces-asterisk" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-braces-asterisk
|bi bi-braces-asterisk
|<span class="bi bi-bricks" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-bricks" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-bricks
|bi bi-bricks
|<span class="bi bi-briefcase" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-briefcase" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-briefcase
|bi bi-briefcase
|-
|-
|<span class="bi bi-broadcast" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-broadcast" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-broadcast
|bi bi-broadcast
|<span class="bi bi-bucket" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-bucket" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-briefcase
|bi bi-briefcase
|<span class="bi bi-bucket" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-bucket" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-briefcase
|bi bi-briefcase
|<span class="bi bi-bug" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-bug" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-bug
|bi bi-bug
|<span class="bi bi-building" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-building" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-building
|bi bi-building
|-
|-
|<span class="bi bi-calculator" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-calculator" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-calculator
|bi bi-calculator
|<span class="bi bi-calendar-date" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-calendar-date" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-calendar-date
|bi bi-calendar-date
|<span class="bi bi-card-image" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-card-image" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-card-image
|bi bi-card-image
|<span class="bi bi-chat-dots" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-chat-dots" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-chat-dots
|bi bi-chat-dots
|<span class="bi bi-clipboard-check" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-clipboard-check" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-clipboard-check
|bi bi-clipboard-check
|-
|-
|<span class="bi bi-cloud" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-cloud" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-cloud
|bi bi-cloud
|<span class="bi bi-code-square" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-code-square" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-code-square
|bi bi-code-square
|<span class="bi bi-columns-gap" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-columns-gap" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-columns-gap
|bi bi-columns-gap
|<span class="bi bi-cone-striped" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-cone-striped" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-chat-dots
|bi bi-chat-dots
|<span class="bi bi-cup" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-cup" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-cup
|bi bi-cup
|-
|-
|<span class="bi bi-door-open" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-door-open" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-door-open
|bi bi-door-open
|<span class="bi bi-envelope" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-envelope" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-envelope
|bi bi-envelope
|<span class="bi bi-eye" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-eye" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-eye
|bi bi-eye
|<span class="bi bi-flower1" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-flower1" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-flower1
|bi bi-flower1
|<span class="bi bi-gear" style="font-size:1.2em; font-weight:bold"></span>
|<span class="bi bi-gear" style="font-size:1.8em; font-weight:bold"></span>
|bi bi-gear
|bi bi-gear
|}
|}

Version vom 11. Mai 2022, 15:23 Uhr

Diese Vorlage ermöglicht das Einfügen von Bootstrap-Icons auf einer Seite.

Vorlage importieren

Die benötigte Import-Datei befindet sich im Archiv HW-Icon.zip.

Führen Sie auf der Seite Spezial:Import in Ihrem Wiki folgende Schritte durch:

  1. Entpacken Sie die zip-Datei.
  2. Klicken Sie Browse... und wählen Sie die Datei HW-Icon.xml.
  3. Geben Sie ein Interwiki-Präfix an. Da dieses Feld erforderlich ist, geben Sie hier einfach hw (für hallowelt) ein.
  4. Belassen Sie die Vorauswahl Zu den Standard-Speicherorten importieren.
  5. Klicken Sie Datei hochladen... .

Die Vorlage ist nun in Ihrem Wiki verfügbar.

Enthaltene Importdateien

Der xml-Import erstellt folgende Datei in Ihrem Wiki:

  • Vorlage:Icon

Anwendung

  1. Finden Sie ein Bootstrap-Icon auf der Webseite https://icons.getbootstrap.com/
  2. Klicken Sie auf das gewünschte Icon. Die Seite für das Icon zeigt Ihnen den class-Namen auf der rechten Seite:
    Bootstrap icon css-class
  3. Markieren Sie den "class"-Namen (im Format bi bi-meinIcon) aund kopieren Sie ihn in Ihre Zwischenablage (Strg+c).
  4. Gehen Sie zurück auf Ihre Wikiseite.
  5. Geben Sie im visuellen Bearbeitungsmodus über Ihr Keyboard zwei geschweifte Klammern ein {{ . Der Vorlagen-Editor öffnet sich.
    Vorlagen-Editor
    Vorlagen-Editor
  6. Fügen Sie das Icon aus der Zwischenablage ein (Strg+v):
  7. Ändern Sie die Schriftgröße (optional), wenn Sie das Icon größer oder kleiner als die umgebende Schriftgröße darstellen wollen. Kleinere Icons sind meistens nicht kleiner als 0.85em und größere Icons meistens bis höchstens 2.5em.
  8. Farbe: Wenn Sie möchten, dass sich die Farbe vom umgebenden Text unterscheidet, können Sie eine beliebige Webfarbe angeben (z. B. einen Farbnamen wie blue oder einen Hex-Wert wie #0059b3 für ein spezifischeres Blau). Eine Liste der Webfarben finden Sie unter https://www.w3schools.com/colors/colors_picker.asp
  9. Vertikale Ausrichtung: Es sollte nicht erforderlich sein, einen Ausrichtungswert anzugeben. Der Standard ist auf text-top eingestellt und funktioniert normalerweise in Überschriften und im Fließtext. Wenn es schlecht ausgerichtet aussieht, können Sie andere Werte für die vertikale Ausrichtung ausprobieren, z. B. text-bottom. Eine vollständige Liste der möglichen Werte finden Sie unter https://www.w3schools.com/cssref/pr_pos_vertical-align.asp.
  10. Klicken Sie auf Änderungen speichern.


Das Icon ist nun auf der Seite sichtbar.

Inserted Bootstrap icon

Icon Beispiele

bi bi-alarm bi bi-archive bi bi-arrow-down-circle bi bi-arrow-right-circle bi bi-award
bi bi-bag bi bi-bar-chart bi bi-bell bi bi-bicycle bi bi-book
bi bi-box bi bi-box2 bi bi-braces-asterisk bi bi-bricks bi bi-briefcase
bi bi-broadcast bi bi-briefcase bi bi-briefcase bi bi-bug bi bi-building
bi bi-calculator bi bi-calendar-date bi bi-card-image bi bi-chat-dots bi bi-clipboard-check
bi bi-cloud bi bi-code-square bi bi-columns-gap bi bi-chat-dots bi bi-cup
bi bi-door-open bi bi-envelope bi bi-eye bi bi-flower1 bi bi-gear



Feedback zur Dokumentation ist im Community-Forum möglich.

Keine Kategorien vergebenBearbeiten

Diskussionen