FANDOM


  • Hi!

    I wanted to create a <header></header> that says Image Gallery for Template:Character on my wiki.

    I tried using:

    <header><format>{{#ifeq:{{{image gallery|}}}|yes|[[{{PAGENAME}}/Image Gallery|<font color="white">Image Gallery</font>]]}}</format></header>
    

    but after clicking publish, it malfunctioned and stated that There is a problem with parsing the infobox.

    Could someone maybe help with this?

      Loading editor
    • format doesn't work with header, since header can't have a source upon which format is dependent. Just take the format tag out and then it'll work as needed!

      Also, font tag is deprecated, so it'd be better to use span to change the link color, e.g. <span style="color: #fff;">Image Gallery</span>.

        Loading editor
    • It works! Thank you so much Happybounce.gif

        Loading editor
    • A FANDOM user
        Loading editor
Give Kudos to this message
You've given this message Kudos!
See who gave Kudos to this message
Community content is available under CC-BY-SA unless otherwise noted.