Difference between revisions of "Template:Table Cell Templates"

From Krafties
Jump to navigation Jump to search
Line 69: Line 69:
 
*You put the cell-template within a "cell" of the table.  
 
*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 combine two templates in one cell, or add your own styling if the template does not include it.
 
+
<pre style="width:300px;float:left;margin:20px;">
{|
+
...
 
!{{Yes}} ||{{No}} ||rowspan=2 {{n/a}}
 
!{{Yes}} ||{{No}} ||rowspan=2 {{n/a}}
 
|-
 
|-
 
|colspan=2 {{Any}}
 
|colspan=2 {{Any}}
|}
 
<pre>
 
 
...
 
...
 +
</pre>
 +
{| class="wikitable" width="150px"
 
!{{Yes}} ||{{No}} ||rowspan=2 {{n/a}}
 
!{{Yes}} ||{{No}} ||rowspan=2 {{n/a}}
 
|-
 
|-
 
|colspan=2 {{Any}}
 
|colspan=2 {{Any}}
...
+
|}
</pre>
 
  
 
==See Also==
 
==See Also==
 
{{NavTables}}
 
{{NavTables}}
 
|}
 
|}

Revision as of 03:29, 30 March 2015

Table Cell Templates, view individual templates for details
Group Default use Preview (default) Example Customized Preview (customized)
Elements Cell Templates
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 {{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 {{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
{{NuclearElement}} Nuclear {{NuclearElement|Custom Text|align=right}} Custom Text
Other {{NeutralElement}} Neutral {{NeutralElement|Custom Text|align=right}} Custom Text
{{DarkElement}} Dark {{DarkElement|Custom Text|align=right}} Custom Text
Other
Yes {{yes}} Yes {{yes|customized text|align=left}} customized text
{{ya}} Yes
No {{no}} No {{no|customized text|align=left}} customized text
{{na}} Yes {{na|link=Krafties Creatures}} Yes
N/A {{n/a}} N/A
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>

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.
...
!{{Yes}} ||{{No}} ||rowspan=2 {{n/a}}
|-
|colspan=2 {{Any}}
...
Yes No N/A
Any

See Also