on a page with no "3" and "4" the template will show an empty header along with an empty navigation making both to be useless, but sometimes I would need for "3" and "4" for other pages with other types of incarnations but not all pages require that, is there a way where I can make the 2nd header and navigation gone without typing "3" or "4"?
Basically some characters that exists as pages in my wiki require this template, "1" gives the name of the character for the "Incarnations of" header, "2" is the navigation that is always used whenever this template is used, "3" is a header that sometimes can be or not be used based on the character itself depending if they any other types of incatnations (which is the purpose of this header), "4" is something also that may or may not be used (like "3") depending if the character has any other types of incatnations.
To answer your question, at this point both the "3" header and the "4" navigation on the original incarnation box template is crucial for me to be only shown when only both are used ("3" as a header & "4" as a navigation). If not used, I would like the template to not show the "3" header nor the "4" navigation at all even if it's just empty
i'm talking about the <navigation> tag. do you need it desperately? if you don't need it, then the tag might be changed for data tag, that will be hidden automatically, if user have not supplied corresponding parameter.
Fngplg wrote: i'm talking about the <navigation> tag. do you need it desperately? if you don't need it, then the tag might be changed for data tag, that will be hidden automatically, if user have not supplied corresponding parameter.
Are there any other differences between data and navigation?
not exactly. each your param (1, 2 etc) will be in the own <data>. if you want to use additional formatting, then you will need also <format> tag. read
Help:Infoboxes and Help:Infoboxes/Tags for details.