Difference between revisions of "Template:Table cell"
HylianAngel (talk | contribs) m (Text replacement - ":Amiibo" to ":amiibo") |
Trig Jegman (talk | contribs) m |
||
Line 28: | Line 28: | ||
|nh1.9=[[File:Rilla NH Villager Icon.png|25px|alt{{{1|Yes}}}|link=Animal Crossing: New Horizons/Update history/1.9.0|Added with New Horizons v1.9 update]] | |nh1.9=[[File:Rilla NH Villager Icon.png|25px|alt{{{1|Yes}}}|link=Animal Crossing: New Horizons/Update history/1.9.0|Added with New Horizons v1.9 update]] | ||
|nh2.0=[[File:Brewster NH Character Icon.png|25px|alt={{{1|Yes}}}|link=Animal Crossing: New Horizons/Update history/2.0|Added with New Horizons v2.0 update]] | |nh2.0=[[File:Brewster NH Character Icon.png|25px|alt={{{1|Yes}}}|link=Animal Crossing: New Horizons/Update history/2.0|Added with New Horizons v2.0 update]] | ||
− | |cut=[[File: | + | |cut=[[File:Silver Axe NL Icon.png|25px|alt={{{1|Yes}}}|link=Villager|Data exists in game but is unused]] |
|bug=[[File:Bug NH Icon.png|30px|alt={{{1|Yes}}}|link=|Bug]] | |bug=[[File:Bug NH Icon.png|30px|alt={{{1|Yes}}}|link=|Bug]] | ||
|fish=[[File:Fish NH Icon.png|30px|alt={{{1|Yes}}}|link=|Fish]] | |fish=[[File:Fish NH Icon.png|30px|alt={{{1|Yes}}}|link=|Fish]] |
Revision as of 12:58, April 4, 2024
Template documentation (view)
Usage
{{Table cell}}
This template is to be used to populate cells in tables with a pre-configured icon, background color, link and tooltip text. There is also the option to create a custom cell use a specified color and icon. By default, the template will create an empty gray-colored cell which is commonly used to denote a blank or non-applicable entry in a table.
As the template populates cells, it will only display correctly when it is used within tables.
The default parameter supports the following pre-configured types of cells:
Yes | No | Green | Yellow | Orange | Red | Gray | Villager | Islander | amiibo | nh1.9 | nh2.0 | Cut | Bug | Fish | Sea Creature | Default |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The following optional parameters is also supported:
game
will display the specified text in the lower right corner of the cell. This is intended to be used to display the abbreviation of games in the series.
If the cell type is set to Custom
the following parameters can be used to create a customised cell:
Color
sets the cell background to the specified HTML colorIcon
sets the icon to the specified image file
Example
{{Table cell|Villager}}
Text can be added to display in the lower-right corner of the cell:
{{Table cell|Villager|game=AC}}
AC |
A custom cell can be created like so:
{{Table cell|Custom|color=cad3c5|icon=[[File:Tortimer NH Character Icon.png|20px|link=Tortimer|Tortimer!]]}}