Module talk:ColorParse/Templates
Jump to navigation
Jump to search
Creating the shader codes
Solid colors: xq -r '.colors.solidcolors.solidcolor | map("[\'\(.["@Name"])\']={\'\(.["@Color"])\', \'sequence\'},") | join("\n")' Colors.xml
Shaders: xq -r '.colors.shaders.shader | map("[\'\(.["@Name"])\']={\'\(.["@Colors"])\', \'\(.["@Type"])\'},") | join("\n")' Colors.xml
Librarianmage (talk) 06:49, 26 August 2024 (UTC)