User talk:UBX/UBXarchive

Latest comment: 18 years ago by Junior rookie in topic A code fix

A code fix

edit

Replace this: '''[[{{{1|}}}|userbox archive]]''', which produces this result (when parameter 1 is not present):

[[|userbox archive]]

With this: '''{{ #if: {{{1|}}} | [[{{{1|}}}|userbox archive]] |userbox archive }}''', which produces this result (when parameter 1 is not present):

userbox archive

The "fixed" code eliminates the "[[|" and "]]" from around the words "userbox archive".

Junior rookie | Talk 20:55, 16 October 2006 (UTC)Reply