Community Central
Community Central
Forums: Index Support Requests Additional rows in an infobox?
Fandom's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
Archive
Note: This topic has been unedited for 4681 days. It is considered archived - the discussion is over. Information in this thread may be out of date. Do not add to unless it really needs a response.

Apologies if this has been asked before, but I'd like to know if it's possible to add more than 10 rows to an infobox. I've tried using the Source code version to add more, but it keeps saying "too many parameters".

For the record, I know virtually nothing about advanced coding.

Additionally, I'd like to be able to change the infobox text colour to black.

Here's a link to my wiki: http://satur1n.wikia.com/wiki/Satur1n_Entertainment_Wiki

Thanks~!

—This unsigned comment is by Satur1n (wallcontribs) 18:09, August 11, 2012‎ (UTC). Please sign your posts with ~~~~!

It's easy to do, just edit the infobox template, and add more rows that look like the old ones; w:c:satur1n:Template:infobox
{{#if: {{{Row 10 title|}}}|
{{!}}-
{{!}}
'''{{{Row 10 title}}}'''
{{!}}
{{{Row 10 info|No information}}}
Is the basic unit for a row in infobox, so just copy that over and over again (changing 10, to whatever number the row is)
Then change
{{#if: {{{Row 11 title|}}}|
to whatever number is after the last row so that also works properly.
70.24.247.242 06:19, August 12, 2012 (UTC)
Just a little thing, you seem to have forgotten closing #if: bracket.  Cafeinlove msg 2012/8/12, 18:47 (KST)
Right. Whoops. Ok, also add
|
}}
to that zone with lots and lots of them, in the same amount as you added more rows
70.24.247.242 03:26, August 13, 2012 (UTC)

Sorry but I don't understand. I really don't get any of this, so I'm trying to learn.

Your template is a table, so you need to learn about table wikitext. Best do this on mw:Help:Tables. What you want to do is to add table code to your template only if a certain template parameter is not empty. For this you use the parser function {{#if:…|…}} (read up on that here). The code {{!}} is a template call instead of the symbol "|" so as to not mess up the "if" parser call, where that symbol is used as a parameter delimiter.--PedroM (talk) 20:08, August 12, 2012 (UTC)