#Parsing infobox after I changed heading functions

9 messages · Page 1 of 1 (latest)

plush ibex
#

So the infobox I was utilizing doesn’t work after I tried to change the headers to be collapsible. I honestly have no clue what I did wrong, thought it may be because I’m a moron in coding.

Link to the template infobox and wiki respectively:

https://suppression.miraheze.org/wiki/Template:Infobox_Conflict

https://suppression.miraheze.org/wiki/Main_Page

Suppression Declassified

NOTICE
This template IS FORKED FROM EXTERNAL SOURCES: Church of the Statue Wiki.

The templates are licensed by CC BY-SA 4.0. The Church of the Statue Wiki is dual-licensed under CC BY-SA 4.0 and the Free Art Licence 1.3.

The respective template does not attribute its ownership to Pale Zenith, nor Suppression Declassified. Legal action can occu...

Suppression Declassified

WELCOME TO:

! SEE BELOW !

Set inside the SCP Foundation universe is a huge array of canons, timelines, and plots. Suppression is one of them. Within this ever-changing timeline, both "true" and "false" can be constants, and humanity is no exception. Humanity is a small, minuscule speck, and is simply waiting to be exterminated or...

jaunty hare
#

You made an error in your syntax somewhere, but the infobox on the page seems to be working

#

What exact change did you try to make

wary gate
#

You've forgotten to close your <group> tags on Template: Infobox_Character (Infobox_Conflict works fine, I'm looking at the one in your screenshot)

#

This code removes the parsing error

<onlyinclude><infobox>
    <title source="title">
        <default>Character's Name:</default>
    </title>
  <image source="image">
    <caption source="caption-image"/>
  </image>
 <group layout="horizontal" collapse="open">
  <header><center>Information</center></header>
    <data source="Epithet">
        <label>Epithet:</label>
    </data>
    <data source="Position">
        <label>Position:</label>
    </data>
    <data source="Archetype">
        <label>Archetype:</label>
    </data></group>
 <group layout="horizontal" collapse="open">
  <header><center>Personal Information</center></header>
<data source="Faith">
        <label>Faith:</label>
    </data>
    <data source="Ethnicity">
        <label>Ethnicity:</label>
    </data>
    <data source="Nationality">
        <label>Nationality:</label>
    </data>
    <data source="Gender">
        <label>Gender:</label>
    </data>
<data source="Birthday">
        <label>Birthday:</label>
    </data>
<data source="Death">
        <label>Death:</label>
    </data></group>
 <group layout="horizontal" collapse="open">
  <header><center>Alignment</center></header>
    <data source="Associates">
        <label>Associates:</label>
    </data>
    <data source="Family">
        <label>Family:</label>
    </data>
<data source="Affiliation">
        <label>Affiliation:</label>
    </data></group>
</infobox></onlyinclude>
plush ibex
#

Oh

#

Wait that’s why

#

Damn it every time I’ve sent a pin in this support it’s always because of less than five lines of code

#

Thank you tho 😄