FANDOM


  • Hi.

    I work on the Endless Ocean Wikia as an admin there, and I would like to modify an existing infobox ("Infobox Animal") so that, by default, it shows three tabs, each with a default image if there is none uploaded by the specified name.

    For example, when I insert {{Infobox Animal}} to a page and save, even if it has no info, by default it has three image tabs labeled "In-Game", "Encyclopedia" and "Real Life", each with the image "Unavailable.png" if none other is specified.

    How would I go about inserting this into the default template for the infobox? I've tried using <tabber> and <gallery> in the template, but they aren't recognised as valid tags. Using multiple <image> tabs yields the image three times in a row, not in tabsĀ :/

    Thanks,

    DanZFLT 23:01, January 26, 2019 (UTC)

      Loading editor
    • This is how I did it

      <image source="image"><default>
        {{#tag:gallery|
                   {{{In-Game|Unavailable.png}}}{{!}}In-Game
                   {{{Encyclopedia|Unavailable.png}}}{{!}}Encyclopedia
                   {{{Real Life|Unavailable.png}}}{{!}}Real Life
        }}
      </default></image>
      
        Loading editor
    • TableWiz's solution is probably what you are looking for. However, there are different types of "infobxes". Without knowledge of even which wiki this is for, it is hard to say exactly what the solution is. In general, you should provide links to relevant pages. In this case, that would be the template you are having the issue with and the example template you mentioned.

        Loading editor
    • TableWiz wrote:
      This is how I did it
      <image source="image"><default>
        {{#tag:gallery|
                   {{{In-Game|Unavailable.png}}}{{!}}In-Game
                   {{{Encyclopedia|Unavailable.png}}}{{!}}Encyclopedia
                   {{{Real Life|Unavailable.png}}}{{!}}Real Life
        }}
      </default></image>
      

      Holy moly bless you so much sir, this is exactly what I wanted!!!!!! =D

        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.