#Election infoboxes
25 messages · Page 1 of 1 (latest)
Use edit source on a page where you're using the election template. At the bottom of the page is a "Templates used in this preview" arrow. Click the arrow to see which templates and modules are showing as red links. You'll need to go export them from the source and then import them in your wiki.
In addition, especially if you are pulling templates from Big Wiki, you need to check what other templates and modules it depends on. Sometimes they tell you and sometimes they don't. Start with the "subpages" link at the bottom of the documentation.
You can also check the source code of a template. If it says #invoke, it's calling a module that you'll need to have for the template to function properly.
hey sorry for the delayed response but this is what im putting in and what im getting out. that module exists, but it was imported from wikipedia, so im assuming it doesn't work.
Ima guess you're missing Module:Documentation/styles.css
But you can check if you're missing other stuff by going to Template:Documentation and Module:Documentation, then using the edit source tab to check and see what templates they're calling. Any redlinks are ones you need to make them work.
im looking at the module and if by redlinks you mean the text in red, some of those modules already exist
redlinks are pages that are missing. if you click on the redlink, it should show a message saying the page is missing and allowing you to create it.
if you're saying the module exists, but somewhere else is showing a redlink, then maybe you need a redirect to the module or the module needs to be moved to the redlink name. there must be a disconnect between the module that's being called and the module you say exists.
okay i think im following
but ive encountered another error and now im super confused
is your wiki private? If not, do you have a link i can look at?
so im trying to implement a feature to where bullet point lists can be put in columns. i think the "div columns" template is best for my purposes
so ive put in the templates from a wiki called Atlas Wiki. however, the div col template
https://geopolitical.miraheze.org/wiki/Template:Div_col
is saying the documentation module
https://geopolitical.miraheze.org/wiki/Module:Documentation
is missing code. both are directly copied from Atlas Wiki; I don't know what I could do differently
yes that would be awesome, it's public
I'm going to guess Atlas Wiki pulled their templates from Big Wiki. Their Template:Div col requires the following templates and modules. Do you have all of them?
Template:Documentation (edit)
Template:Main other (edit)
Module:Arguments (edit)
Module:Check for unknown parameters (edit)
Module:Documentation (edit)
Module:Documentation/config (edit)
Module:Message box (edit)
Module:Message box/configuration (edit)
Module:No globals (edit)
Module:Yesno (edit)
The documentation template doesn't affect whether your templates work since it only relates to instructions on how to use the template.
But to fix any errors, you'll want to make sure you have the following:
Module:Arguments (edit)
Module:Documentation (edit)
Module:Documentation/config (edit)
Module:Message box (edit)
Module:Message box/configuration (edit)
Module:No globals (edit)
Module:Yesno (edit)
All of these should be on the Atlas wiki.
okay let me go through, thank you very very much
None of them showed up as redlinks on Atlas, but I see they've got some lua errors on their main page. So, if you don't find the template or module on Atlas, you might check Big Wiki (because I'm pretty sure that's where they got them from)