Tritt unserem Discord bei und informiere dich auf unserem Twitter-Kanal über die aktuellsten Themen rund um Fallout!
ein bisschen übersetzt |
K →top: Aufräumen, replaced: Kategorie:Benutzerboxvorlagen → Kategorie:Vorlagen: Benutzerboxen |
||
| Zeile 2: | Zeile 2: | ||
Diese Vorlage ermöglicht Benutzern ihre Benutzerseite mit kleinen Informationen-Boxen auszustatten. | Diese Vorlage ermöglicht Benutzern ihre Benutzerseite mit kleinen Informationen-Boxen auszustatten. | ||
Für vorgefertigte Userboxen, siehe [[:Kategorie: | Für vorgefertigte Userboxen, siehe [[:Kategorie:Vorlagen: Benutzerboxen]]. | ||
==Benutzung== | ==Benutzung== | ||
Aktuelle Version vom 26. Juni 2024, 22:17 Uhr
| Diese Seite enthält Informationen zur Verwendung für Vorlage:Benutzerbox. |
Diese Vorlage ermöglicht Benutzern ihre Benutzerseite mit kleinen Informationen-Boxen auszustatten.
Für vorgefertigte Userboxen, siehe Kategorie:Vorlagen: Benutzerboxen.
Benutzung
{{Benutzerbox
|left image =Wiki.png
|text =Dieser Benutzer libt dieses Wiki!
}}
Alle diese Parameter sind komplett optional, obwohl man entweder die Parameter text oder image verwnden muss.
Parameter
(Standard: "#E7EADA")
bgMain background color of the box. Accepts standard HTML color names or RGB hex triplets.
(Standard: "#AAAAAA")
border colorColor of the box border. Accepts standard HTML color names or RGB hex triplets.
(Standard: "1")
border widthWidth of the box border in pixels.
(Standard: none)
clearSets CSS "clear" attribute for the box. Basically, this is used to "reset" floats (see below). For example, setting this to "left" will cause the box to appear at the left margin of the page even if there are left-floating elements before it (which would normally cause the box to appear to their right).
Available options:
- left: Resets floats to the left.
- right: Resets floats to the right.
- both: Resets all floats.
- none: Resets no floats.
(Standard: "left")
floatCSS "float".
Available options:
- none: Text does not flow around the box.
- left: Subsequent text floats around the box on the right.
- right: Subsequent text floats around the box on the left.
(Standard: "52")
heightHeight of the userbox in pixels.
(Standard: "#C9D0AC")
left bg, right bgBackground color of the respective section. Use
bg to modify the main background color (=the background of the middle section). Accepts standard HTML color names or RGB hex triplets.(Standard: "#000000")
left color, middle color, right colorFont color of the respective section. Accepts standard HTML color names or RGB hex triplets.
left image, right image
Name of image to be displayed in the respective section (without "File:"). Automatically resized according to the width of the section it is in (i.e.
left width or right width) and height. This means that in order to have an image appear bigger, you have to modify the width and/or height of the section it is in.
Both left image and right image override their corresponding text parameter, i.e. if you specify both left image and left text, left text will not be displayed.(Standard: "14" oder "8")
left size, middle size, right sizeFont size of the respective section in points.
left text, middle text oder text, right text
Text to be displayed in the respective section.
(Standard: "50")
left width, right widthWidth of the respective section in pixels. Keep in mind that all sections combined should not be wider than the box itself.
(Standard: "240")
widthWidth of the userbox in pixels.
Copy/paste
Standard colors
| image - text | text - image | image - text - image |
|---|---|---|
{{Benutzerbox
|left image =
|text =
}}
|
{{Benutzerbox
|right image =
|text =
}}
|
{{Benutzerbox
|left image =
|right image =
|text =
}}
|
| (left) text - text | text - (right) text | text - text - text |
{{Benutzerbox
|left text =
|text =
}}
|
{{Benutzerbox
|right text =
|text =
}}
|
{{Benutzerbox
|left text =
|text =
|right text =
}}
|
Custom colors
| image - text | text - image | image - text - image |
|---|---|---|
{{Benutzerbox
|bg =
|left bg =
|left image =
|middle color =
|middle text =
}}
|
{{Benutzerbox
|bg =
|middle color =
|middle text =
|right bg =
|right image =
}}
|
{{Benutzerbox
|bg =
|left bg =
|left image =
|middle color =
|middle text =
|right bg =
|right image =
}}
|
| text (left) - text | text - text (right) | text - text - text |
{{Benutzerbox
|bg =
|left bg =
|left color =
|left text =
|middle color =
|middle text =
}}
|
{{Benutzerbox
|bg =
|middle color =
|middle text =
|right bg =
|right color =
|right text =
}}
|
{{Benutzerbox
|bg =
|left bg =
|left color =
|left text =
|middle color =
|middle text =
|right bg =
|right color =
|right text =
}}
|
Examples
Standard
Colors and borders
|
{{Benutzerbox
|left text =?
|left color =#771
|left bg =#456
|bg =#0D592F
|middle text =The vault doors, they are gone.
|middle color=#FFF
|right text =?
|right color =#ADA
|right bg =#789
}}
| |||
|
{{Benutzerbox
|border width=5px
|border color=#396
|left image =Wiki.png
|middle text =This user likes ''Fallout Wiki''.
|right image =Wiki.png
}}
|
Height and width
|
{{Benutzerbox
|height =100
|left image =Wiki.png
|middle text =This user likes ''Fallout Wiki''.
|right image =Wiki.png
}}
| |||
|
{{Benutzerbox
|left image =Wiki.png
|middle text =This user likes ''Fallout Wiki''.
|width =180
}}
| |||
|
{{Benutzerbox
|middle text =This user likes ''Fallout Wiki''.
|right image =Wiki.png
|right width =100
}}
|
Technisches
- Standardized documentation for templates based on this one: {{Benutzerbox/doc/standard}}