Template talk:LoadPage

From Minecraft Wiki
Jump to: navigation, search


I have taken this template to German MC wiki, but without success. See here: de:Vorlage:LoadPage Can someone help me? Could someone edit the template maybe? ILeon 12:03, 26 March 2013 (UTC)

You probably need to update the site CSS and JS files. In particular, the '.load-page' part of MediaWiki:Common.css and the 'page loader' part of MediaWiki:Common.js. -- Orthotope 19:22, 26 March 2013 (UTC)
I'm not an admin, so I can not do that. But I have asked an admin. But thanks! ILeon 20:33, 26 March 2013 (UTC)
An admin has updated the .js. But the buttons loadContent are not displayed. ILeon 20:59, 26 March 2013 (UTC)
If both files have been updated and it still doesn't work, ask Ultradude to take a look at it, since he's the one who wrote this in the first place. -- Orthotope 06:24, 27 March 2013 (UTC)
The buttons are there for me, it was probably a cache issue. Although you're still missing a bit of our common.js (the top parts), so clicking it does nothing. ultradude25Talk
07:25, 28 March 2013 (UTC)
The Load Content will be displayed. The contoent is not loaded. ChickenSig.png ILeonTalk
Diamond Pickaxe JE3 BE3.png de.minecraftWiki Admin 17:48, 14 April 2013 (UTC)
Yes, that's what I just said... ultradude25Talk
18:02, 14 April 2013 (UTC)
I have now copied the complete English common.js to the German MCWiki. Unfortunately without success. ChickenSig.png ILeonTalk
Diamond Pickaxe JE3 BE3.png de.minecraftWiki Admin 18:03, 14 April 2013 (UTC)
Works for me if I bypass cache. ultradude25Talk
18:04, 14 April 2013 (UTC)

It does not work for me. :/ ChickenSig.png ILeonTalk
Diamond Pickaxe JE3 BE3.png de.minecraftWiki Admin 18:08, 14 April 2013 (UTC)

Then you didn't bypass cache. Debug mode is the best way to do that. Add debug=true to the url. ultradude25Talk
18:42, 14 April 2013 (UTC)
Yep. This works for me. http://de.minecraftwiki.net/wiki/Vorlage:LoadPage?debug=true --eagle3000 (D ~ B) 18:48, 14 April 2013 (UTC)

Category for loaded pages?[edit]

While it's easy enough to find pages that use the LoadPage template, it seems to be a little more difficult finding pages that are being loaded, other than walking through each page that uses the template. I was thinking of adding a category to the new schematic load pages to make finding them easier, but it would probably make sense to just use one category for all loaded pages and use the appropriate redstone category to differentiate them.

[[:Category:Loaded pages]]? [[:Category:Loaded]]?

Munin295 · Book and Quill JE2 BE2.png Stone Pickaxe JE2 BE2.png · 19:44, 22 April 2013 (UTC)

Category:Ajax loaded pages ultradude25Talk
23:56, 22 April 2013 (UTC)
done. —Munin295 · Book and Quill JE2 BE2.png Stone Pickaxe JE2 BE2.png · 02:18, 23 April 2013 (UTC)

Transclusion tags[edit]

Do the translation tags like noinclude, includeonly and onlyinclude work when using LoadPage? Or does it just literally load the entire page regardless of any transclusion tags? –- (T) Numbermaniac (C) 08:52, 1 June 2013 (UTC)

It loads the page as if you were just viewing it, not transcluding. However, from looking at the way the license selector on the upload page works, this is easily fixable. ultradude25Talk
09:49, 1 June 2013 (UTC)
I didn't really get that, but you're the expert! :D –- (T) Numbermaniac (C) 11:52, 1 June 2013 (UTC)


What is the purpose of this template? In my opinion it just makes the page slower, less responsive and less portable. If I want to see the content I would first need to activate javascript, then click on the "show" button and wait 10 seconds for that part to load.

Ok if you want to use it on huge files that would make the page load slower if it is included initially, but that is not how it is used. And the content is not dynamically generated either, so I really do not get it.

And please don't tell me it's just for getting the show/hide buttons! That could be done with 2 lines of CSS, which would make it load instantly and work without javascript.

--Anka213 (talk) 14:17, 18 July 2014 (UTC)

Answered by Matt at Template talk:Gameplay#Ajax. ディノ千?!? · ☎ Dinoguy1000 20:26, 18 July 2014 (UTC)

"[edit]" in toc[edit]

Example here. --GreenStone (talk) 12:35, 15 September 2014 (UTC)

Can't find load-page in Common.css[edit]

Like the first poster here, I'm trying to port the LoadBox and similar templates to another wiki, in this case mystcraft.gamepedia.com. The advice above says to port over "the .load-page part of Common.css", which I was already looking for... but I can't find any matching style there. (I do see some promising code in Common.js). Have these styles been moved somewhere else or something? --MentalMouse42 (talk) 00:21, 12 August 2015 (UTC)

The only styling required is the generic noscript class. MajrTalk
00:49, 12 August 2015 (UTC)
OK, I'll try that, but where are the classes referenced in the template coming from? Thanks! --MentalMouse42 (talk) 03:12, 12 August 2015 (UTC)
The styling Orthotope was referencing is something that was removed between 2013 and now. The class referenced by this template is now all for the javascript usage, meaning you need the second part of Orthotope's sentence above: "the 'page loader' part of MediaWiki:Common.js". KnightMiner t/c 21:02, 12 August 2015 (UTC)

Mobile fix[edit]

On mobile the show and edit buttons appear vertically ("[s<br>h<br>ow"). Can this be fixed? – Nixinova Nixinova sig1.png Nixinova sig2.png 08:01, 19 January 2019 (UTC)