Toggle menu
Toggle personal menu
Ikke logget på
Your IP address will be publicly visible if you make any edits.

Skabelon:Infobox user/doc: Forskelle mellem versioner

Fra Kammeraterikrig.dk
Bruger>BaRaN6161TURK
m (Remove red links.)
 
m (1 version importeret)
 
(Ingen forskel)

Nuværende version fra 6. apr. 2022, 17:13

Description
This template is used to create a user infobox.
Syntax
Type {{infobox user|...}} at the top of the page with parameters as shown below.
Note
Some parameters of this template are inspired by being on Wikia Templates. When this template is taken elsewhere, they can be removed.

Usage

{{Infobox user
| theme             =
| title             =
| image             =
| caption           =
| name              =
| date joined       =
| first template    =
| favorite template =
| user rights       =
| status            =
| birth name        =
| birthday          =
| western zodiac    =
| eastern zodiac    =
| element           =
| location          =
| occupation        =

| user header =
| label 1     =
| user 1      =
| label 2     =
| user 2      =
| label 3     =
| user 3      =
| label 4     =
| user 4      =
| label 5     =
| user 5      =
| label 6     =
| user 6      =
| label 7     =
| user 7      =
| label 8     =
| user 8      =
| label 9     =
| user 9      =
| label 10    =
| user 10     =
}}

Preview

<infobox theme="theme">

   <title source="title"><default>Infobox user</default></title>
   <image source="image">

<default>Your Name image</default> </image> <header>Your Real Name</header> <label>Name</label> <label>Date joined</label> <label>First template</label> <label>Favorite template</label> <label>User rights</label> <label>Status</label> <label>Birthday</label> <group> <header>Zodiac signs</header> <label>Western</label> <label>Eastern</label> <label>Element</label> </group> <label>Location</label> <label>Occupation(s)</label> <label>Favorite things</label> <label>Pronunciation</label> <group> <header>Other things</header> <label>I edit</label> <label>OS</label> <label>DE</label> <label>Browser</label> <label>Text editor</label> <label></label> <label></label> <label></label> <label></label> <label></label> </group> <group> <header></header> <navigation></navigation> </group> </infobox> Click here to refresh the preview

{{Infobox user
| title             = Your User Name
| image             = Example.jpg
| caption           = Placeholder image
| name              = Your Name
| date joined       = 28 September 2017
| first template    = [[Template:Infobox city|Infobox city]]
| favorite template = [[Template:Infobox user|]]
| user rights       = user
| status            = active
| birth name        = Your Real Name
| birthday          = 10 July
| western zodiac    = Cancer
| eastern zodiac    = Boar
| element           = Water
| location          = Out of nowhere
| occupation        = What you do off wiki
| user header = Other things
| label 1     = I edit
| user 1      = barefoot
| label 2     = OS
| user 2      = Debian
| label 3     = DE
| user 3      = KDE
| label 4     = Browser
| user 4      = Firefox-esr
| label 5     = Text editor
| user 5      = Geany
| label 6     =
| user 6      =
| label 7     =
| user 7      =
| label 8     =
| user 8      =
| label 9     =
| user 9      =
| label 10    =
| user 10     =
}}

Theme

Using the theme parameter will set the theme name for your user infobox. So, if your theme is some cool theme, your user box theme will be .pi-theme-some-cool-theme. If your theme has special characters in it, you will need to see how the infobox parser interpreted your user name into a .pi-theme class by viewing the source code of the infobox after saving it the first time.

See the infobox CSS help for ways you can style your box in your personal css. However, only you will see your styles unless other users @import url("your styles") into their personal css file on the wiki.

Indholdsfortegnelse