Difference between revisions of "Template:RoB color"

From Ring of Brodgar
m (Fixup (swapped PSY & WIL colors))
(Update to "Suggested B1.1" (rev-id:80981) FEP color set.)
 
Line 40: Line 40:
 
         | infoboxfoother = #aaaaaa
 
         | infoboxfoother = #aaaaaa
 
         |
 
         |
         | AGI = #A29FCF
+
         | AGI = #929AFB
         | CHA = #9DDD9D
+
         | CHA = #79FFA5
         | CON = #DA8EB9
+
         | CON = #FC91DF
         | DEX = #FFF77E
+
         | DEX = #FEE9B9
         | INT = #88CACA
+
         | INT = #B6E0F5
         | PER = #FFB77C
+
         | PER = #FFCE92
         | PSY = #BE89DB
+
         | PSY = #D39BFF
         | STR = #FF9898
+
         | STR = #F4938C
         | WIL = #B7EB7A
+
         | WIL = #D8F45A
 
         |
 
         |
 
         | #default = {{ambox|type=delete|text=<b>Template Warning:</b> RoB_color.<br> Parameter 1 (<i>color scheme name</i>): Used colour scheme name (<i>{{{1}}}</i>) not found.}}
 
         | #default = {{ambox|type=delete|text=<b>Template Warning:</b> RoB_color.<br> Parameter 1 (<i>color scheme name</i>): Used colour scheme name (<i>{{{1}}}</i>) not found.}}

Latest revision as of 18:07, 12 December 2019

Template documentation (for the template shown above, sometimes hidden or invisible)
Generals
Colour text based on a scheme name (instead of having to specify the colours per individual "Font_Color" call).
Intended to be used for recurring text colouring of wiki-wide stuff.
(currently all, but the "name-example" case, don't use any specific background color.)
When adding new colour schemes: take care of proper naming, and also add it to the Doc page.
Active colours: When no text is specified returns just the global used color name. (ie: no additional styling supplied)
Active colours
Name Preview
Combat Moves
backhanded Blue
oppressive Red
striking Green
sweeping Gold
Infobox
result_none Gray
Infobox
infoboxheader #3366CC
infoboxsection #6699FF
infoboxfoother #aaaaaa
FEP's
AGI #929AFB
CON #FC91DF
CHA #79FFA5
DEX #FEE9B9
INT #B6E0F5
PER #FFCE92
PSY #D39BFF
STR #F4938C
WIL #D8F45A
(Other)
shareddata Lavender
pagename DarkSlateGray
Active colour schemes
Name Preview
Combat Moves
backhanded text text text
oppressive text text text
striking text text text
sweeping text text text
Infobox
result_none text text text
(Other)
(full lower case names, exception FEP tags.)


Usage preview's.
1) {{RoB color}} :
Wiki-deletion.png

Template Warning: RoB_color,
Parameter 1 (color scheme name): Is required, but was Empty.

2) {{RoB color | }} :
Wiki-deletion.png

Template Warning: RoB_color,
Parameter 1 (color scheme name): Is required, but was Empty.

3) {{RoB color | foobar | }} :
Wiki-deletion.png

Template Warning: RoB_color.
Parameter 1 (color scheme name): Used colour scheme name ( foobar ) not found.

4) {{RoB color | name-example | text text text }} : text text text

5) {{RoB color | alt-name-example | text text text }} : text text text

6) {{RoB color | striking | text text text }} : text text text

7) {{RoB color | foobar | text text text }} :
Wiki-deletion.png

Template Warning: RoB_color.
Parameter 1 (color scheme name): Used colour scheme name ( foobar ) not found.


Known issue.
7b) On indented line (no fix known yet)
: ... {{RoB color | foobar | text text text }} :
Wiki-deletion.png

Template Warning: RoB_color.
Parameter 1 (color scheme name): Used colour scheme name ( foobar ) not found.


Visit Template:RoB color/doc to edit this text! (How does this work?)