Some light Wiki feature updates

Started by Mic’haglh Autófil, SMC EiP, November 15, 2024, 07:15:10 PM

Previous topic - Next topic

Mic’haglh Autófil, SMC EiP

Hello friends! You  may be interested to know about some of the updates I've recently made to some of the templates we use on the wiki.

I made an interesting discovery today: the Composition Bar template, which parties can use to show their share of the Cosa or Nimlet or what have you, does use RGB color values, which default to red. However, most partys leave their bars red because trying to use nominal RGB values seemed to screw everything up (in my case, it would frequently turn my bar white). This is because you have to use "standard" RGB values -- instead of a 0-255 scale, you use anything from 0 to 1. So take your preferred color, divide each coordinate by 255, and then put that in the parameters like so:


10 seats awarded, 200 seats total, then the color values



The infobox for political parties now has spaces to enter three colors (col1, col2, and col3). The first two continue to act as the border and separator, respectively, on the infobox. If col1 is blank it defaults to gray, and col2 left blank defaults to col1. Any colors entered (use "rgb(r,g,b)" for this, which each value between 0 and 255!) will appear in little colorboxes at the bottom of the infobox, and you can add names (or clarify if your party uses a somewhat difficult color to see in the box given its size). Color values and names that do not have an entry will not show up, preventing your party's infobox from being filled with blank entries or any sort of error text. I've also fixed a few formatting issues re: spacing. Also, did you know I previously added a parameter to describe where your party sits on Talossa's political spectrum?

Minister of Technology
The Long Fellow, Royal Talossan College of Arms
Specialist, Els Zuávs da l'Altahál Rexhitál
Zirecteir Naziunal, Parti da Reformaziun