Fandom

Community Central

Infobox row invisible if there is no content

Forum page

19,039pages on
this wiki
Add New Page
Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

This Forum has been archived

Visit the new Forums
Forums: Index Support Requests Infobox row invisible if there is no content
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.
Note: This topic has been unedited for 1654 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

Also on Fandom

Random Wiki