Topic on Project:Support desk

Navbox, can't seem to get it working

5
122.111.236.125 (talkcontribs)

Hi there, I'm sure questions have been asked regarding Navbox before, however I've search google, mediawiki, youtube, wikipedia and can't seem to find the exact thing.


So I've compiled the so called code for a Navbox, based on templates found on Wikipedia and Mediawiki. I've tested the code on the wikipedia website and it works, however when I go and save it on my own wiki, the navbox comes up as so:

Template:Navbox Template:Collapsible option

and in red.


As mentioned in the previous paragraph, I copy across the same compilation into a pre-existing Wikipedia template just to test it out and the template appears correctly in the preview option.


I would assume that there is something else that needs to be enabled or turned on somewhere?

I am running the latest version of Mediawiki, I have double checked and I do have those extensions that people have vaguely mentioned in other posts Parserfunction and Scribunto, however I have not touched anything in there as I am not sure on where to go or what to do as I can't seem to find anything online relating to the exact issue i present above.


Any help would be greatly appreciated. I do apologise in advance if this is a stupid question. I've only just installed mediawiki and played around with it the last 2 days :)

Malyacko (talkcontribs)

The two links link to non-existing pages. Also, which specific documentation (link) do you follow?

122.111.236.125 (talkcontribs)

Template:Navbox

https://en.wikipedia.org/wiki/Template:Navbox


so what I'm saying is, on my wiki it comes up with 1 line Template:Navbox Template Collapsible option


when I copy the same coding over to wikipedia.com and click on preview, it opens up showing the navigation box that normally appears on some articles at the bottom of the screen


So I do not understand why that is the case, since its the same coding that I've applied


Also when I copy the code below it shows it in the table as a navbox


Template:Collapsible option

B1Bayon (talkcontribs)

Even when I've put a basic one, when i go to save the page, it simply shows "Template:Navbox" on the page, it doesn't show the table out previewable here on mediawiki

B1Bayon (talkcontribs)

so I've worked out that i need the module setup/template setup which I've done So i managed to work out to allow permissions to run the LUA executable, and also installed extensions templatestyles so the import of Module:navbox and template:navbox worked Now the hopefully the last issue I have regarding this, when I open the template:navbox on my wiki it comes up with this error: Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.

Reply to "Navbox, can't seem to get it working"