Knowledge (XXG)

Template:Border

Source 📝

26: 57: 150:
is the text, image, etc. around which the border is to appear. The border will be a solid light grey color (#ddd) and 1px (1 pixel) wide by default (for custom settings; see below).
475: 460: 448: 41: 487: 444: 37: 430: 110:
This template is used to place a customized border around text or an image. Note, to add a plain border to an image, use the
503: 45: 119: 470: 73: 455: 69: 77: 419: 91: 81: 483: 438: 33: 395:
tags. This is required if the template's content uses div tags or contains multiple lines of text.
408: 434: 497: 224:(required) The element (image, text, etc) around which the border is to appear. 335: 64: 20: 68:
and changes may be widely noticed. Test changes in the template's
51: 334:
The border's color (default #ddd, otherwise recommend a
464: 324:
Additional CSS properties can be used in this template.
100: 204:{{border |Abc|width=2px|style=dotted |color=red}} 268:The width (thickness) of the border (default is 8: 454:Editors can experiment in this template's 286:(default if the parameter is not used), 242:(default if the parameter is not used), 384: 354: 80:. Consider discussing changes on the 7: 392: 388: 387:to wrap the template's content in 355:|noinline=<anytext> 14: 393:<span>...</span> 120:Knowledge (XXG):Picture tutorial 55: 24: 389:<div>...</div> 65:approximately 2,500 pages 1: 385:|div=<anytext> 391:tags instead of the default 520: 428: 89: 488:Subpages of this template 84:before implementing them. 76:subpages, or in your own 63:This template is used on 357:to replace the default 482:Add categories to the 29:Template documentation 504:Text color templates 439:Template:Border/doc 280:The border's style 164:All options show: 343:Inline of element 88: 87: 511: 479: 468: 452: 424: 418: 413: 407: 394: 390: 386: 373: 367: 360: 356: 271: 236:s display method 209: 205: 198: 160: 156: 145: 117: 113: 103: 59: 58: 52: 49: 30: 28: 27: 18: 519: 518: 514: 513: 512: 510: 509: 508: 494: 493: 492: 491: 481: 473: 458: 453: 442: 427: 422: 416: 411: 405: 402: 371: 370:Inline reading 365: 358: 345: 269: 216: 207: 203: 168: 158: 154: 139: 138:Basic usage is 136: 131: 125: 115: 111: 108: 107: 99: 94: 56: 50: 31: 25: 23: 16: 12: 11: 5: 517: 515: 507: 506: 496: 495: 426: 425: 414: 401: 398: 397: 396: 381: 375: 374: 368: 362: 361:display style. 351: 344: 341: 340: 339: 332: 326: 325: 322: 316: 315: 281: 274: 273: 266: 260: 259: 237: 226: 225: 222: 215: 212: 211: 210: 200: 199: 162: 161: 155:{{border|Abc}} 135: 132: 130: 127: 106: 105: 95: 90: 86: 85: 60: 22: 21: 13: 10: 9: 6: 4: 3: 2: 516: 505: 502: 501: 499: 489: 485: 477: 472: 466: 462: 457: 450: 446: 440: 436: 432: 431:documentation 421: 420:legend inline 415: 410: 404: 403: 399: 382: 380: 377: 376: 369: 363: 352: 350: 347: 346: 342: 337: 333: 331: 328: 327: 323: 321: 318: 317: 313: 309: 305: 301: 297: 293: 289: 285: 282: 279: 276: 275: 267: 265: 262: 261: 257: 253: 249: 245: 241: 238: 235: 231: 228: 227: 223: 221: 218: 217: 213: 202: 201: 196: 192: 188: 184: 180: 176: 172: 167: 166: 165: 153: 152: 151: 149: 143: 133: 128: 126: 123: 121: 114:parameter in 102: 97: 96: 93: 83: 79: 75: 71: 67: 66: 61: 54: 53: 47: 43: 39: 35: 19: 423:}} 417:{{ 412:}} 406:{{ 378: 359:inline-block 348: 329: 319: 311: 307: 303: 299: 295: 291: 287: 283: 277: 263: 255: 251: 247: 243: 240:inline-block 239: 233: 229: 219: 194: 190: 186: 182: 178: 174: 170: 163: 147: 141: 137: 124: 109: 104:}} 98:{{ 78:user subpage 62: 15: 435:transcluded 336:named color 195:line height 44:] [ 40:] [ 36:] [ 429:The above 364:Some text 214:Parameters 169:{{border | 74:/testcases 486:subpage. 471:testcases 409:color box 187:2nd style 173:|display= 140:{{border| 82:talk page 498:Category 400:See also 349:noinline 234:element' 206:→ 185:|style2= 157:→ 146:, where 92:Shortcut 70:/sandbox 463:| 456:sandbox 449:history 447:| 230:display 220:element 189:|color= 181:|style= 177:|width= 175:display 171:element 148:element 142:element 112:|border 42:history 17:{{{1}}} 480:pages. 320:style2 312:outset 300:groove 296:double 292:dashed 288:dotted 258:, etc. 248:inline 129:Syntax 437:from 330:color 308:inset 304:ridge 284:solid 278:style 264:width 252:table 244:block 191:color 183:style 179:width 134:Basic 118:(see 48:] 46:purge 32:[ 484:/doc 476:edit 469:and 465:diff 461:edit 445:edit 383:Set 353:Set 256:flex 232:The 193:|lh= 38:edit 34:view 433:is 379:div 372:Abc 366:Abc 310:or 270:1px 208:Abc 159:Abc 122:). 101:Bor 72:or 500:: 441:. 338:). 306:, 302:, 298:, 294:, 290:, 272:). 254:, 250:, 246:, 197:}} 144:}} 490:. 478:) 474:( 467:) 459:( 451:) 443:( 314:. 116:]

Index

view
edit
history
purge
approximately 2,500 pages
/sandbox
/testcases
user subpage
talk page
Shortcut
Bor
Knowledge (XXG):Picture tutorial
named color
color box
legend inline
documentation
transcluded
Template:Border/doc
edit
history
sandbox
edit
diff
testcases
edit
/doc
Subpages of this template
Category
Text color templates

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.