{{{1}}}.mw-parser-output .documentation,.mw-parser-output .documentation-metadata{border:1px solid var(--border-color-base,#a2a9b1);background-color:#ecfcf4;col
{{{1}}}
| This template is used on approximately 3,400 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
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 |border parameter in [[File:...]] (see Wikipedia:Picture tutorial).
Basic usage is {{border|element}}, where element 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).
{{border|Abc}} → AbcAll options show:
{{border |element |display=display |width=width |style=style |style2=2nd style |color=color |lh=line height}}{{border |Abc|width=2px|style=dotted |color=red}} → Abc1px).|noinline=<anytext> to replace the default inline-block display style.|div=<anytext> to wrap the template's content in <div>...</div> tags instead of the default <span>...</span> tags. This is required if the template's content uses div tags or contains multiple lines of text.Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.