How to set up Mediawiki infoboxes?
May 23, 2008 5:11 AM Subscribe
Mediawiki infoboxes. I'd like to use a Wikipedia-style infobox in my own personal Mediawiki. Help? Please?
I must be missing something. I have an installation of Mediawiki on my server that I would like to use for cataloging video games. I like how the better video game entries are set up on Wikipedia (example), especially the infoboxes. How can I set up similar infoboxes on my wiki? I realize it has to do with templates, but I can't find a clear "dummies" step-by-step on on how to do it. I looked hard. I promise. BONUS: I like this tool. How can I set up my wiki so the tool will also work with my infoboxes? Thanks!
I must be missing something. I have an installation of Mediawiki on my server that I would like to use for cataloging video games. I like how the better video game entries are set up on Wikipedia (example), especially the infoboxes. How can I set up similar infoboxes on my wiki? I realize it has to do with templates, but I can't find a clear "dummies" step-by-step on on how to do it. I looked hard. I promise. BONUS: I like this tool. How can I set up my wiki so the tool will also work with my infoboxes? Thanks!
Response by poster: Thanks for the answer...still trying to work on this. Also found some helpful info here.
posted by Otis at 2:02 PM on May 26, 2008
posted by Otis at 2:02 PM on May 26, 2008
This thread is closed to new comments.
Right, so then you'll need a couple templates to handle those conditionals:
Call: Ine: X0: P2p1: P2p1p3: Then basically what you do in your template is (I think...):
Template: And then invoke it on your page like: So for example, take a look at one of the pages on my crappy little wiki, say @-party. The infobox is on the right. Basically you invoke it on each page through a template, in this case {{Jargon}}: Then here's the relevant portion of the {{Jargon}} template: PITA? Kinda. But it works.
posted by ChasFile at 6:34 AM on May 23, 2008