Fandom

Community Central

Admin Forum:Auto-preload based on page name

19,002pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

This Forum has been archived

Forums: Admin Central Index Technical Help Auto-preload based on page name
Central's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
Note: This topic has been unedited for 1361 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.



Hi. I'm creating a couple of preload templates for use on F1 Wiki, and I'd like to know if there wouldbe any way to automatically preload a particular template when a new page is started from a particular Project page. For example, Project:Drivers contains several redlinks. When I click one of these to create the page, is it possible to automatically preload this template into the edit window when I creat a new page from this project page, and only from this project page?

Thanks

MTracey1 PSN/XBL: Mackem1985 {{SUBST:MTracey1Sig}} 02:42, May 14, 2012 (UTC)

Yes, it's possible. I don't see why you'd want to, though. Why not just install a preload dropdown system that appears on every page you edit? You can do it in a few minutes of copying and pasting from w:c:starwars:MediaWiki:Common.js, w:c:starwars:MediaWiki:Wikia.js and w:c:starwars:template:stdpreloads. czechout@fandom    fly tardis  <span style="">20:21: Mon 14 May 2012 
The quick and dirty thing you could do is to create an input box which you could place on this single page. Then, when you typed a title into it and pressed "submit" it would create a page with the preload of your choice. Every Wikia wiki that has a forum uses this method, pretty much by default. But if you want to look at the simple code, go to tardis:template:forums add box. It's not exactly the same thing as you're asking for, but it's a five-minute job. czechout@fandom    fly tardis  <span style="">20:27: Mon 14 May 2012 

Also on Fandom

Random Wiki