Difference between revisions of "Template:Cell"

From ScummVM :: Wiki
Jump to navigation Jump to search
m (Add spaces)
m (Try to fix handling of missing colors)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>| textaligh="center" {{Switch|switch={{{color}}}|
<includeonly>| align="center" bgcolor="{{Color|{{{color|}}}}}"| {{{text}}}</includeonly><noinclude>
green=bgcolor="lightgreen"|
This template shows a formatted table cell with centered text.
red=bgcolor="#ff7777"|
}}|{{{text}}}</includeonly><noinclude>
TODO:
This template shows whether a given engine is supported in a port.
=Usage=
=Usage=
<nowiki>{{Cell Port Engine|FeaturesTemplate|engine name}}</nowiki>
<nowiki>{{</nowiki>Cell|color=''your color''|text=''your text''<nowiki>}}</nowiki>
 
The ''color'' argument will be passed as is to the [[Template:Color|Color template]].
[[Category:Information templates]]</noinclude>
[[Category:Information templates]]</noinclude>

Latest revision as of 23:17, 22 September 2009

This template shows a formatted table cell with centered text.

Usage

{{Cell|color=your color|text=your text}}

The color argument will be passed as is to the Color template.