Moviepedia

Recently, we've done several changes to help out this wiki, from deleting empty pages, improving the navigation, adding a rules page, as well as merging film infoboxes.

You can check out the latest overhauls that we have done on this wiki so far, as well as upcoming updates in our announcement post here.

READ MORE

Moviepedia
(New page: <includeonly><div class="notice" id="disambig">''This template documentation is transcluded from Template:Table cell templates'' <small>[<span c...)
 
(New page: style="background: #90ff90" class="table-yes" | {{{1|Yes}}}<noinclude> <sup><small>D</small></sup> {{Table cell templates}} es:Patrón:Sí ...)
 
Line 1: Line 1:
  +
style="background: #90ff90" class="table-yes" | {{{1|Yes}}}<noinclude>
<includeonly><div class="notice" id="disambig">''This template documentation is [[Wikipedia:Template doc page pattern|transcluded]] from [[Template:Table cell templates]]'' <small>[<span class="plainlinks">[{{fullurl:Template:Table cell templates|action=edit}} edit]</span>]</small></div></includeonly><noinclude>{{template doc page viewed directly}}
 
{| class="messagebox standard-talk"
 
|- style="vertical-align:top;text-align:center;"
 
| This page constitutes a mild abuse of [[Wikipedia:Template doc page pattern]], used here for a series of templates instead of a single template.
 
|}
 
{{notice|If you spot any more table cell templates that fit into this scheme, please add them to this page and add this template in a <code><nowiki><noinclude></nowiki></code> section.}}
 
</noinclude>
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
These templates are designed to be used in a [[Help:Table|table]] to make a cell with text in that cell, with an appropriately coloured background. They are commonly used in [[:Category:Comparisons|comparison tables]].
 
   
  +
<sup><small>[[Template_talk:Yes#Template_straw_poll|D]]</small></sup>
For example, {{[[Template:Yes|Yes]]}} makes a cell with a green background; the text in the cell is taken from the [[Help:Template#Parameters|template parameter]] and defaults to "Yes".
 
   
 
{{Table cell templates}}
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 <code>Dropped</code>, change that to <code><nowiki>{{{1|Dropped}}}</nowiki></code>.
 
   
  +
[[es:Patrón:Sí]]
===Templates in this series===
 
  +
[[he:תבנית:כן]]
:{| class="wikitable" |
 
  +
[[ia:Patrono:Si]]
! width=15% | CSS class<ref name="table-cell-templates-table-css">The CSS class of table cell templates may be referenced in a [[m:help:User style|user stylesheet]] to change appearance.</ref> !! Templates !! Preview 1 !! Preview 2 !! Preview 3
 
  +
[[ja:Template:Yes]]
|-
 
  +
[[mk:Шаблон:Да]]
| <tt>table-rh</tt> || {{tl|rh}}<ref name="table-cell-templates-table-after+pipe">Does not take a parameter; the content should be placed after the template call, separated by a pipe (|) character.</ref> | Row header || {{rh}} | Row header || ||
 
  +
[[sq:Stampa:Po]]
|-
 
  +
[[sv:Mall:Ja]]
| <tt>table-yes</tt> || {{tl|yes}}, {{tlp|yes|<nowiki>[[Alternate]] text</nowiki>}} || {{yes}} || {{yes|[[Alternate]] text}} ||
 
  +
[[ru:Шаблон:Да]]
|-
 
 
</noinclude>
| <tt>table-no</tt> || {{tl|no}} || {{no}} || ||
 
|-
 
| <tt>table-yes2</tt> || {{tl|yes2}}<ref name="table-cell-templates-table-after">Does not take a parameter; the content should be placed after the template call.</ref> Text || {{yes2}} Text || ||
 
|-
 
| <tt>table-no2</tt> || {{tl|no2}}<ref name="table-cell-templates-table-after"/> Text || {{no2}} Text || ||
 
|-
 
| <tt>table-partial</tt> || {{tl|partial}}, {{tl|Yes-No}}, {{tl|some}} || {{partial}} || {{Yes-No}} || {{some}}
 
|-
 
| <tt>table-na</tt> || {{tl|n/a}} || {{n/a}} || ||
 
|-
 
| <tt>table-unknown</tt> || {{tl|dunno}}, {{tl|unk}} || {{dunno}} || {{unk}} ||
 
|-
 
| <tt>table-depends</tt> || {{tl|depends}} || {{depends}} || ||
 
|-
 
| <tt>table-included</tt> || {{tl|included}} || {{included}} || ||
 
|-
 
| <tt>table-dropped</tt> || {{tl|dropped}}, {{tl|terminated}} || {{dropped}} || {{terminated}} ||
 
|-
 
| <tt>table-beta</tt> || {{tl|beta}} || {{beta}} || ||
 
|-
 
| <tt>table-free</tt> || {{tl|free}} || {{free}} || ||
 
|-
 
| <tt>table-nonfree</tt> || {{tl|nonfree}}<ref name="table-cell-templates-table-after"/> <nowiki>[[US$]]3.14</nowiki> || {{nonfree}} [[United States dollar|US$]]3.14 || ||
 
|-
 
| ''unstyled'' || {{tl|incorrect}} || {{incorrect}} || ||
 
|-
 
| ''unstyled'' || {{tl|?}}<ref name="table-cell-templates-table-noparam">Does not take a parameter; not really a table cell template at all, but here for completeness</ref> || {{?}} || ||
 
|}
 
 
===Notes===
 
<references/>
 
 
<includeonly>
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
[[Category:Table cell templates]]
 
 
<!-- ADD INTERWIKIS BELOW THIS LINE -->
 
 
</includeonly>
 

Revision as of 06:55, 10 June 2007

style="background: #90ff90" class="table-yes" | Yes

D

This template documentation is transcluded from Template:Table cell templates [edit]

These templates are designed to be used in a table to make a cell with text in that cell, with an appropriately coloured 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 template parameter and defaults to "Yes".

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

Templates in this series

CSS class[1] Templates Preview 1 Preview 2 Preview 3
table-rh {{rh}}[2] | Row header Row header
table-yes {{yes}}, dummy Yes Alternate text
table-no {{no}} No
table-yes2 {{yes2}}[3] Text Text
table-no2 {{no2}}[3] Text Text
table-partial {{partial}}, {{Yes-No}}, {{some}} dummy Yes/No dummy
table-na {{n/a}} N/A
table-unknown {{dunno}}, {{unk}} dummy dummy
table-depends {{depends}} dummy
table-included {{included}} dummy
table-dropped {{dropped}}, {{terminated}} dummy dummy
table-beta {{beta}} dummy
table-free {{free}} dummy
table-nonfree {{nonfree}}[3] [[US$]]3.14 dummy US$3.14
unstyled {{incorrect}} dummy
unstyled {{?}}[4] ?

Notes

  1. The CSS 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.
  3. 3.0 3.1 3.2 Does not take a parameter; the content should be placed after the template call.
  4. Does not take a parameter; not really a table cell template at all, but here for completeness

he:תבנית:כן ia:Patrono:Si mk:Шаблон:Да sq:Stampa:Po sv:Mall:Ja