Difference between revisions of "Template:Table Cell Templates"

From Krafties
Jump to navigation Jump to search
m
m
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<onlyinclude>{| class=bluetable style="margin-left:30px"
 
<onlyinclude>{| class=bluetable style="margin-left:30px"
|+These templates are made for use ''within'' tables
+
|+[[Template:Table Cell Templates|Table Cell Templates]], view individual templates for details
 
|-
 
|-
!Group ||Default use ||Preview (default)||Customized ||Preview (customized)
+
!Group ||Default use ||Preview (default)||Example Customized ||Preview (customized)
 
|-
 
|-
|rowspan=2|Yes
+
!colspan=10|Elements Cell Templates
|<code>{{[[template:yes|yes]]}}</code>||{{yes}}||<code><nowiki>{{yes|customized text|align=left}}</nowiki></code>||{{yes|customized text|align=left}}
+
<!--------  ELEMENTS CELL TEMPLATES -------->
|-
 
|<code>{{[[template:ya|ya]]}}</code>||{{ya}}||<code><nowiki>{{ya|text=Creatures|link=Krafties Creatures}}</nowiki></code>||{{ya|text=Creatures|link=Krafties Creatures}}
 
 
|-
 
|-
|rowspan=2|No
+
|rowspan=4|Basic elements
|<code>{{[[template:no|no]]}}</code>||{{no}}||<code><nowiki>{{no|customized text|align=left}}</nowiki></code>||{{no|customized text|align=left}}
 
|-
 
|<code>{{[[template:na|na]]}}</code>||{{na}}||<code><nowiki>{{na|link=Krafties Creatures}}</nowiki></code>||{{na|link=Krafties Creatures}}
 
|-
 
|rowspan=4|basic [[Elements]]
 
 
|<code>{{[[template:FireElement|FireElement]]}}</code>||{{FireElement}}||<code><nowiki>{{FireElement|Custom Text|align=right}}</nowiki></code>||{{FireElement|Custom Text|align=right}}
 
|<code>{{[[template:FireElement|FireElement]]}}</code>||{{FireElement}}||<code><nowiki>{{FireElement|Custom Text|align=right}}</nowiki></code>||{{FireElement|Custom Text|align=right}}
 
|-
 
|-
Line 23: Line 16:
 
|<code>{{[[template:WaterElement|WaterElement]]}}</code>||{{WaterElement}}||<code><nowiki>{{WaterElement|Custom Text|align=right}}</nowiki></code>||{{WaterElement|Custom Text|align=right}}
 
|<code>{{[[template:WaterElement|WaterElement]]}}</code>||{{WaterElement}}||<code><nowiki>{{WaterElement|Custom Text|align=right}}</nowiki></code>||{{WaterElement|Custom Text|align=right}}
 
|-
 
|-
|rowspan=6|Hybrid [[Elements]]
+
|rowspan=6|Hybrid
 
|<code>{{[[template:VolcanicElement|VolcanicElement]]}}</code>||{{VolcanicElement}}||<code><nowiki>{{VolcanicElement|Custom Text|align=left}}</nowiki></code>||{{VolcanicElement|Custom Text|align=left}}
 
|<code>{{[[template:VolcanicElement|VolcanicElement]]}}</code>||{{VolcanicElement}}||<code><nowiki>{{VolcanicElement|Custom Text|align=left}}</nowiki></code>||{{VolcanicElement|Custom Text|align=left}}
 
|-
 
|-
Line 36: Line 29:
 
|<code>{{[[template:IceElement|IceElement]]}}</code>||{{IceElement}}||<code><nowiki>{{IceElement|Custom Text|align=left}}</nowiki></code>||{{IceElement|Custom Text|align=left}}
 
|<code>{{[[template:IceElement|IceElement]]}}</code>||{{IceElement}}||<code><nowiki>{{IceElement|Custom Text|align=left}}</nowiki></code>||{{IceElement|Custom Text|align=left}}
 
|-
 
|-
|rowspan=3|Special [[elements]]
+
|rowspan=4|Special
 
|<code>{{[[template:MindElement|MindElement]]}}</code>||{{MindElement}}||<code><nowiki>{{MindElement|Custom Text|align=right}}</nowiki></code>||{{MindElement|Custom Text|align=right}}
 
|<code>{{[[template:MindElement|MindElement]]}}</code>||{{MindElement}}||<code><nowiki>{{MindElement|Custom Text|align=right}}</nowiki></code>||{{MindElement|Custom Text|align=right}}
 
|-
 
|-
Line 43: Line 36:
 
|<code>{{[[template:VampireElement|VampireElement]]}}</code>||{{VampireElement}}||<code><nowiki>{{VampireElement|Custom Text|align=right}}</nowiki></code>||{{VampireElement|Custom Text|align=right}}
 
|<code>{{[[template:VampireElement|VampireElement]]}}</code>||{{VampireElement}}||<code><nowiki>{{VampireElement|Custom Text|align=right}}</nowiki></code>||{{VampireElement|Custom Text|align=right}}
 
|-
 
|-
|rowspan=2|Other [[elements]]
+
|<code>{{[[template:NuclearElement|NuclearElement]]}}</code>||{{NuclearElement}}||<code><nowiki>{{NuclearElement|Custom Text|align=right}}</nowiki></code>||{{NuclearElement|Custom Text|align=right}}
 +
|-
 +
|rowspan=2|Other
 
|<code>{{[[template:NeutralElement|NeutralElement]]}}</code>||{{NeutralElement}}||<code><nowiki>{{NeutralElement|Custom Text|align=right}}</nowiki></code>||{{NeutralElement|Custom Text|align=right}}
 
|<code>{{[[template:NeutralElement|NeutralElement]]}}</code>||{{NeutralElement}}||<code><nowiki>{{NeutralElement|Custom Text|align=right}}</nowiki></code>||{{NeutralElement|Custom Text|align=right}}
 
|-
 
|-
 
|<code>{{[[template:DarkElement|DarkElement]]}}</code>||{{DarkElement}}||<code><nowiki>{{DarkElement|Custom Text|align=right}}</nowiki></code>||{{DarkElement|Custom Text|align=right}}
 
|<code>{{[[template:DarkElement|DarkElement]]}}</code>||{{DarkElement}}||<code><nowiki>{{DarkElement|Custom Text|align=right}}</nowiki></code>||{{DarkElement|Custom Text|align=right}}
 
|-
 
|-
 +
!colspan=10|Other
 +
<!------        OTHER CELL TEMPLATES        --->
 +
|-
 +
|rowspan=2|Yes
 +
|<code>{{[[template:yes|yes]]}}</code>||{{yes}}||<code><nowiki>{{yes|customized text|align=left}}</nowiki></code>||{{yes|customized text|align=left}}
 +
|-
 +
|<code>{{[[template:ya|ya]]}}</code>||{{ya}}|| ||
 +
|-
 +
|rowspan=2|No
 +
|<code>{{[[template:no|no]]}}</code>||{{no}}||<code><nowiki>{{no|customized text|align=left}}</nowiki></code>||{{no|customized text|align=left}}
 +
|-
 +
|<code>{{[[template:na|na]]}}</code>||{{na}}||<code><nowiki>{{na|link=Krafties Creatures}}</nowiki></code>||{{na|link=Krafties Creatures}}
 +
|-
 +
|N/A
 +
|<code>{{[[template:n/a|n/a]]}}</code>||{{n/a}}|| ||
 +
|-
 +
|Unknown
 +
|<code>{{[[template:unknown|unknown]]}}</code>||{{unknown}}|| ||
 +
|-
 +
|Any
 +
|<code>{{[[template:any|any]]}}</code>||{{any}}|| ||
 
|}</onlyinclude>
 
|}</onlyinclude>
{{Template Explanation|[[Category:Templates]]
+
{{Documentation}}
It is what you see, a table showing the table cell templates we have on Krafties Wiki
 
}}
 

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>