Difference between revisions of "Templates"

From Gladiabots Wiki
Jump to: navigation, search
(Examples)
Line 20: Line 20:
  
 
== Examples ==
 
== Examples ==
 +
 +
The second numeric column uses right aligned cells and is colored green, yellow and red. The third column is centered. The forth column contains a value that is highlighted in blue.
  
 
{|class="wikitable"
 
{|class="wikitable"

Revision as of 12:22, 6 October 2017

Used Templates

Templates can be used to reuse colors or wiki code in the whole project. Templates in use are:

Template Code Description
Template:Red style="background:#[Hexadecimal code]" Defines the red background color for table cells globally
Template:Yellow style="background:#[Hexadecimal code]" Defines the yellow background color for table cells globally
Template:Green style="background:#[Hexadecimal code]" Defines the green background color for table cells globally
Template:Blue style="background:#[Hexadecimal code]" Defines the blue background color for table cells globally
Template:C align="center" Shortens the code needed for centered cells.
Template:R align="right" Shortens the code needed for right aligned cells.

Examples

The second numeric column uses right aligned cells and is colored green, yellow and red. The third column is centered. The forth column contains a value that is highlighted in blue.

Lorem Ipsum Dolor Sit
Amet 123 AAA nonumy
Consetetur 10 AA nonumy
sadipscing 789 A nonumy
elitr -12 B nonumy
sed 20 C eirmod
diam 456 D nonumy