Hi, I'm having an issue with a template that is basically multiplying each time I'm editing in visual editor and saving a page part of its content gets outside of the template.
Here is a link to the template https://stardustlabs.miraheze.org/wiki/Template:Discord
You can check and use this page to see an example of the issue https://stardustlabs.miraheze.org/wiki/User:Tera458/sandbox
#Template content saving itself outside the template
26 messages · Page 1 of 1 (latest)
im not sure why yours is doing that, but you can remove the duplicate easily in the source editor. just delete {{QuickLinks|GitHub=eurobeat|Modrinth=poopoo}}Mod name
This is not the template I have an issue with, it's the discord one I linked
That discord banner shield duplicates itself each time the page is open in visual edit
I would use source editing, sure, but users on my wiki might not
oh it duplicates even if not editing that part? weird. maybe it wouldnt do that if you put {{Discord}} in a different template, and called the new template instead
Overkill but might work, I do be having the niche-iest issues
Nvm still happens
so weird
Maybe because of comments? Or because it's a double div class?
do you put {{Discord}} and it auto adds all the stuff after it (<div...</div>)?
Not my intention but it seems that its what it's doing
sorry im really not sure, hopefully someone else can help. you might be able to get someone who knows in the mediawiki discord
you figured it out?
partially
Okay I think I fixed it
Basically that discord banner thingy https://github.com/dgibbs64/discord-banners
didnt like being mixed as a plainlink with text