سانچو:N/a

کليل ڄاڻ چيڪلي، وڪيپيڊيا مان
Jump to navigation ڳولا ڏانهن هلو
N/A
Documentation icon دستاويز سانچو[نمائش] [سنواريو] [تاريخچو] [تطهير]


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.

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.

If you want to use other attributes for the table cells, e.g. colspan or rowspan, they need to be put before the template call and there must be no vertical bar | in between them:

ھا نہ N/A
Yes/No
...
!{{Yes}} ||{{No}} ||rowspan=2 {{n/a}}
|-
|colspan=2 {{Yes-No}}
...

Templates[سنواريو]

Table cell templates
Class[1] Default syntax Preview (default) Customized syntax Preview (customized)
table-rh {{[[سانچو:rh|rh]]}} | Row header[2] || style="background: #ececec; color: black; font-weight: bold; vertical-align: middle; text-align: left; " class="table-rh" | Row header || {{rh|align=right}} | Row header || style="background: #ececec; color: black; font-weight: bold; vertical-align: middle; text-align: right; " class="table-rh" | Row header
{{[[سانچو:rh2|rh2]]}} | Row header[2] || style="background: #edf; color: black; vertical-align: middle; text-align: left; font-weight: bolder; " class="rh heading table-rh" | Row header || {{rh2|align=right}} | Row header || style="background: #edf; color: black; vertical-align: middle; text-align: right; font-weight: bolder; " class="rh heading table-rh" | Row header
table-yes {{[[سانچو:yes|yes]]}} || style="background: #90ff90; color: black; vertical-align: middle; text-align: center; " class="table-yes"|ھا || {{yes|Customized [[Plain text|text]]}} ||style="background: #90ff90; color: black; vertical-align: middle; text-align: center; " class="table-yes"|Customized text
{{available}} Available {{available|Unused}} Unused
{{contained}} Contained
table-maybe {{[[سانچو:maybe|maybe]]}} || سانچو:Maybe || {{maybe|Customized [[Plain text|text]]}} ||سانچو:Maybe
table-no {{[[سانچو:no|no]]}} || style="background:#ff9090; color:black;" class="table-no" | نہ || {{no|Customized [[Plain text|text]]}} || style="background:#ff9090; color:black;" class="table-no" | Customized text
{{[[سانچو:bad|bad]]}} || سانچو:Bad || {{bad|F}} || سانچو:Bad
{{[[سانچو:eliminated|eliminated]]}} || سانچو:Eliminated || {{eliminated|Dropped out}} || سانچو:Eliminated
{{active fire|12%}} سانچو:Active fire
{{[[سانچو:lost|lost]]}} || سانچو:Lost || {{lost|Missing}} || سانچو:Lost
{{[[سانچو:safe|safe]]}} || سانچو:Safe || {{safe|Protected}} || سانچو:Safe
table-active {{[[سانچو:active|active]]}} || سانچو:Active || {{active|Lively}} || سانچو:Active
table-siteactive {{[[سانچو:site active|site active]]}} || style="background: #90FF90; color: black; vertical-align: middle; text-align: center; " class="active table-siteactive"|فعال || {{site active|Up}} || style="background: #90FF90; color: black; vertical-align: middle; text-align: center; " class="active table-siteactive"|Up
{{[[سانچو:coming soon|coming soon]]}} || سانچو:Coming soon || {{coming soon|Second half of the year}} || سانچو:Coming soon
table-siteinactive {{[[سانچو:site inactive|site inactive]]}} || style="background: #FF9090; color: black; vertical-align: middle; text-align: center; " class="inactive table-siteinactive"|غيرفعال || {{site inactive|Down}} || style="background: #FF9090; color: black; vertical-align: middle; text-align: center; " class="inactive table-siteinactive"|Down
table-yes2 {{[[سانچو:good|good]]}} || سانچو:Good || {{good|A}} || سانچو:Good
{{[[سانچو:yes2|yes2]]}} || style="background:#bfd; color:black; vertical-align:middle; text-align:center; " class="table-yes2" | || {{yes2|Text}} || style="background:#bfd; color:black; vertical-align:middle; text-align:center; " class="table-yes2" |Text
{{[[سانچو:ya|ya]]}} || سانچو:Ya || {{ya|text=Ya}} || سانچو:Ya
{{ya|Ya}} سانچو:Ya {{ya|text|link=WP:ALT}} سانچو:Ya
{{[[سانچو:won|won]]}} || سانچو:Won || {{won|text=white|color=darkblue}} || سانچو:Won
{{won|place=1}} سانچو:Won {{won|place=Gold}} سانچو:Won
{{won|place=2}} سانچو:Won {{won|place=Silver}} سانچو:Won
{{won|place=3}} سانچو:Won {{won|place=Bronze}} سانچو:Won
table-no2 {{[[سانچو:no2|no2]]}} || style="background: #ffdddd; color: black; vertical-align: middle; text-align: center; " class="table-no2" | || {{no2|Text}} || style="background: #ffdddd; color: black; vertical-align: middle; text-align: center; " class="table-no2" |Text
{{[[سانچو:na|na]]}} || سانچو:Na || {{na|text=Na}} || سانچو:Na
{{na|Na}} سانچو:Na {{na|text|link=WP:ALT}} سانچو:Na
{{[[سانچو:nom|nom]]}} || سانچو:Nom || {{nom|5}} || سانچو:Nom
{{[[سانچو:sho|sho]]}} || سانچو:Sho || {{sho|Proposed}} || سانچو:Sho
{{[[سانچو:longlisted|longlisted]]}} || سانچو:Longlisted || {{longlisted|Rejected}} || سانچو:Longlisted
{{[[سانچو:TBA|TBA]]}} || سانچو:TBA || {{TBA|To be announced}} || سانچو:TBA
table-success {{[[سانچو:success|success]]}} || سانچو:Success || {{success|Hit}} || سانچو:Success
table-failure {{[[سانچو:failure|failure]]}} || سانچو:Failure || {{failure|Wrong orbit}} || سانچو:Failure
table-partial {{[[سانچو:partial|partial]]}} || سانچو:Partial || {{partial|Almost done}} ||سانچو:Partial
{{[[سانچو:MaybeCheck|MaybeCheck]]}} || سانچو:MaybeCheck || {{MaybeCheck|text=Possibly}} || سانچو:MaybeCheck
{{MaybeCheck|Possibly}} سانچو:MaybeCheck {{MaybeCheck|text|link=WP:ALT}} سانچو:MaybeCheck
{{[[سانچو:partial success|partial success]]}} || سانچو:Partial success || {{partial success|Reached orbit and returned pictures}} || سانچو:Partial success
{{[[سانچو:partial failure|partial failure]]}} || سانچو:Partial failure || {{partial failure|[[Cubesat]] not deployed}} || سانچو:Partial failure
{{[[سانچو:okay|okay]]}} || سانچو:Okay || {{okay|C}} || سانچو:Okay
{{[[سانچو:Yes-No|Yes-No]]}} || style="background: #FFD; color: black; vertical-align: middle; text-align: center; " class="partial table-partial"|Yes/No || {{Yes-No|Yes with an if; no with a but}} || style="background: #FFD; color: black; vertical-align: middle; text-align: center; " class="partial table-partial"|Yes with an if; no with a but
{{[[سانچو:some|some]]}} || سانچو:Some || {{some|Many}} || سانچو:Some
{{[[سانچو:nonpartisan|nonpartisan]]}} || سانچو:Nonpartisan || {{nonpartisan|Impartial}} || سانچو:Nonpartisan
{{[[سانچو:pending|pending]]}} || سانچو:Pending || {{pending|Awaiting}} || سانچو:Pending
{{[[سانچو:unofficial|unofficial]]}} || سانچو:Unofficial || {{unofficial|''De facto''}} || سانچو:Unofficial
{{[[سانچو:unofficial2|unofficial2]]}} || سانچو:Unofficial2 || {{unofficial2|''De facto''}} || سانچو:Unofficial2
{{[[سانچو:usually|usually]]}} || سانچو:Usually || {{usually|Commonly}} || سانچو:Usually
{{[[سانچو:rarely|rarely]]}} || سانچو:Rarely || {{rarely|Seldom}}|| سانچو:Rarely
{{[[سانچو:sometimes|sometimes]]}} || سانچو:Sometimes || {{sometimes|Occasionally}} || سانچو:Sometimes
table-any {{[[سانچو:any|any]]}} || سانچو:Any || {{any|Anyone}}|| سانچو:Any
table-na {{[[سانچو:n/a|n/a]]}} || data-sort-value="" style="background: #ececec; color: #2C2C2C; vertical-align: middle; font-size: smaller; text-align: center; " class="table-na" | N/A || {{n/a|Unavailable}}|| data-sort-value="" style="background: #ececec; color: #2C2C2C; vertical-align: middle; font-size: smaller; text-align: center; " class="table-na" | Unavailable
{{[[سانچو:varies|varies]]}} || سانچو:Varies || {{varies|Differs}}|| سانچو:Varies
{{[[سانچو:sdash|sdash]]}} || سانچو:Sdash || {{sdash|[[File:Breezeicons-actions-22-filename-dash-amarok.svg|13px|link=|dash icon]]}}|| سانچو:Sdash
{{[[سانچو:BLACK|BLACK]]}} || سانچو:BLACK || {{BLACK|Banned}} || سانچو:BLACK
{{[[سانچو:non-album single|non-album single]]}} || سانچو:Non-album single || {{non-album single|Customized [[Plain text|text]]}} || سانچو:Non-album single
{{[[سانچو:unreleased|unreleased]]}} || سانچو:Unreleased || {{unreleased|Customized [[Plain text|text]]}} || سانچو:Unreleased
table-unknown {{[[سانچو:unknown|unknown]]}} || style="background: #ececec; color: #2C2C2C; font-size: smaller; vertical-align: middle; text-align: center; " class="unknown table-unknown"|Unknown || {{unknown|?}} || style="background: #ececec; color: #2C2C2C; font-size: smaller; vertical-align: middle; text-align: center; " class="unknown table-unknown"|?
{{[[سانچو:dunno|dunno]]}} || سانچو:Dunno || {{dunno|Not sure}} || سانچو:Dunno
table-automatic {{[[سانچو:perhaps|perhaps]]}} || سانچو:Perhaps || {{perhaps|Customized [[Plain text|text]]}} || سانچو:Perhaps
table-depends {{[[سانچو:depends|depends]]}} || سانچو:Depends || {{depends|Customized [[Plain text|text]]}} || سانچو:Depends
table-included {{[[سانچو:included|included]]}} || style="background: #DDFBFF; color: black; vertical-align: middle; text-align: center; " class="included table-included"|شامل || {{included|Incorporated}} || style="background: #DDFBFF; color: black; vertical-align: middle; text-align: center; " class="included table-included"|Incorporated
table-dropped {{[[سانچو:dropped|dropped]]}} || سانچو:Dropped || {{dropped|Discontinued}} || سانچو:Dropped
{{[[سانچو:terminated|terminated]]}} || سانچو:Terminated || {{terminated|Fired}} || سانچو:Terminated
table-beta {{[[سانچو:beta|beta]]}} || سانچو:Beta || {{beta|Preview}} || سانچو:Beta
table-experimental {{[[سانچو:table-experimental|table-experimental]]}} || سانچو:Table-experimental || {{table-experimental|Customized [[Plain text|text]]}} || سانچو:Table-experimental
table-free {{[[سانچو:free|free]]}} || سانچو:Free || {{free|Customized [[Plain text|text]]}} || سانچو:Free
table-proprietary {{[[سانچو:proprietary|proprietary]]}} || سانچو:Proprietary || {{proprietary|Customized [[Plain text|text]]}} || سانچو:Proprietary
table-nonfree {{[[سانچو:nonfree|nonfree]]}} || سانچو:Nonfree || {{nonfree|Customized [[Plain text|text]]}} || سانچو:Nonfree
table-needs {{[[سانچو:needs|needs]]}} || سانچو:Needs || {{needs|Customized [[Plain text|text]]}} || سانچو:Needs
table-nightly {{[[سانچو:nightly|nightly]]}} || سانچو:Nightly || {{nightly|Customized [[Plain text|text]]}} || سانچو:Nightly
table-release-candidate {{[[سانچو:release-candidate|release-candidate]]}} || سانچو:Release-candidate || {{release-candidate|Customized [[Plain text|text]]}} || سانچو:Release-candidate
table-draw {{[[سانچو:draw|draw]]}} || سانچو:Draw || {{draw|Text}} || سانچو:Draw
table-planned {{[[سانچو:planned|planned]]}} || سانچو:Planned || {{planned|July 2018}} || سانچو:Planned
table-scheduled {{[[سانچو:scheduled|scheduled]]}} || سانچو:Scheduled || {{scheduled|3 March 2017}} || سانچو:Scheduled
incorrect {{[[سانچو:incorrect|incorrect]]}} || سانچو:Incorrect || {{incorrect|Customized [[Plain text|text]]}} || سانچو:Incorrect
noresult {{[[سانچو:no result|no result]]}} || سانچو:No result || {{no result|N.R.}} || سانچو:No result
no class {{[[سانچو:CMain|CMain]]}} || سانچو:CMain || {{CMain|Customized [[Plain text|text]]}} || سانچو:CMain
{{[[سانچو:CRecurring|CRecurring]]}} || سانچو:CRecurring || {{CRecurring|Customized [[Plain text|text]]}} || سانچو:CRecurring
{{[[سانچو:CGuest|CGuest]]}} || سانچو:CGuest || {{CGuest|Customized [[Plain text|text]]}} || سانچو:CGuest
{{[[سانچو:CNone|CNone]]}} || سانچو:CNone || {{CNone|Customized [[Plain text|text]]}} || سانچو:CNone
{{[[سانچو:nocontest|nocontest]]}} || سانچو:Nocontest || {{[[سانچو:nocontest|nocontest]]}}Customized [[Plain text|text]] || سانچو:NocontestCustomized text
{{[[سانچو:not yet|not yet]]}} || سانچو:Not yet || {{not yet|Customized [[Plain text|text]]}} || سانچو:Not yet
{{[[سانچو:optional|optional]]}} || سانچو:Optional || {{optional|Customized [[Plain text|text]]}} || سانچو:Optional

Code[سنواريو]

Common code to most if not all the templates in this series:

سانچو:Table cell templates

Code specific to this template:

سانچو:N

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[سنواريو]

This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for N

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

Template parameters

ParameterDescriptionTypeStatus
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

Default
(template dependent)
Lineoptional
horizontal alignalign

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

Default
center
Lineoptional
stylestyle

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

Default
Lineoptional
background colorcolor

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

Default
(template dependent)
Lineoptional

See also[سنواريو]

  • {{[[سانچو:change|change]]}}: Calculates, displays and color-codes changes between two values
  • {{[[سانچو:BSD-lic|BSD-lic]]}}: Specialized redirect for {{free}}
  • {{[[سانچو:GPL-lic|GPL-lic]]}}: Specialized redirect for {{free}}
  • {{[[سانچو:LGPL-lic|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. 2.0 2.1 Does not take a parameter; the content should be placed after the template call, separated by a pipe (|) character.
}}