OK. So we have this template:
Code:
[IF="{{{inventor}}}"]
[h=2]chapter 1: The history of VARNAME[/h]
VARNAME was invented by {{{inventor}}}
[/IF]
The first wiki is about the lightbulb. So a member uses this template and fills in the inventor.
Code:
[IF="{{{inventor}}}"]
[h=2]chapter 1: The history of the lightbulb[/h]
the lightbulb was invented by Edison.
[/IF]
The next article is about the steam engine. Again a member uses this template and fills in the inventor:
Code:
[IF="{{{inventor}}}"]
[h=2]chapter 1: The history of the steam engine[/h]
the steam engine was invented by Watt.
[/IF]
It seems to me that in my examples the IF condition is not satisfied. If I am correct, then what do I do to only show the section if an inventor is filled in? Mind that this can be any value/name and we have no way of knowing what value/name will be used.
Bookmarks