Knowledge (XXG)

Template:Border/sandbox

Source 📝

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

Index

Template:Border
template sandbox
Template:Border
diff
test cases
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

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