v50 Steam/Premium information for editors
- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.
Difference between revisions of "Template:Fgcolor"
Jump to navigation
Jump to search
m (more evidence of the utter madness) |
m |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{#rmatch:{{{1}}}|/[0-7]:([0-7]:)?[0-1]/s|Y|N}}|Y|{{#switch:{{#rreplace:{{{1}}}|/([0-7]):([0-7]:)?([0-1])/s|\1\3}}|00=#000000|10=#000080|20=#008000|30=#008080|40=#800000|50=#800080|60=#808000|70=#C0C0C0|01=#808080|11=#0000FF|21=#00FF00|31=#00FFFF|41=#FF0000|51=#FF00FF|61=#FFFF00|71=#FFFFFF}}|{{{1}}}}}</includeonly><noinclude> | <includeonly>{{#ifeq:{{#rmatch:{{{1}}}|/[0-7]:([0-7]:)?[0-1]/s|Y|N}}|Y|{{#switch:{{#rreplace:{{{1}}}|/([0-7]):([0-7]:)?([0-1])/s|\1\3}}|00=#000000|10=#000080|20=#008000|30=#008080|40=#800000|50=#800080|60=#808000|70=#C0C0C0|01=#808080|11=#0000FF|21=#00FF00|31=#00FFFF|41=#FF0000|51=#FF00FF|61=#FFFF00|71=#FFFFFF}}|{{{1}}}}}</includeonly><noinclude> | ||
− | {{raw Tile|A|{{fgcolor|#808080 | + | {{raw Tile|A|{{fgcolor|#808080}}|{{bgcolor|#808080|#c0c0c0}}}} |
− | {{raw Tile|A|{{fgcolor|#880 | + | {{raw Tile|A|{{fgcolor|#880}}|{{bgcolor|#880|#800}}}} |
− | {{raw Tile|A|{{fgcolor | + | {{raw Tile|A|{{fgcolor|5:1}}|{{bgcolor|5:1|5:1}}}} |
− | {{raw Tile|A|{{fgcolor | + | {{raw Tile|A|{{fgcolor|3:3:1}}|{{bgcolor|3:3:1|3:3:1}}}} |
− | "Test inline string - 4:6:0 becomes {{fgcolor | + | "Test inline string - 4:6:0 becomes {{fgcolor|4:6:0}} and {{bgcolor|4:6:0|4:6:0}}." |
{| | {| |
Revision as of 17:53, 30 April 2010
A
A
A
A
"Test inline string - 4:6:0 becomes
- 800000 and #D79B2D."
style="border:1px #AAA solid;padding:0.2em;font-size: 200%;font-weight: bold; color:
|
style="border:1px #AAA solid;padding:0.2em;font-size: 200%;font-weight: bold; color:
|
M |
M |