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

Skabelon:Infobox user

Fra Kammeraterikrig.dk
Version fra 7. jan. 2018, 23:58 af Bruger>Lady Aleena Bruger>Lady Aleena (adding userboxen field)
(forskel) ←Ældre version | Nuværende version (forskel) | Nyere version → (forskel)

<infobox theme="theme">

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

<default>Infobox user image</default> </image> <header></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>{{{user header}}}</header> <label>{{{label 1}}}</label> <label>{{{label 2}}}</label> <label>{{{label 3}}}</label> <label>{{{label 4}}}</label> <label>{{{label 5}}}</label> <label>{{{label 6}}}</label> <label>{{{label 7}}}</label> <label>{{{label 8}}}</label> <label>{{{label 9}}}</label> <label>{{{label 10}}}</label> </group> <group> <header></header> <navigation></navigation> </group> </infobox>

Your wiki got a version of Template:Documentation that is only relevant to Templates Wiki! Click here to revert it. For a documentation template you can use on your wiki, see Template:Documentation (copy) on Templates Wiki.
Template information, documentation, and installation instructions.
Expand the below text for usage and other information.

Template Documentation:
Note: The template above might be broken without the parameters; this is normal.
View, edit, or check the history of this documentation. (How does this work?)
Editors can experiment with this template's sandbox and testcases.
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.


Installation Instructions
Export this template, then import to install it.
Use edit summary: Copied from [[w:c:templates:Skabelon:Infobox user]] to properly attribute this template's editors.
There is no additional installation instructions for this template. If there is any, you may create it at Skabelon:Infobox user/install.
Indholdsfortegnelse