Template:LB
Jump to navigation
Jump to search
Standard Link Box for {{Wikipedia}}, etc. Brought to you by AJTA and UN:LEG.
Usage
{{LB|f={{{float|{{{f|right}}}}}}|image.png|80px|Text goes here.}}
Parameters
- 1 = image name
- 2 = image width
- 3 or text = text
- l = optional image link
- alt = image alt tag
- p = box padding (4px 6px 4px 4px)
- tp = text padding, you'll want to set this to '0' if there are more than 3 lines of text (4px 0 0 0)
- a = text-align (left)
- c = font-color (#000)
- t or fs = font-size (90%)
- lh = line-height (1.35em)
- ml or tml = text margin-left, controls the text that flows past the image (40px)
- imr = image margin-right (6px)
- b = border (1px solid <bc|#aaa>)
- bg = background (#f9f9f9)
Stuff you shouldn't have to change but might want to
- f or float = (right) by default
- image = replaces image altogether
- content = replaces both image and text areas
- m = margin (varies depending on float)
- w = width, very important for mobile (285px)
- s = styles
- pl = text padding-left
- pb = text padding-bottom
- ts = text styles
- if = image float
- is = image styles
- os = outside styles, do not use unless you have to