साँचा:Legend inline
दिखावट
| This template is used on many 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 uses TemplateStyles: |
Description
[संपादित करें]- Shows a legend with a coloured box.
- This template differs from Template:Legend only in that it uses display:inline to prevent line breaks after each legend.
Usage
[संपादित करें]See Template:Legend/doc for usage.
Example 1
[संपादित करें]That is a {{legend inline|#bfb|size=80%}} green box.
That is a green box.
Example 2
[संपादित करें]That is a {{legend inline|#bfb|text=green}} box.
That is a साँचा:Encodefirst box.
Example 3
[संपादित करें]That is a {{legend inline
|#bfb
|box
|border = 1px solid red
|textcolor = #00e
|size = 150%
|text = _green_}}.
That is a साँचा:Encodefirst box .
See also
[संपादित करें]- For the original version of this template using display:block, see {{Legend}}
- For legend rows representing lines, see {{legend-line}}
| ऊपर दिए गए निर्देश साँचा:Legend inline/doc से लिए गए है।(संपादन | इतिहास) संपादक इस साँचे के प्रयोगस्थल व प्रयोग पन्नों में प्रयोग कर सकते है। sandbox (create) and testcases (create) pages. कृपया /doc उपपृष्ठ पर श्रेणियाँ व विकियों के बिच की कड़ियाँ जोड़े। इस साँचे के उपपृष्ठ। |