FANDOM


Forums: Index Help desk Template Defaults
I am using the Infobox Character Template http://templates.wikia.com/wiki/Template:Infobox_character with little issue, but I can't seem to figure out how to change the defaults without breaking the template. Basically I just want the template to display either blank space or None or N/A if a field isn't filled out, instead of
{{{alias}}}
and such. When I just change the
{{{alias}}}
in the code to something else, the template breaks from that point on, and only the fields above my edit work.

Aryst0krat 18:45, January 14, 2010 (UTC)


I answered my own question by looking elsewhere in the same template -.-

But in case anyone else is having difficulties, it would appear that using
{{{alias| }}}
will set the default to whatever is after the vertical line.

Aryst0krat 18:50, January 14, 2010 (UTC)



Actually, one more question; is it possible to exclude a field completely if there is no entry for it?

Aryst0krat 18:56, January 14, 2010 (UTC)

{{#if: {{{alias|}}} | {{!}} '''Alias''' {{!!}} {{{alias}}} }} --Yoshord 23:53, January 14, 2010 (UTC)

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.