Difference between revisions of "Template:Table Cell Templates"

From Krafties
Jump to navigation Jump to search
m
m
Line 52: Line 52:
 
This list shows the templates you can use within tables. ''They do not work outside of tables''
 
This list shows the templates you can use within tables. ''They do not work outside of tables''
 
==Example of Use==
 
==Example of Use==
*You put the cell-template within a "cell" of the table. You cannot combine two templates in one cell, or add your own styling if the template does not include it.
+
*You put the cell-template within a "cell" of the table.  
 +
*You cannot combine two templates in one cell, or add your own styling if the template does not include it.
 
<pre>
 
<pre>
 
{|
 
{|

Revision as of 09:04, 18 December 2014

Table Cell Templates, more information...
Group Default use Preview (default) Customized Preview (customized)
Yes {{yes}} Yes {{yes|customized text|align=left}} customized text
{{ya}} Yes {{ya|text=Creatures|link=Krafties Creatures}} CreaturesYes
No {{no}} No {{no|customized text|align=left}} customized text
{{na}} Yes {{na|link=Krafties Creatures}} Yes
basic Elements {{FireElement}} Fire {{FireElement|Custom Text|align=right}} Custom Text
{{WindElement}} Wind {{WindElement|Custom Text|align=right}} Custom Text
{{EarthElement}} Earth {{EarthElement|Custom Text|align=right}} Custom Text
{{WaterElement}} Water {{WaterElement|Custom Text|align=right}} Custom Text
Hybrid Elements {{VolcanicElement}} Volcanic {{VolcanicElement|Custom Text|align=left}} Custom Text
{{SteamElement}} Steam {{SteamElement|Custom Text|align=left}} Custom Text
{{SandElement}} Sand {{SandElement|Custom Text|align=left}} Custom Text
{{PlantElement}} Plant {{PlantElement|Custom Text|align=left}} Custom Text
{{LightningElement}} Lightning {{LightningElement|Custom Text|align=left}} Custom Text
{{IceElement}} Ice {{IceElement|Custom Text|align=left}} Custom Text
Special elements {{MindElement}} Mind {{MindElement|Custom Text|align=right}} Custom Text
{{AffectionElement}} Affection {{AffectionElement|Custom Text|align=right}} Custom Text
{{VampireElement}} Vampire {{VampireElement|Custom Text|align=right}} Custom Text
Other elements {{NeutralElement}} Neutral {{NeutralElement|Custom Text|align=right}} Custom Text
{{DarkElement}} Dark {{DarkElement|Custom Text|align=right}} Custom Text
Documentation icon Template documentation ( view · talk · edit)

This list shows the templates you can use within tables. They do not work outside of tables

Example of Use

  • You put the cell-template within a "cell" of the table.
  • You cannot combine two templates in one cell, or add your own styling if the template does not include it.
  • You cannot add style= into the same cell, since it will conflict with the template. Sometimes the template itself will allow you to add styling
...
!{{Yes}} ||{{No}} ||rowspan=2 {{n/a}}
|-
|colspan=2 {{Any}}
...
Yes No N/A
Any

When creating new Table Cell Templates

Please add the {{Table Cell Templates/help}} to their /doc subpage to include a easy copy-paste of the basic explanations of how to use them.

See Also


The above documentation is transcluded from Template:Table Cell Templates/doc.
Editors can experiment in this template's sandbox
Please add categories to the /doc subpage within <includeonly>...</includeonly>