FANDOM


  • Hello.

    I have a wiki that has a lot of pages for political office holders. I like to have infoboxes to display their offices held and some characters hold multiple offices. When I do a visual edit and create an infobox, if I have a label with the same description under multiple headings whatever information I put to describe one label ends up filling the space of the other label with the same information.

    For example, let's say that Joe X was the President of the US but also Secretary of State. If I had term under the president header and term under the SOS header and I put 2005 - 2009 for term under the president header it also populates the same description in the term label under the sos header.

    Just wondering if there is a way to fix this?

    Thanks,

      Loading editor
    • A way is by adding a number to the source of the parameter, for example by changing

      <data source="term">
            <label>Term1</label>
      </data>
      (...)
      <data source="term">
            <label>Term2</label>
      </data>

      into

      <data source="term1">
            <label>Term1</label>
      </data>
      (...)
      <data source="term2">
            <label>Term2</label>
      </data>
        Loading editor
    • If you edit the infobox, look at the bottom right corner. You'll see a light gray []. Click it, and you're taken to the source code.

      Here, you can change the parameters and/or labels, so you can split in in Years1 = and Years2 = and so on, but still keep Years as the label, visible on the page, for both.

        Loading editor
    • Thank you so much! This has solved the issue. I'm still new to learning source editing so I appreciate your help

        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.