Template:RoB color: Difference between revisions
Jump to navigation
Jump to search
(Clean-up (Doc page setup)) |
(+ result_none (Infobox)) |
||
Line 6: | Line 6: | ||
| alt-name-example | | alt-name-example | ||
| name-example = {{ Font color | fg = white | bg = gray | text = {{{2}}} }} | | name-example = {{ Font color | fg = white | bg = gray | text = {{{2}}} }} | ||
| result_none = {{ Font color | fg = gray | bg = | text = {{{2}}} }} | |||
| striking = {{ Font color | fg = green | bg = | text = {{{2}}} }} | | striking = {{ Font color | fg = green | bg = | text = {{{2}}} }} | ||
| backhanded = {{ Font color | fg = blue | bg = | text = {{{2}}} }} | | backhanded = {{ Font color | fg = blue | bg = | text = {{{2}}} }} |
Revision as of 08:08, 21 September 2018
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)
Name | Preview |
---|---|
Combat Moves | |
backhanded | style="background-color:;"| |
oppressive | style="background-color:;"| |
striking | style="background-color:;"| |
sweeping | style="background-color:;"| |
Infobox | |
result_none | style="background-color:;"| |
Infobox | |
infoboxheader | style="background-color:;"| |
infoboxsection | style="background-color:;"| |
infoboxfoother | style="background-color:;"| |
FEP's | |
AGI | style="background-color:;"| |
CON | style="background-color:;"| |
CHA | style="background-color:;"| |
DEX | style="background-color:;"| |
INT | style="background-color:;"| |
PER | style="background-color:;"| |
PSY | style="background-color:;"| |
STR | style="background-color:;"| |
WIL | style="background-color:;"| |
(Other) | |
shareddata | style="background-color:;"| |
outdated | style="background-color:;"| |
pagename | style="background-color:;"| |
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.
{{RoB color}}
:
2) {{RoB color | }}
:
3) {{RoB color | foobar | }}
:
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
{{RoB color | foobar | text text text }}
: 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 }}
:
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?)