Template talk:Box portal skeleton

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
WikiProject iconPortals  
WikiProject iconThis page is within the scope of WikiProject Portals, a collaborative effort to improve portals on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
Template This template does not require a rating on the project's quality scale.
Note icon
See also: List of Portals

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)[reply]

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)[reply]
:How can one create a portal manually (using old Mediawiki machines)?. --Altermike 18:17, 21 March 2007 (UTC)[reply]

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)[reply]

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)[reply]