#Cannot add portable infobox to page? (NOT FULLY RESOLVED, HELP STILL NEEDED)

1 messages · Page 1 of 1 (latest)

broken cliff
#

Link?

ember token
#

It's a private website, has my full name on it, is there any way not to share the link to the site?

#

I've done like 3 separate portable infoboxes, all of which gave me no parameters

#

Tried to import from Wikipedia and got 3 500 errors

broken cliff
#

Hm, send me a screenshot of all the code for the infobox then? Or copy-paste the code?

#

Since it's private I wouldn't be able to access it anyways

ember token
#
    <title source="title">
        <default>{{PAGENAME}}</default>
    </title>
    <image source="image"/>
    <data source="birthdate">
        <label>Date of birth</label>
    </data>
    <data source="birthplace">
        <label> </label>
    </data>
    <data source="deathdate">
        <label>Date of death</label>
    </data>
    <data source="deathplace">
        <label> </label>
    </data>
    <data source="occupation">
        <label>Occupation</label>
    </data>
    <data source="parent1">
        <label>Parents</label>
    </data>
    <data source="parent2">
        <label> </label>
    </data>
    <data source="spouse">
        <label>Spouse</label>
    </data>
    <data source="chidlren">
        <label>Children</label>
    </data>
    <data source="signature">
        <label>Signature</label>
    </data>
    <image source="image"/>
</infobox>```
#

This is from the last infobox I made

#

I added values to the source parameters and labels but still didn't work

#

This is what it looks like on the page whenever I add it

#

Looks like a regular heading

broken cliff
#

My best guess <data> and <label> not being on the same line being the issue, try putting them on the same line

ember token
#

On a side note is there a way for me to delete the previous templates I made before?

#

Might make it more difficult to distinguish which template is the right one if I do end up getting it fixed

broken cliff
#

There should be a delete button

#

This is on Vector2022, right at the top in the tools whilst on the page

rocky lintel
#

i think you're missing templatedata

ember token
rocky lintel
#
MediaWiki

TemplateData is an extension that stores information and parameters associated with a wikitext template and makes it available to an editing interface that can retrieve and present it in a template editor -- all of which helps users add and edit templates on pages.
It also provides a user interface for discovering templates .
As of April 2019, ...

ember token
#

I enabled templatedata

#

I think

#

I went on extensions to check anything for templates

#

I'm gonna check if after editing the code it works

rocky lintel
#

look at the top of the page when you edit the template

ember token
#

Looking at it but I don't think I can see anything useful

rocky lintel
#

nothing like this?

ember token
#

OHHHH WAIT

#

I thought you meant on the page before editing

#

Like

#

The actual template page

#

Yeah I see it now

rocky lintel
#

bwaaaa

#

ok then you need to add the values manually

#

i think

ember token
#

I'm gonna check rq

#

Ok I don't know who you are but you are a SAINT

#

IT WORKS 😭

ember token
#

Just going back to this

#

Issue not fully resolved despair

#

It seems to have worked when I added the parameters

#

But when adding it into the page

#

It just says </infobox>