Difference between revisions of "Templates"
From Gladiabots Wiki
(→Examples) |
|||
Line 24: | Line 24: | ||
!Lorem!!Ipsum!!Dolor||Sit | !Lorem!!Ipsum!!Dolor||Sit | ||
|- | |- | ||
− | |Amet ||{{r}}{{green}}|123||{{c}}| | + | |Amet ||{{r}}{{green}}|123||{{c}}|AAA|| nonumy |
|- | |- | ||
|Consetetur||{{r}} | 10||{{c}}|AA || nonumy | |Consetetur||{{r}} | 10||{{c}}|AA || nonumy | ||
|- | |- | ||
− | |sadipscing||{{r}}{{green}}|789||{{c}}| | + | |sadipscing||{{r}}{{green}}|789||{{c}}|A || nonumy |
|- | |- | ||
|elitr ||{{r}} |-12||{{c}}|B || nonumy | |elitr ||{{r}} |-12||{{c}}|B || nonumy |
Revision as of 12:20, 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
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 |