I want to make buttons like these, but i’m unsure how
I want them to be like “Create a Page” thingy with a certain name
I want to make buttons like these, but i’m unsure how
I want them to be like “Create a Page” thingy with a certain name
You have to do such things in source editor.
This is what the visual editor made with your code:
Remove all the nowiki tags.
It works now thanks
Well, that's not a button. That's an input form. ;)
True, but they asked for a button to make a page and this is by far the easiest way to do that. As it requires no coding at all.
"As it requires no coding at all."
Well, that's not entirely true.
It requires additional attributes to make it a button only without input field, and defining colors and other things to make it look like their example. That's coding. ;)
I'm not saying my solution is the best (it's probably not) but from the 3 options that were presented here, mine is the only one that creates what they asked for* and is copy/paste-ready.
* "I want to make buttons like these..."
Yes, but i also want it to have the person’s username in it and create a page.
"and create a page"
What page? Exactly please.
And after that page was created? Update the button to create another page?
Please be more precise.
Its like similar to the Adoption Pages after you fill out the thing, but i want to make it where you don’t need to fill it out and simply create a page
Ok, let's try this again.
What page? Exactly please.
This has to be defined somewhere, so what page do you want to create with that button?
🤦🏼♀️
I'm not sure why you're facepalming.
You cannot just create a random page. A page needs a pagename, and that has to be defined somewhere.
Do you want it to open the page-creation dialogue? ↓
If yes, that's exactly what my button above does. It opens Special:CreatePage. And it can also be done with the inputbox thingy Moonwatcher proposed.
But for any specific page, its pagename has to be defined somewhere, either in the code itself, or with an input field, but you just said that you don't want the need to fill out anything.
So you have to tell us what page you want to create. "A page" is not enough.
What do you think?