سانچو:نامزد

(سانچو:Nom کان چوريل)
نامزد
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.

سانچو:Warnsign 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}}
...
Table cell templates
Class[1] Default syntax Preview (default) Customized syntax Preview (customized)
table-rh {{rh}} | Row header[2] Row header {{rh|align=right}} | Row header Row header
{{rh2}} | Row header[2] Row header {{rh2|align=right}} | Row header Row header
table-yes {{yes}} ھا {{yes|customized [[plain text|text]]}} customized text
{{yes C}} ها {{yes C|}}
{{yes O}} سانچو:Yes O {{yes O|}} سانچو:Yes O
table-maybe {{maybe}} Maybe {{maybe|customized [[plain text|text]]}} customized text
table-no {{no}} نہ {{no|customized [[plain text|text]]}} customized text
{{no O}} سانچو:No O {{no O|}} سانچو:No O
{{no X}} سانچو:No X {{no X|}} سانچو:No X
{{eliminated}} Eliminated {{eliminated|dropped out}} dropped out
{{active fire|12%}} Active (12%)
{{lost}} سانچو:Lost {{lost|missing}} سانچو:Lost
{{safe}} سانچو:Safe {{safe|protected}} سانچو:Safe
table-active {{active}} سانچو:Active {{active|live}} سانچو:Active
table-siteactive {{site active}} فعال {{site active|up}} up
{{coming soon}} سانچو:Coming soon {{coming soon|second half of the year}} سانچو:Coming soon
table-siteinactive {{site inactive}} غيرفعال {{site inactive|down}} down
table-yes2 {{good}} سانچو:Good {{good|A}} سانچو:Good
{{yes2}} {{yes2|text}} text
{{ya}} Yes {{ya|text=ya}} ya
{{ya|Ya}} Ya {{ya|text|link=WP:ALT}} text
{{won}} کٽيو || {{won|text=white|color=darkblue|winner}} || style="background: darkblue; color: white; vertical-align: middle; text-align: center; " class="yes table-yes2"|winner
{{won|place=1}} کٽيو || {{won|place=gold}} || style="background: #99FF99; color: black; vertical-align: middle; text-align: center; " class="yes table-yes2"|کٽيو
{{won|place=2}} کٽيو || {{won|place=silver}} || style="background: #99FF99; color: black; vertical-align: middle; text-align: center; " class="yes table-yes2"|کٽيو
{{won|place=3}} کٽيو || {{won|place=bronze}} || style="background: #99FF99; color: black; vertical-align: middle; text-align: center; " class="yes table-yes2"|کٽيو
{{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}} No {{na|text=na}} na
{{na|Na}} Na {{na|text|link=WP:ALT}} text
{{nom}} نامزد || {{nom|5}} || style="background: #FDD; color: black; vertical-align: middle; text-align: center; " class="no table-no2"|5
{{sho}} سانچو:Sho {{sho|proposed}} سانچو:Sho
{{longlisted}} سانچو:Longlisted {{longlisted|rejected}} سانچو:Longlisted
{{TBA}} اڃا پوءِ اعلان ٿيندو {{TBA|to be announced}} to be announced
table-success {{success}} سانچو:Success {{success|mission complete}} سانچو:Success
{{operational}} سانچو:Operational {{operational|returning data}} سانچو:Operational
table-failure {{failure}} سانچو:Failure {{failure|wrong orbit}} سانچو:Failure
table-partial {{partial}} سانچو:Partial {{partial|almost done}} سانچو:Partial
{{Regional}} سانچو:Regional {{Regional|Uyghur}} سانچو:Regional
{{MaybeCheck}} سانچو:MaybeCheck {{MaybeCheck|text=possibly}} سانچو:MaybeCheck
{{MaybeCheck|possibly}} سانچو:MaybeCheck {{MaybeCheck|text|link=WP:ALT}} سانچو:MaybeCheck
{{partial success}} سانچو:Partial success {{partial success|reached orbit and returned pictures}} سانچو:Partial success
{{partial failure}} سانچو:Partial failure {{partial failure|[[Cubesat]] not deployed}} سانچو:Partial failure
{{okay}} سانچو:Okay {{okay|C}} سانچو:Okay
{{Yes-No}} Yes/No {{Yes-No|yes with an if; no with a but}} yes with an if; no with a but
{{some}} سانچو:Some {{some|many}} سانچو:Some
{{nonpartisan}} سانچو:Nonpartisan {{nonpartisan|impartial}} سانچو:Nonpartisan
{{pending}} Pending {{pending|awaiting}} awaiting
{{unofficial}} سانچو:Unofficial {{unofficial|''de facto''}} سانچو:Unofficial
{{unofficial2}} سانچو:Unofficial2 {{unofficial2|''de facto''}} سانچو:Unofficial2
{{usually}} سانچو:Usually {{usually|commonly}} سانچو:Usually
{{rarely}} سانچو:Rarely {{rarely|seldom}} سانچو:Rarely
{{sometimes}} سانچو:Sometimes {{sometimes|occasionally}} سانچو:Sometimes
table-any {{any}} Any {{any|anyone}} anyone
table-na {{n/a}} N/A {{n/a|unavailable}} unavailable
{{varies}} سانچو:Varies {{varies|differs}} سانچو:Varies
{{sdash}} سانچو:Sdash {{sdash|[[File:Dash.svg|13px|link=|dash icon]]}} سانچو:Sdash
{{BLACK}} سانچو:BLACK {{BLACK|banned}} سانچو:BLACK
{{non-album single}} سانچو:Non-album single {{non-album single|EP}} سانچو:Non-album single
{{unreleased}} سانچو:Unreleased {{unreleased|shelved}} سانچو:Unreleased
table-unknown {{unknown}} Unknown {{unknown|?}} ?
{{dunno}} سانچو:Dunno {{dunno|not sure}} سانچو:Dunno
table-automatic {{perhaps}} سانچو:Perhaps {{perhaps|maybe}} سانچو:Perhaps
table-depends {{depends}} سانچو:Depends {{depends|vendor-defined}} سانچو:Depends
table-included {{included}} شامل {{included|incorporated}} incorporated
table-dropped {{dropped}} سانچو:Dropped {{dropped|discontinued}} سانچو:Dropped
{{terminated}} سانچو:Terminated {{terminated|fired}} سانچو:Terminated
table-beta {{beta}} سانچو:Beta {{beta|preview}} سانچو:Beta
table-experimental {{table-experimental}} سانچو:Table-experimental {{table-experimental|lab}} سانچو:Table-experimental
table-free {{free}} سانچو:Free {{free|empty}} سانچو:Free
table-proprietary {{proprietary}} سانچو:Proprietary {{proprietary|custom extension}} سانچو:Proprietary
table-nonfree {{nonfree}} سانچو:Nonfree {{nonfree|paid}} سانچو:Nonfree
table-needs {{needs}} سانچو:Needs {{needs|req.}} سانچو:Needs
table-nightly {{nightly}} سانچو:Nightly {{nightly|dev}} سانچو:Nightly
table-release-candidate {{release-candidate}} سانچو:Release-candidate {{release-candidate|RC}} سانچو:Release-candidate
table-draw {{draw}} سانچو:Draw {{draw|1:1}} سانچو:Draw
table-planned {{planned}} سانچو:Planned {{planned|July 2028}} سانچو:Planned
table-scheduled {{scheduled}} سانچو:Scheduled {{scheduled|3 March 2027}} سانچو:Scheduled
incorrect {{incorrect}} سانچو:Incorrect {{incorrect|wrong}} سانچو:Incorrect
noresult {{no result}} ڪوبه نتيجو ناهي {{no result|NR}} NR
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 {{CMain|text}} سانچو:CMain
{{CAlso starring}} سانچو:CAlso starring {{CAlso starring|costar}} سانچو:CAlso starring
{{CRecurring}} سانچو:CRecurring {{CRecurring|regular guest}} سانچو:CRecurring
{{CGuest}} سانچو:CGuest {{CGuest|victim}} سانچو:CGuest
{{COther}} سانچو:COther {{COther|ensemble}} سانچو:COther
{{CNone}} سانچو:CNone {{CNone|cast}} سانچو:CNone
{{CEmpty}} سانچو:CEmpty
{{CRemoved}} سانچو:CRemoved {{CRemoved|edited}} سانچو:CRemoved
{{CFinalist}} سانچو:CFinalist {{CFinalist|text=white|color=darkblue|contender}} سانچو:CFinalist
{{CFinalist|place=3rd Place}} سانچو:CFinalist {{CFinalist|place=third place}} سانچو:CFinalist
{{exempt}} سانچو:Exempt {{Black Exempt}} سانچو:Black Exempt
{{nocontest}} سانچو:Nocontest {{nocontest|rescheduled}} سانچو:Nocontest
{{Runner-up}} سانچو:Runner-up {{Runner-up|2nd place}} سانچو:Runner-up
{{Quit}} سانچو:Quit {{Quit|left}} سانچو:Quit
table-enroute {{Enroute}} سانچو:Enroute {{Enroute|via}} سانچو:Enroute
no class {{not yet}} اڃان تائين نه {{not yet|NY}} NY
{{optional}} سانچو:Optional {{optional|non-mandatory}} سانچو:Optional

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|text-transform: capitalize;}}}" class="automatic table-automatic"| {{{1|text}}}

Code specific to this template:

style="background: #FDD; color: black; vertical-align: middle; text-align: center; " class="no table-no2"|نامزد

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 نامزد

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

Template parameters[Edit template data]

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)
سِٽَoptional
horizontal alignalign

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

Default
center
سِٽَoptional
stylestyle

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

Default
سِٽَoptional
background colorcolor

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

Default
(template dependent)
سِٽَoptional
  • {{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}}
  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.
}}