Template:Userbox/doc
From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history
How to use[edit source]
Just add {{Userbox}}
to your user page to display this.
Examples[edit source]
{{Userbox researcher}}
{{Userbox scientist}}
{{Userbox fibro}}
This user has Fibromyalgia. |
{{Userbox zebra}}
{{Userbox language|language=Danish}}
{{Userbox Nederlands}}
NL | This user speaks Dutch. |
{{Userbox Nederlands/nl}}
NL | Deze gebruiker spreekt nederlands. (This user speaks Dutch.) |
{{Userbox deutsch}}
German flag / German
{{Userbox deutsch/de}}
Austria flag / German
{{Userbox deutsch/de|id=[[File:Austria_flag.svg.png|45px|center]] }}
{{Userbox health}}
{{Userbox knowledge|[[Mast cell activation syndrome|Mast Cell Activation Syndrome]]}}
This user is knowledgeable about Mast Cell Activation Syndrome |
{{Userbox art}}
{{Userbox art PD}}
This user's own art uses a public domain license. |
Create a gap after userboxes:
{{clear}}
Userboxes available[edit source]
- Template:Userbox
- Template:Userbox art
- Template:Userbox art PD
- Template:Userbox deutsch
- Template:Userbox deutsch/de
- Template:Userbox deutsch/doc
- Template:Userbox fibro
- Template:Userbox health
- Template:Userbox knowledge
- Template:Userbox language
- Template:Userbox mentalhealth
- Template:Userbox Nederlands
- Template:Userbox Nederlands/nl
- Template:Userbox researcher
- Template:Userbox scientist
- Template:Userbox zebra
Request a userbox[edit source]
Visit the talk page
Examples to customize[edit source]
Code | Result | ||
---|---|---|---|
{{userbox}} |
| ||
{{userbox | border-c = #333333 | id = [[File:Microscope_science.png|40px|center]] | id-c = #ffffff | info = This user is a '''scientist'''. | info-c = #222222 | info-s = 10 | info-fc = #ffffff | info-lh = 1.25 }} |
|||
{{userbox | border-c = #333333 | id = [[File:Academic_researcher.svg|70px|center]] | id-c = #ffffff | info = This user is a<br><span style="font-size:110%;word-wrap:pre">'''researcher or academic'''.</span> | info-c = #222222 | info-fc = #ffffff | info-lh = 1.25 | info-s = 10 }} |
|||
{{userbox | border-c = purple | id = [[File:purple_ribbon_fibromyalgia.svg|40px|center]] | id-c = #ffffff | info-s = 12 | info = This user has<br >[[Fibromyalgia]]. | info-c = #ffeeff | id-a = center | info-a = center }} |
| ||
{{userbox | border-c = #ff0000 | id = [[File:Healthcare_1.png|55px|center]] | id-c = #ffffff | info = This person is a qualified<br >'''health care professional.''' | border-s = 2 }} |
|||
{{userbox | id = [[File:Blue_ribbon_ME.svg|40px|center]] | id-c = #ffffff | info = This person lives with<br >[[Myalgic encephalomyelitis|Myalgic Encephalomyelitis]]. | info-c = #f6f6f6 }} |
| ||
{{userbox | border-c = #aaaaaa | id = [[File:Brain_mind_bright.jpg|50px|center]] | id-c = #000000 | info = This user supports<br >'''[[Mental health|Mental health]]'''<br >awareness. | info-c = #f6f6f6 }} |
| ||
{{userbox | id = [[File:Book_stack_color.png|40px|center]] | id-c = #ffffff | info = This user is knowledgeable about<br >'''[[Multiple chemical sensitivity|Multiple chemical sensitivity]]''' }} |
| ||
{{userbox | id = [[File:Blue_ribbon_ME.svg|40px|center]] | id-c = #ffffff | info = This user fundraises for research into<br >[[Myalgic encephalomyelitis |Myalgic Encephalomyelitis]]. }} |
| ||
{{userbox | border-c = #333333 | id = [[File:Chemistry.svg|45px|center ]] | id-c = #ffffff | info = This user is a <span style="font-size:125%">scientist</span>. | info-c = #222222 | info-s = 10 | info-fc = #ffffff | info-lh = 1.35 }} |
|||
{{userbox | id = [[File:Zebra_rare_disease.jpg|60px|center]] | id-c = #ffffff | info = This user has a<br><span style="font-size:125%">'''rare disease'''</span>. | info-c = #fefefe | info-fc = #222222 | border-c = #000000 | border-s = 2 }} |
|||
{{userbox | id = CFS | info = This user has<br ><span style="font-size:125%">'''[[Chronic fatigue syndrome|Chronic Fatigue Syndrome]]'''</span>. | id-a = center }} |
|
Line breaks[edit source]
Add invisible <code ></code > in places where you would prefer a line break, but only if necessary.
Usage[edit source]
{{userbox | bodyclass = <!--Adds an HTML class to the entire template's HTML table, to for styling, etc.--> | border-c = <!--border color (default=id-c)--> | border-s = <!--border width in px (default=1, other widths may make userbox difficult to stack)--> | float = <!--left|right|none (default=left)--> | id = <!--image or text (images should not exceed 90x45px)--> | id-a = <!--horizontal alignment left/center/right/justify (default=center)--> | id-c = <!--background color--> | id-fc = <!--font color (default=white)--> | id-h = <!--box height in px, default=45--> | id-lh = <!--line height, default=1.25em--> | id-op = <!--other CSS parameters--> | id-p = <!--id cell padding (default=auto 1px auto 1px)--> | id-s = <!--text size in points (default=14)--> | id-w = <!--id box width in px (default=45)--> | info-class = <!--Adds HTML classto "info" table-row, for styling, etc.--> | info = <!--info text or image--> | info-a = <!--info horizontal alignment left/center/right/justify (default=left)--> | info-c = <!--info background color--> | info-fc = <!--info font color--> | info-lh = <!--info line height (default=1.25em)--> | info-op = <!--info other CSS parameters--> | info-p = <!--info padding (default=auto 1px auto 1px)--> | info-s = <!--info text size in points (default=8)--> | nocat = <!--block page category declarations; (default=false)--> | usercategory = <!--user category (optional, unlinked and without the "Category:" part)--> | usercategory2 = | usercategory3 = | usercategory4 = | usercategory5 = }}
- All parameters are optional
- Images should normally be scaled to x45px or less.
Most HTML-based tables use only a handful of these attributes. The following subset can be used to quickly convert an HTML userbox into the format used here:
{{userbox | border-c = | id = | id-c = | id-fc = | id-s = | info = | info-c = | info-fc = | info-lh = | info-s = }}