টেমপ্লেট:টেবিল-পরীক্ষামূলক
পরীক্ষামূলক |
এই টেমপ্লেটটি অধিক পাতায় ব্যবহৃত হয়েছে ,ফলে এর যে কোন পরিবর্তন ব্যাপকভাবে দেখা যাবে। দয়া করে যে কোন ধরনের পরিবর্তন টেমপ্লেটটির /খেলাঘর বা /পরীক্ষা উপপাতা অথবা আপনার ব্যবহারকারী উপপাতায় পরীক্ষা করুন। বাস্তবায়নের পূর্বে আলাপ পাতায় পরিবর্তন সম্পর্কে আলোচনা করুন। |
The templates in this series are designed to be used in a table to make a cell with text in that cell, with an appropriately colored background. They are commonly used in comparison tables. Most of these templates should not be used simply to produce a background color, use them according to their meaning.
For example, {{yes}}
makes a cell with a green background. The text in the cell is taken from the first parameter; {{yes|Sure}}
would output "Sure" otherwise it defaults to "Yes". Most templates allow authors to override the default text in this way, some require text put after the template call and some also need a vertical bar in between: {{table cell template}} text
or {{table cell template}} | text
. This information, the colors and default texts are found in the table below.
Important: If you want to use other attributes for the table cells, e.g. colspan
, rowspan
, or style
, they need to be put before the template call, and there must be no vertical bar (aka pipe) |
in-between them:
হ্যাঁ | না | — |
---|---|---|
হ্যাঁ/না |
...
!{{Yes}} ||{{No}} ||rowspan=2 {{n/a}}
|-
|colspan=2 style="border:solid 3px Maroon" {{Yes-No}}
...
Templates
সম্পাদনাClass[১] | Default | Customized | ||
---|---|---|---|---|
Syntax | Preview | Syntax | Preview | |
table-rh
|
{{rh}} | Row header[২] |
Row header | {{rh|align=right}} | Row header |
Row header |
{{rh2}} | Row header[২] |
Row header | {{rh2|align=center}} | Row header |
Row header | |
table-yes
|
{{yes}} |
হ্যাঁ | {{yes|customized [[Plain text|text]]}} |
customized text |
{{yes C}} |
টেমপ্লেট:Yes C | {{yes C|customized [[Plain text|text]]}} |
টেমপ্লেট:Yes C | |
{{yes O}} |
টেমপ্লেট:Yes O | {{yes O|customized [[Plain text|text]]}} |
টেমপ্লেট:Yes O | |
{{yes N}} |
টেমপ্লেট:Yes N | {{yes N|customized [[Plain text|text]]}} |
টেমপ্লেট:Yes N | |
table-maybe
|
{{maybe}} |
সম্ভবত | {{maybe|customized [[Plain text|text]]}} |
customized text |
table-no
|
{{no}} |
না | {{no|customized [[Plain text|text]]}} |
customized text |
{{no O}} |
না | {{no O|customized [[Plain text|text]]}} |
customized text | |
{{no X}} |
না | {{no X|customized [[Plain text|text]]}} |
customized text | |
{{eliminated}} |
অপনীত | {{eliminated|dropped out}} |
dropped out | |
{{lost}} |
পরাজিত | {{lost|missing}} |
missing | |
{{active fire|12%}} [৩] |
সক্রিয় (12%) | |||
{{safe}} |
নিরাপদ | {{safe|protected}} |
protected | |
{{no Y}} |
না | {{no Y|customized [[plain text|text]]}} |
customized text | |
table-active
|
{{active}} |
Active | {{active|live}} |
live |
table-siteactive
|
{{site active}} |
সক্রিয় | {{site active|up}} |
up |
{{coming soon}} |
শীঘ্রই আসছে | {{coming soon|second half of the year}} |
second half of the year | |
table-siteinactive
|
{{site inactive}} |
সক্রিয় নয় | {{site inactive|down}} |
down |
table-success
|
{{success}} |
সাফল্য | {{success|mission complete}} |
mission complete |
{{operational}} |
পরিচালনাগত | {{operational|returning data}} |
returning data | |
table-failure
|
{{failure}} |
ব্যর্থতা | {{failure|wrong orbit}} |
wrong orbit |
table-yes2
|
{{yes2}} |
{{yes2|text}} |
text | |
{{good}} |
ভালো হয়েছে | {{good|A}} |
A | |
{{ya}} |
{{ya|text=ya}} |
|||
{{ya|Ya}} |
{{ya|text|link=WP:ALT}} |
|||
{{yan}} |
টেমপ্লেট:Yan | {{yan|text=ya}} |
টেমপ্লেট:Yan | |
{{won}} |
বিজয়ী | {{won|text=white|color=darkblue|winner}} |
winner | |
{{won|place=1}} |
বিজয়ী | {{won|place=gold}} |
বিজয়ী | |
{{won|place=2}} |
বিজয়ী | {{won|place=silver}} |
বিজয়ী | |
{{won|place=3}} |
বিজয়ী | {{won|place=bronze}} |
বিজয়ী | |
{{WinDL}} |
টেমপ্লেট:WinDL | {{WinDL|win}} |
টেমপ্লেট:WinDL | |
{{WinDL|res=D}} |
টেমপ্লেট:WinDL | {{WinDL|res=draw}} |
টেমপ্লেট:WinDL | |
{{WinDL|res=L}} |
টেমপ্লেট:WinDL | {{WinDL|res=loss}} |
টেমপ্লেট:WinDL | |
table-no2
|
{{no2}} |
{{no2|text}} |
text | |
{{na}} |
{{na|text=na}} |
na | ||
{{na|Na}} |
{{na|text|link=WP:ALT}} |
|||
{{nan}} |
{{nan|text=na}} |
na | ||
{{nom}} |
মনোনীত | {{nom|5}} |
5 | |
{{notnom}} |
মনোনীত হয়নি | {{notnom|not selected}} |
not selected | |
{{sho}} |
বাছাইকৃত | {{sho|proposed}} |
proposed | |
{{longlisted}} |
Longlisted | {{longlisted|rejected}} |
rejected | |
{{TBA}} |
ঘোষিত হবে | {{TBA|to be announced}} |
to be announced | |
table-partial
|
{{partial}} |
আংশিক | {{partial|almost done}} |
almost done |
{{Regional}} |
আঞ্চলিক | {{Regional|Uyghur}} |
Uyghur | |
{{MaybeCheck}} |
{{MaybeCheck|text=possibly}} |
possibly | ||
{{MaybeCheck|possibly}} |
{{MaybeCheck|text|link=WP:ALT}} |
|||
{{partial success}} |
আংশিক সাফল্য | {{partial success| |
reached orbit and returned pictures | |
{{partial failure}} |
আংশিক ব্যর্থতা | {{partial failure|[[Cubesat]] not deployed}} |
Cubesat not deployed | |
{{okay}} |
নিরপেক্ষ | {{okay|C}} |
C | |
{{Yes-No}} |
হ্যাঁ/না | {{Yes-No|yes with an if; no with a but}} |
yes with an if; no with a but | |
{{some}} |
কিছু | {{some|many}} |
many | |
{{pending}} |
প্রক্রিয়াধীন | {{pending|awaiting}} |
awaiting | |
{{sometimes}} |
কখনও কখনও | {{sometimes|occasionally}} |
occasionally | |
{{rarely}} |
কদাচিৎ | {{rarely|seldom}} |
seldom | |
{{usually}} |
সাধারণত | {{usually|commonly}} |
commonly | |
{{unofficial}} |
বেসরকারী | {{unofficial|''de facto''}} |
de facto | |
{{unofficial2}} |
বেসরকারী | {{unofficial2|''de facto''}} |
de facto | |
{{nonpartisan}} |
নির্দলীয় | {{nonpartisan|impartial}} |
impartial | |
table-any
|
{{any}} |
যে কোনো | {{any|anyone}} |
anyone |
table-automatic
|
{{perhaps}} |
সম্ভবত | {{perhaps|maybe}} |
maybe |
table-draw
|
{{draw}} |
{{draw|1:1}} |
1:1 | |
table-noAttempt
|
{{No attempt}} |
No attempt | {{No attempt|No landing attempted}} |
No landing attempted |
table-na
|
{{n/a}} |
— | {{n/a|unavailable}} |
unavailable |
{{varies}} |
পরিবর্তনশীল | {{varies|differs}} |
differs | |
{{non-album single}} [৪] |
non-album single | {{non-album single|EP}} |
non-album single | |
{{unreleased}} |
অপ্রকাশিত | {{unreleased|shelved}} |
shelved | |
{{BLACK}} |
N/A | {{BLACK|banned}} |
banned | |
{{sdash}} |
— | {{sdash|[[File:Dash.svg|13px|dash icon]]}} |
||
{{vacant}} |
খালি | {{vacant|missing}} |
missing | |
table-unknown
|
{{unknown}} |
অজানা | {{unknown|?}} |
? |
{{dunno}} |
? | {{dunno|not sure}} |
not sure | |
table-included
|
{{included}} |
অন্তর্ভুক্ত | {{included|incorporated}} |
incorporated |
noresult
|
{{no result}} |
ফলাফল হয়নি | {{no result|NR}} |
NR |
table-planned
|
{{planned}} |
পরিকল্পিত | {{planned|July 2028}} |
July 2028 |
table-scheduled
|
{{scheduled}} |
তালিকাভুক্ত | {{scheduled|3 March 2027}} |
3 March 2027 |
table-software [৫]
|
{{beta}} |
বেটা | {{beta|preview}} |
preview |
{{table-experimental}} |
পরীক্ষামূলক | {{table-experimental|lab}} |
lab | |
{{nightly}} |
রাত্রি নির্মাণ | {{nightly|dev}} |
dev | |
{{release-candidate}} |
মুক্তির প্রার্থী | {{release-candidate|RC}} |
RC | |
{{open source}} |
উন্মুক্ত উৎস | {{open source|software libre}} |
software libre | |
{{free}} |
মুক্ত | {{free|empty}} |
empty | |
{{proprietary}} |
মালিকানা | {{proprietary|custom extension}} |
custom extension | |
{{nonfree}} |
অ-মুক্ত | {{nonfree|paid}} |
paid | |
{{needs}} |
চাহিদা | {{needs|req.}} |
req. | |
table-depends
|
{{depends}} |
নির্ভর করে | {{depends|vendor-defined}} |
vendor-defined |
table-dropped
|
{{dropped}} |
বাদ | {{dropped|discontinued}} |
discontinued |
{{terminated}} |
পর্যবসিত | {{terminated|fired}} |
fired | |
incorrect
|
{{incorrect}} |
সঠিক নয় | {{incorrect|wrong}} |
wrong |
table-debate
|
{{D-P}} |
টেমপ্লেট:D-P | {{D-P|present}} |
টেমপ্লেট:D-P |
{{D-A}} |
টেমপ্লেট:D-A | {{D-A|absent}} |
টেমপ্লেট:D-A | |
{{D-I}} |
টেমপ্লেট:D-I | {{D-I|invited}} |
টেমপ্লেট:D-I | |
{{D-O}} |
টেমপ্লেট:D-O | {{D-O|invited to other debate}} |
টেমপ্লেট:D-O | |
{{D-N}} |
টেমপ্লেট:D-N | {{D-N|not invited}} |
টেমপ্লেট:D-N | |
{{D-Nv}} |
টেমপ্লেট:D-Nv | {{D-Nv|not voting}} |
টেমপ্লেট:D-Nv | |
{{D-W}} |
টেমপ্লেট:D-W | {{D-W|withdrawn}} |
টেমপ্লেট:D-W | |
{{D-Out}} |
টেমপ্লেট:D-Out | {{D-Out|out of race}} |
টেমপ্লেট:D-Out | |
table-cast [৬]
|
{{CMain}} |
কেন্দ্রীয় | {{CMain|text}} |
text |
{{CAlso starring}} |
টেমপ্লেট:CAlso starring | {{CAlso starring|costar}} |
টেমপ্লেট:CAlso starring | |
{{CRecurring}} |
পুনরাবৃত্ত | {{CRecurring|regular guest}} |
regular guest | |
{{CGuest}} |
অতিথি | {{CGuest|victim}} |
victim | |
{{COther}} |
টেমপ্লেট:COther | {{COther|ensemble}} |
টেমপ্লেট:COther | |
{{CNone}} |
{{CNone|cast}} |
cast | ||
{{CEmpty}} |
||||
{{CRemoved}} |
টেমপ্লেট:CRemoved | {{CRemoved|edited}} |
টেমপ্লেট:CRemoved | |
{{CFinalist}} |
টেমপ্লেট:CFinalist | {{CFinalist|contender}} |
টেমপ্লেট:CFinalist | |
{{CFinalist|place=3rd Place}} |
টেমপ্লেট:CFinalist | {{CFinalist|place=third place}} |
টেমপ্লেট:CFinalist | |
{{exempt}} |
টেমপ্লেট:Exempt | {{Black Exempt}} |
টেমপ্লেট:Black Exempt | |
{{nocontest}} |
{{nocontest|rescheduled}} |
|||
{{Runner-up}} |
রানার আপ | {{Runner-up|2nd Place}} |
2nd Place | |
{{Quit}} |
অব্যাহতি | {{Quit|left}} |
left | |
no class | {{not yet}} |
এখনো না | {{not yet|NY}} |
NY |
{{optional}} |
ঐচ্ছিক | {{optional|non-mandatory}} |
non-mandatory | |
{{shade|100}} % |
টেমপ্লেট:Shade% | {{shade|color=blue|100}} % |
টেমপ্লেট:Shade% | |
{{shade|75}} % |
টেমপ্লেট:Shade% | {{shade|color=blue|75|73–78}} % |
টেমপ্লেট:Shade% | |
{{shade|25}} % |
টেমপ্লেট:Shade% | {{shade|color=blue|25|{{val|25|2|u=%}}}} |
টেমপ্লেট:Shade | |
{{shade|0}} % |
টেমপ্লেট:Shade% | {{shade|color=blue|0}} % |
টেমপ্লেট:Shade% | |
{{Cell color|90|25|90}} |
টেমপ্লেট:Cell color | {{Cell color|90|25|90|a80202|0d89fc}} |
টেমপ্লেট:Cell color | |
{{Cell color|58|25|90}} |
টেমপ্লেট:Cell color | {{Cell color|58|25|90|a80202|0d89fc}} |
টেমপ্লেট:Cell color | |
{{Cell color|25|25|90}} |
টেমপ্লেট:Cell color | {{Cell color|25|25|90|a80202|0d89fc}} |
টেমপ্লেট:Cell color | |
{{CellCategory|2|Some text}} |
টেমপ্লেট:CellCategory |
Code
সম্পাদনাCommon code to most if not all the templates in this series:
style="background: #abcdef; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}" class="automatic table-automatic"| {{{1|text}}}
Code specific to this template:
style="background: #DFDFFF; color: black; vertical-align: middle; text-align: center; " class="experimental table-experimental"|পরীক্ষামূলক
Creating new templates
সম্পাদনাTo make a new table cell template you can use:
{{subst:Table cell templates|text= default text |bg= background color |class= a class name without prefix |align= standard horizontal alignment}}
You should leave out the align
parameter and often the class
parameter is unnecessary, too.
Add the new template to the table in the common documentation afterwards. Please consider reusing one of the other templates and please choose the color sensibly.
If you find a table cell template that does not take a parameter and you want to be able to change the text in the cell, do not duplicate the template! Instead, edit the template and change the text to a default parameter substitution. For example, if a template's text is Dropped
, change that to {{{1|Dropped}}}
.
style="background: #abcdef; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}" class="automatic table-automatic"| {{{1|text}}}
Choosing a color
সম্পাদনাWhen changing or creating a new template, follow the use of colour guidelines and the color accessibility guidelines when choosing the background color and, sometimes, the text color. Many of these templates can be used with links to other articles or references, so the links should be clearly identifiable against the background color. You can check contrast level using the WebAIM contrast checker by setting the foreground color to the blue link color. Contrast should be at the minimum WCAG AA level and, whenever possible, at WCAG AAA level. Wikipedia:Manual of Style/Accessibility/Colors has a set of colors that comply with WCAG AAA and WCAG AA for unvisited links and normal text.
Color subpage
সম্পাদনাAll templates should either have a /bgcolor
subpage that contains nothing but a valid CSS color code, possibly wrapped in nowiki tags, e.g. #BFD
, which can be included with background: {{/bgcolor}};
in the style
attribute, or they should reference another template's subpage, e.g. background: {{Template:Yes2/bgcolor}};
. Alternatively, the /bgcolor
subpage may redirect to another color code subpage: #REDIRECT [[yes2/bgcolor]]
.
This way, pages that are using these templates may also use {{legend}} and similar templates which can reference the actual color: {{legend|{{yes2/bgcolor}}|supported}}
TemplateData
সম্পাদনাটেবিল-পরীক্ষামূলক শীর্ষ
ছকের প্রতিটি ঘরকে নানা শৈলী ও রংয়ে দেখাবার জন্য অন্যতম একটি টেমপ্লেট।
প্যারামিটার | বিবরণ | ধরন | অবস্থা | |
---|---|---|---|---|
টেক্সট | 1 | text to be displayed instead of the default; if this doesn't work put the text after the template, possibly with a vertical bar | in between
| বিষয়বস্তু | ঐচ্ছিক |
আনুভূমিক সজ্জা | align | ছকের ঘরের মধ্যে লেখা 'বাম', 'ডান', 'মাঝে' বা 'জাস্টিফাইড' দেখানো
| স্ট্রিং | ঐচ্ছিক |
শৈলী | style | অতিরিক্ত CSS যদি ছকের ঘরের জন্য বসাথে চান তবে সেমিকোলন দিয়ে সেগুলো লিখুন
| স্ট্রিং | ঐচ্ছিক |
পটভূমি | color | একটি বৈধ CSS রংয়ের মান বা নাম দিয়ে ছকের ঘরগুলোর পটভূমির পূর্ব নির্ধারিত রং পাশ কাটাতে পারেন, কেবল কিছু টেমপ্লেটের মাধ্যমেই উপলব্ধ
| লাইন | ঐচ্ছিক |
See also
সম্পাদনা- {{Change}} – calculates, displays and color-codes changes between two values
- {{BSD-lic}} – specialized redirect for {{free}}
- {{GPL-lic}} – specialized redirect for {{free}}
- {{LGPL-lic}} – specialized redirect for {{free}}
- {{Active}} / {{No result}} / {{Eliminated}} for comparison tables
Notes
সম্পাদনা- ↑ The HTML class of table cell templates may be referenced in a user stylesheet to change appearance.
- ↑ ক খ Does not take a parameter; the content should be placed after the template call, separated by a pipe (|) character.
- ↑ This template is related to টেমপ্লেট:WikiProject link.
- ↑ This template is related to টেমপ্লেট:WikiProject link.
- ↑ This group of templates is related to টেমপ্লেট:WikiProject link.
- ↑ This group of templates is related to টেমপ্লেট:WikiProject link.