Forum:Infobox displaying at bottom of page?
ShoutWiki — express yourself and be heard!
Jump to navigation
Jump to search
Forums: Index → Community help
Hello, I'm relatively inexperienced with both ShoutWiki and MediaWiki in general beyond rudimentary surface level work with templates. I have been trying to import an infobox template from an old wiki I used up to this point, and unable to get it to work, instead used an infobox from wikipedia which filled the same purpose. This one appears to work, but displays at the very bottom of the page for me. Anybody know why this is?
The page in question: http://ordicencylopaedia.shoutwiki.com/wiki/Kolintha Kolintha (talk) 20:59, 11 June 2016 (UTC)
- I'd say to start with cleaning up your markup. Use wiki markup instead of HTML. See Help:Tables on how to make a table. Once you've done that, maybe it'll be easier to figure out why your class isn't applying to the table. --Saftzie (talk) 23:15, 11 June 2016 (UTC)
- The problem isn't with a table though - it's with an infobox. Also, could you elaborate about what you mean when you say Markup? Kolintha (talk) 23:40, 11 June 2016 (UTC)
- See Help:Tables on how to make a table. --Saftzie (talk) 03:23, 12 June 2016 (UTC)
- But the problem isn't with a table. I know how to make a table, I just want to know why the infobox is displaying at the bottom of every page it is used in. This is the code for it: http://pastebin.com/3f3aXyMc ---Kolintha (talk) 09:54, 12 June 2016 (UTC)
- See Help:Tables on how to make a table. --Saftzie (talk) 03:23, 12 June 2016 (UTC)
- The problem isn't with a table though - it's with an infobox. Also, could you elaborate about what you mean when you say Markup? Kolintha (talk) 23:40, 11 June 2016 (UTC)
- Kolintha wrote: This one appears to work, but displays at the very bottom of the page for me. Anybody know why this is?
From my experience, infoboxes fall to the bottom of the page when the coding has not been closed. Looking at the bottom of s:w:ordicencylopaedia:Template:Infobox_country I think that '''<!--''' needs a closing '''-->''' on the </noinclude> line (2nd from bottom)
{{#if:{{{footnotes|}}} | <tr> <td colspan="3" style="font-size:85%;">{{{footnotes}}}</td> </tr><!-- -->}}<!-- </noinclude> </table>
- Hopefully that fixes it :-) Percy 11:00, 12 June 2016 (UTC)
- It works! Thank you very much!