Difference between revisions of "Template:PaletteCell"

From UFOpaedia
Jump to navigation Jump to search
m
m
Line 1: Line 1:
<includeonly>style="vertical-align: center; background-color:#{{{2|white}}};" {{!}} {{{1|Name}}} ( <code style="color:#{{{3|black}}}; background-color:#{{{2|white}}};">#{{{2|white}}};</code> )</includeonly>
+
style="vertical-align: center; background-color:#{{{2|white}}};" {{!}} {{{1|Name}}} ( <code style="color:#{{{3|black}}}; background-color:#{{{2|white}}};">#{{{2|white}}};</code> )<noinclude>
 +
 
  
<noinclude>
 
 
{{documentation}}
 
{{documentation}}
 
[[Category:Templates (Utility)]]
 
[[Category:Templates (Utility)]]
 
</noinclude>
 
</noinclude>

Revision as of 09:19, 3 February 2017

style="vertical-align: center; background-color:#white;" | Name ( #white; )


[edit · purge]
Template documentation(for the template shown above, sometimes hidden or invisible)
Used for the creation of a table cell for a colour palette.

Skeleton

    {{PaletteRow|Name|Colour|TextColour}}

Example

See source code for usage.

Standard Colours
Cyan (Light) ( ##83c0ce; ) Cyan (Mid) ( ##60797b; ) Cyan (Dark) ( ##425e70; )
Psi (Light) ( ##d6cfef; ) Psi (Dark) ( ##6b6984; ) Construction/Status ( ##fccf2c; )
Green/Active ( ##4fb65d; ) Green/Active (Dark) ( ##338644; ) Info/Engineering ( ##f7941e; )
Research ( ##21a2d6; ) Research (Dark) ( ##2d4b57; ) Advent ( ##bd1c31; )
Red/Wounded (Light) ( ##EE1D23; ) Red/Wounded (Dark) ( ##6B1214; ) Story Mission ( ##fff7cd; )
Light Grey ( ##818181; ) Dark Grey ( ##535152; ) Black ( #black; )
Documentation transcluded from Template:PaletteCell/doc.