Wikia

Community Central

Infobox row invisible if there is no content

93,818pages on
this wiki

Forum page

This Forum has been archived

Visit the new Forums
Forums: Index Support Requests Infobox row invisible if there is no content
Wikia's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
Note: This topic has been unedited for 873 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.


The way how to do this can you read here:http://community.wikia.com/wiki/Forum:Infobox_rows_invisible_if_there_is_no_content. But the problem is I can't rewrite the my infoboxes. So if someone can help me, please leave a message here.

Greetings General Wartface 17:11, May 24, 2012 (UTC)

Wrap the row with {{#if:{{{parameter}}}|content}} and it will appear only if it has a value. Let me take an example, for Sjabloon:Infobox wezen, the syntax would be:
{{#if:{{{andere namen|}}}|
{{!}}-
{{!}} colspan="2" {{!}}<small>'''Andere namen''': {{{andere namen}}}</small>}}
More info about MW parser functions here. Well, there is an infobox temp by default on every wiki, I suggest you take an eye on it. Cafeinlove msg 20:15, 2012-05-25 (UTC+9)

Thanks a lot! I'm not so good with templates but I will give it a try.

General Wartface 09:17, May 26, 2012 (UTC)

Please, can somebody else do it for me? I can't do it. It's just one Infobox, this one.
General Wartface 09:36, May 26, 2012 (UTC)
Nope, your infobox is locked. -- Fandyllic (talk · contr) 31 May 2012 2:43 PM Pacific

Around Wikia's network

Random Wiki