Template talk:Box portal skeleton
This template was considered for deletion on 2019 October 7. The result of the discussion was "keep". |
This is the talk page for discussing improvements to the Box portal skeleton template. |
|
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||
|
Usage
[edit]See Wikipedia:Portal/Instructions for usage instructions for this template.
broken...
[edit]all the templates it uses appear to have been deleted.--RyanB88 07:55, 9 February 2007 (UTC)
- No, this template is supposed to look like that. When you follow the instructions and subst: this template , it will create all the other templates, personalized to your use.- Trevor MacInnis (Contribs) 08:25, 9 February 2007 (UTC)
- :How can one create a portal manually (using old Mediawiki machines)?. --Altermike 18:17, 21 March 2007 (UTC)
Extra closing div tag
[edit]I can't get this template to work.
There is always an extra closing div tag in the /box-header code even though it's not there when I edit the page (I check the source after editing the page). This causes all the content to be outside of the box. I've struggled with this the last few days. I followed the directions listed here. Any help would be greatly appreciated.
Gamakk (talk) 19:21, 2 September 2009 (UTC)
I tried to use this concept on my wiki, but encountered this "div" tag problem. After some analisys, I found out that the /box-header opens a "div" tag and never closes it. On the other hand, the /box-footer closes a "div" tag without ever opening it. I figured out that it's made on purpose, so that everything that goes in between those templates, stay inside a box. In my case, when the page is rendered, I see a floating "/div" tag and the content outside the box. That's because something (...and I'm not sure what) closed the "div" tag on the /box-header, making the last "/div" on the /box-footer mismatch the intended structure. But that's only on the rendered article. The code behind it remains the original. I found out a topic on the web about it, but haven't tried this solution (http://www.mwusers.com/forums/showthread.php?t=3958). Anyway, I'm still looking for an easier solution.
Two-column devolution to one-column on small, mobile screens
[edit]I've switched the hardcoded 'float: left; width: 55%' and 'float:right; width: 44%' to use the portal-column-left and portal-column-right classes I added to MediaWiki:Common.css (per note on Wikipedia Talk:WikiProject Portals). These devolve nicely to single columns on narrower screens in browsers that support CSS3 media queries and on the mobile interface, as long as nothing else on the page forces things to be wide. Please revert and let me know if there are any problems, thanks! --brion (talk) 23:22, 7 December 2011 (UTC)