Difference between revisions of "Template:Table Cell Templates"

From Krafties
Jump to navigation Jump to search
m
 
(3 intermediate revisions by the same user not shown)
Line 58: Line 58:
 
|N/A  
 
|N/A  
 
|<code>{{[[template:n/a|n/a]]}}</code>||{{n/a}}|| ||
 
|<code>{{[[template:n/a|n/a]]}}</code>||{{n/a}}|| ||
 +
|-
 +
|Unknown
 +
|<code>{{[[template:unknown|unknown]]}}</code>||{{unknown}}|| ||
 
|-
 
|-
 
|Any
 
|Any
 
|<code>{{[[template:any|any]]}}</code>||{{any}}|| ||
 
|<code>{{[[template:any|any]]}}</code>||{{any}}|| ||
 
|}</onlyinclude>
 
|}</onlyinclude>
<!---
+
{{Documentation}}
 
 
 
 
 
 
-->
 
{|{{Template Explanation}}[[Category:Templates]]
 
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 <code>style=</code> into the same cell, since it will conflict with the template. Sometimes the template itself will allow you to add styling
 
<pre style="width:300px;float:left;margin:20px;">
 
...
 
!{{Yes}} ||{{No}} ||rowspan=2 {{n/a}}
 
|-
 
|colspan=2 {{Any}}
 
...
 
</pre>
 
{| class="wikitable" width="150px"
 
!{{Yes}} ||{{No}} ||rowspan=2 {{n/a}}
 
|-
 
|colspan=2 {{Any}}
 
|}
 
{{clear}}
 
 
 
==See Also==
 
{{NavTables}}
 
|}
 

Latest revision as of 05:47, 2 May 2017

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
Unknown {{unknown}} ?
Any {{any}} Any
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[edit]

  • 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[edit]

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[edit]


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>