Template:Border/doc: Difference between revisions

m
Text replacement - " " to " "
m (fixed Category)
m (Text replacement - " " to " ")
 
Line 15: Line 15:
==== Parameters ====
==== Parameters ====


;''element'' 
;''element''  
:(required) The element (image, text, etc) around which the border is to appear. <!--
:(required) The element (image, text, etc) around which the border is to appear. <!--
; ''display'' {{nobold|1==noinline}} : The ''element'''s position sometimes seems to be shifted due to the default inline formatting style used by this template. When this occurs, adding the parameter <code>display=noinline</code> may restore the positioning.
; ''display'' {{nobold|1==noinline}} : The ''element'''s position sometimes seems to be shifted due to the default inline formatting style used by this template. When this occurs, adding the parameter <code>display=noinline</code> may restore the positioning.
-->  
-->  
;''width'' &nbsp;
;''width''
:The width (thickness) of the border (default 1px).
:The width (thickness) of the border (default 1px).


;''style'' &nbsp;
;''style''
:The border's style: ''solid'' (default if the parameter is not used), ''dotted'', ''dashed'', ''double'', ''groove'', ''ridge'', ''inset'' or ''outset''.
:The border's style: ''solid'' (default if the parameter is not used), ''dotted'', ''dashed'', ''double'', ''groove'', ''ridge'', ''inset'' or ''outset''.


;''color'' &nbsp;
;''color''
:The border's color (default #ddd, otherwise recommend a [[Web colors#X11_color_names|named color]]).
:The border's color (default #ddd, otherwise recommend a [[Web colors#X11_color_names|named color]]).


;''noinline''&nbsp;
;''noinline''  
:Set this to any value to remove the inline style.
:Set this to any value to remove the inline style.


Approver, Batcheditor, Moderator, Patroller, Protector, Reviewer, Bots, Bureaucrats, editor, Interface administrators, pagecreator, pagedeleter, Page Ownership admin, Push subscription managers, smwadministrator, smwcurator, smweditor, Suppressors, Administrators, Upload Wizard campaign editors, Widget editors
795,753

edits