টেমপ্লেট:আংশিক ব্যর্থতা

(টেমপ্লেট:Partial failure থেকে পুনর্নির্দেশিত)
আংশিক ব্যর্থতা
টেমপ্লেট নথি[দেখুন] [সম্পাদনা] [ইতিহাস] [শোধন]

এই সিরিজের টেমপ্লেট একটি টেবিলের মধ্যে ব্যবহৃত একটি কোষের সাথে একটি সেল তৈরি করতে ডিজাইন করা হয়েছে, একটি যথাযথ রঙের ব্যাকগ্রাউন্ডের সাথে। এগুলো সাধারণত তুলনা টেবিলে ব্যবহার করা হয়।

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. এই তথ্য, রং এবং ডিফল্ট গ্রন্থে নীচের সারণিতে পাওয়া যায়।

যদি আপনি টেবিলের সেলগুলির জন্য অন্যান্য বৈশিষ্ট্যাবলী ব্যবহার করতে চান তবে 'colspan বা rowspan, সেগুলিকে টেমপ্লেট ডাটার আগে লাগাতে হবে এবং কোন উল্লম্ব বার থাকা যাবেনা | তাদের মধ্যে:

হ্যাঁ না
হ্যাঁ/না
...
!{{Yes}} ||{{No}} ||rowspan=2 {{n/a}}
|-
|colspan=2 {{Yes-No}}
...

Templatesসম্পাদনা

