Difference between revisions of "Template talk:Info pc"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
: If you want a category that includes the FLI's name (e.g. Bliss Followers, Rufus Followers, etc.), that should be pretty straightforward. If you wanted categories that included the following name, well, I'm not sure how we'd do that. | : If you want a category that includes the FLI's name (e.g. Bliss Followers, Rufus Followers, etc.), that should be pretty straightforward. If you wanted categories that included the following name, well, I'm not sure how we'd do that. | ||
:: I am very much NOT a coder, but would something like this [http://en.wikipedia.org/wiki/Associative_array http://en.wikipedia.org/wiki/Associative_array] be what I'm trying to get at? [[User:Cordir|Cordir]] 08:16, 19 May 2011 (MST) | :: I am very much NOT a coder, but would something like this [http://en.wikipedia.org/wiki/Associative_array http://en.wikipedia.org/wiki/Associative_array] be what I'm trying to get at? [[User:Cordir|Cordir]] 08:16, 19 May 2011 (MST) | ||
: Well, sure, an associative array would do it. I don't know whether there is support in-wiki for them, though the underlying language does. That said, if you want to keep it simple, I can set it up. Otherwise, if someone else wants to sandbox something (configure a test), that's fine, too. I will put tested template into place once confirmed working. You'll need to decide how to handle instances where a FLI had more than one following. |
Latest revision as of 10:07, 19 May 2011
I'm curious if it's possible to add something kinda complicated to this template: I'm envisioning a means by which when an immortal's name is added to the 'Followed' section, that a Category for that immortal's following is added. Is that even vaguely possible? I can certainly do the category adding by hand, but would make it much easier for the future if it was automated. Cordir 11:08, 17 May 2011 (MST)
- If you want a category that includes the FLI's name (e.g. Bliss Followers, Rufus Followers, etc.), that should be pretty straightforward. If you wanted categories that included the following name, well, I'm not sure how we'd do that.
- I am very much NOT a coder, but would something like this http://en.wikipedia.org/wiki/Associative_array be what I'm trying to get at? Cordir 08:16, 19 May 2011 (MST)
- Well, sure, an associative array would do it. I don't know whether there is support in-wiki for them, though the underlying language does. That said, if you want to keep it simple, I can set it up. Otherwise, if someone else wants to sandbox something (configure a test), that's fine, too. I will put tested template into place once confirmed working. You'll need to decide how to handle instances where a FLI had more than one following.