Topic on Nonbinary Wiki:General discussion

Jump to navigation Jump to search

Hi! A while ago we renovated some of the templates, now I'm working on an infobox renovation. We currently have two infoboxes: {{infobox identity}} and {{infobox person}}. This time, the renovation has three parts:


I've changed the style of the infobox to a cleaner one, similar to the last template renovation. You can see an example of the new {{infobox identity}} concept in User:Ondo/Sandbox.

The change is basically for consistency with the general wiki style (main page boxes, new templates) and it also adds more contrast to the infobox contents (black on white, instead of black on yellow).

Infobox building

With the Module:infobox and the generic template {{infobox}} (not to be used directly on articles) building infoboxes is now even easier. The code for the sandbox example is in User:Ondo/tests.

This system is flexible enough to create any kind of infobox (it's the system used by Wikipedia) in a very straight-forward way.

NBDb integration

If you edit User:Ondo/Sandbox, you will notice that the template has no parameters, and yet there's a lot of information when you view it! That's because the template connects to the NBDb, our sister project, and grabs the data from there. In particular, this page is taking the data from this test item (which will be deleted when/if this proposal is approved). Since it's a test item, feel free to mess around with it to see how the infobox contents change!

The advantage of that is that it will be easier to update information (for example, when the gender census results come out), since everything is unified in a single page, It might even be possible to do it with a bot, since the NBDb is already structured in a machine-friendly way.

This integration uses Module:NBDb, by the way, which is a copy of Catalan Wikipedia's [òdul:Wikidades Wikidades module].

Also, note that I'm still checking that all NBDb identity items are complete so that the transition is seamingless, but it should be ready by the end of June (and manually-inputted parameters have priority over NBDb statements, so it shouldn't be a problem anyway).

Whew, sorry for the long post. But what do you think about these three changes? Let me know! :)