Table cell templates
Class[১] Default syntax Preview (default) Customized syntax Preview (customized)
table-rh {{rh}} | Row header[২] Row header {{rh|align=right}} | Row header Row header
{{rh2}} | Row header[২] Row header {{rh2|align=right}} | Row header Row header
table-yes {{yes}} হ্যাঁ {{yes|Customized [[Plain text|text]]}} Customized text
{{available}} সহজলভ্য {{available|Unused}} Unused
{{contained}} অন্তর্ভুক্ত
table-maybe {{maybe}} সম্ভবত {{maybe|Customized [[Plain text|text]]}} Customized text
table-no {{no}} না {{no|Customized [[Plain text|text]]}} Customized text
{{bad}} খারাপ {{bad|F}} F
{{eliminated}} অপনীত {{eliminated|Dropped out}} Dropped out
{{active fire|12%}} সক্রিয় (12%)
{{lost}} পরাজিত {{lost|Missing}} Missing
{{safe}} নিরাপদ {{safe|Protected}} Protected
table-সক্রিয় {{সক্রিয়}} Active {{সক্রিয়|Lively}} Lively
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-yes2 {{good}} ভালো হয়েছে {{good|A}} A
{{yes2}} {{yes2|Text}} Text
{{ya}} Green tickY {{ya|text=Ya}} Green tickY
{{ya|Ya}} Green tickY {{ya|text|link=WP:ALT}} Green tickY
{{জয়}} বিজয়ী {{জয়|লেখা=white|রঙ=darkblue}} বিজয়ী
{{জয়|স্থান=১}} {{জয়|স্থান=স্বর্ণ}} স্বর্ণ
{{জয়|স্থান=২}} {{জয়|স্থান=রূপা}} রূপা
{{জয়|স্থান=৩}} {{জয়|স্থান=ব্রোঞ্জ}} ব্রোঞ্জ
table-no2 {{no2}} {{no2|Text}} Text
{{na}} No {{na|text=Na}} Na
{{na|Na}} Na {{na|text|link=WP:ALT}} text
{{nom}} মনোনীত {{nom|5}} 5
{{sho}} বাছাইকৃত {{sho|Proposed}} Proposed
{{longlisted}} Longlisted {{longlisted|Rejected}} Rejected
{{TBA}} ঘোষিত হবে {{TBA|To be announced}} To be announced
table-success {{success}} সাফল্য {{success|Mission complete}} Mission complete
{{operational}} পরিচালনাগত {{operational|Returning data}} Returning data
table-failure {{failure}} ব্যর্থতা {{failure|Wrong orbit}} Wrong orbit
table-partial {{partial}} আংশিক {{partial|Almost done}} Almost done
{{Regional}} আঞ্চলিক {{Regional|Uyghur}} Uyghur
{{MaybeCheck}} Maybe {{MaybeCheck|text=Possibly}} Possibly
{{MaybeCheck|Possibly}} Possibly {{MaybeCheck|text|link=WP:ALT}} text
{{partial success}} আংশিক সাফল্য {{partial success|Reached orbit and returned pictures}} 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
{{nonpartisan}} নির্দলীয় {{nonpartisan|Impartial}} Impartial
{{pending}} প্রক্রিয়াধীন {{pending|Awaiting}} Awaiting
{{unofficial}} বেসরকারী {{unofficial|''De facto''}} De facto
{{unofficial2}} বেসরকারী {{unofficial2|''De facto''}} De facto
{{usually}} সাধারণত {{usually|Commonly}} Commonly
{{rarely}} কদাচিৎ {{rarely|Seldom}} Seldom
{{sometimes}} কখনও কখনও {{sometimes|Occasionally}} Occasionally
table-any {{any}} যে কোনো {{any|Anyone}} Anyone
table-na {{n/a}} {{n/a|Unavailable}} Unavailable
{{varies}} পরিবর্তনশীল {{varies|Differs}} Differs
{{sdash}} {{sdash|[[File:Dash.svg|13px|link=|dash icon]]}} dash
{{BLACK}} N/A {{BLACK|Banned}} Banned
{{non-album single}} non-album single {{non-album single|Customized [[Plain text|text]]}} non-album single
{{unreleased}} অপ্রকাশিত {{unreleased|Customized [[Plain text|text]]}} Customized text
table-unknown {{unknown}} অজানা {{unknown|?}} ?
{{dunno}} ? {{dunno|Not sure}} Not sure
table-automatic {{perhaps}} সম্ভবত {{perhaps|Customized [[Plain text|text]]}} Customized text
table-depends {{depends}} নির্ভর করে {{depends|Customized [[Plain text|text]]}} Customized text
table-included {{included}} অন্তর্ভুক্ত {{included|Incorporated}} Incorporated
table-dropped {{dropped}} বাদ {{dropped|Discontinued}} Discontinued
{{terminated}} পর্যবসিত {{terminated|Fired}} Fired
table-beta {{beta}} বেটা {{beta|Preview}} Preview
table-experimental {{table-experimental}} পরীক্ষামূলক {{table-experimental|Customized [[Plain text|text]]}} Customized text
table-free {{free}} মুক্ত {{free|Customized [[Plain text|text]]}} Customized text
table-proprietary {{proprietary}} মালিকানা {{proprietary|Customized [[Plain text|text]]}} Customized text
table-nonfree {{nonfree}} অ-মুক্ত {{nonfree|Customized [[Plain text|text]]}} Customized text
table-needs {{needs}} চাহিদা {{needs|Customized [[Plain text|text]]}} Customized text
table-nightly {{nightly}} রাত্রি নির্মাণ {{nightly|Customized [[Plain text|text]]}} Customized text
table-release-candidate {{release-candidate}} মুক্তির প্রার্থী {{release-candidate|Customized [[Plain text|text]]}} Customized text
table-draw {{draw}} {{draw|Text}} Text
table-planned {{planned}} পরিকল্পিত {{planned|July 2018}} July 2018
table-scheduled {{scheduled}} তালিকাভুক্ত {{scheduled|3 March 2017}} 3 March 2017
incorrect {{incorrect}} সঠিক নয় {{incorrect|Customized [[Plain text|text]]}} Customized text
noresult {{no result}} ফলাফল হয়নি {{no result|N.R.}} N.R.
no class {{CMain}} কেন্দ্রীয় {{CMain|Customized [[Plain text|text]]}} Customized text
{{CRecurring}} পুনরাবৃত্ত {{CRecurring|Customized [[Plain text|text]]}} Customized text
{{CGuest}} অতিথি {{CGuest|Customized [[Plain text|text]]}} Customized text
{{CNone}} প্রদর্শিত হবে না {{CNone|Customized [[Plain text|text]]}} Customized text
{{nocontest}} {{nocontest|Customized [[Plain text|text]]}} Customized text
{{not yet}} এখনো না {{not yet|Customized [[Plain text|text]]}} Customized text
{{optional}} ঐচ্ছিক {{optional|Customized [[Plain text|text]]}} Customized text

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: wheat; color: black; vertical-align: middle; text-align: center; " class="table-partial" | আংশিক ব্যর্থতা

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: center; " class="automatic table-automatic"| text

TemplateDataসম্পাদনা

নতুন দৃশ্যমান সম্পাদনা দ্বারা ব্যবহৃত টেমপ্লেটের জন্য টেমপ্লেটডাটা নথি।

আংশিক ব্যর্থতা শীর্ষ

One of several templates for styling individual table cells with standard contents and colors.

[টেমপ্লেটডাটা পরিচালনা করুন]

টেমপ্লেট প্যারামিটার

প্যারামিটারবিবরণধরনঅবস্থা
text1

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

পূর্বনির্ধারিত
(template dependent)
লাইনঐচ্ছিক
horizontal alignalign

text alignment inside the cell, either 'left', 'right', 'center' or 'justified'

পূর্বনির্ধারিত
center
লাইনঐচ্ছিক
stylestyle

a semicolon separated list of additional CSS rules to be applied to the table cell

পূর্বনির্ধারিত
লাইনঐচ্ছিক
background colorcolor

a valid CSS color value or name to override the standard the cell background, only available with some templates

পূর্বনির্ধারিত
(template dependent)
লাইনঐচ্ছিক

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}}

Notesসম্পাদনা

  1. The HTML class of table cell templates may be referenced in a user stylesheet to change appearance.
  2. Does not take a parameter; the content should be placed after the template call, separated by a pipe (|) character.