Difference between revisions of "Template:RainbowElement"

From Krafties
Jump to navigation Jump to search
(Created page with "<noinclude> {| class="wikitable" |- |</noinclude>style="background:#ece7e7;color:#000;vertical-align:middle;text-align:{{{align|center}}};{{{style|}}}" class="table-no"|[[Rain...")
 
m
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
|</noinclude>style="background:#ece7e7;color:#000;vertical-align:middle;text-align:{{{align|center}}};{{{style|}}}" class="table-no"|[[Rainbow (element)|<span style="color:#f90303;">{{{1|R}}}</span>]]<noinclude><span style="color:#f9ee03;">{{{2|a}}}</span><noinclude><span style="color:#f97f03;">{{{3|i}}}</span><noinclude><span style="color:#30f903;">{{{4|n}}}</span><noinclude><span style="color:#03f3f9;">{{{5|b}}}</span><noinclude><span style="color:#0352f9;">{{{6|o}}}</span><noinclude><span style="color:#cd57e3;">{{{7|w}}}</span><noinclude>
+
|</noinclude>style="background:#6304a5;color:#000;vertical-align:middle;text-align:{{{align|center}}};{{{style|}}}" class="table-no"|[[Rainbow (element)|<span style="color:#f97f03;">{{{1|<span style="color:#ff0000;">R</span><span style="color:#ff7f00;">a</span><span style="color:#ffff00;">i</span><span style="color:#80ff00;">n</span><span style="color:#00ff00;">b</span><span style="color:#00ffff;">o</span><span style="color:#9e9eff;">w</span>}}}</span>]]<noinclude>
 
|}
 
|}
 
{|{{Template Explanation}}[[Category:Table Cell Template]]  
 
{|{{Template Explanation}}[[Category:Table Cell Template]]  

Latest revision as of 10:59, 21 January 2016

Rainbow
Documentation icon Template documentation ( view · talk · edit)

Template:RainbowElement/doc

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

This is a Table Cell Template (for adding content to cells)

Customization[edit]

  • Custom text (just add it before any other commands)
  • align= text alignment

How to use Table Cell Templates[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

List of TableCellTemplates[edit]

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