[arch-general] wiki - Add a border to Template:Article summary start ?
Guys, I was working with Template:Article summary start code for the wiki trying to come up with a way to further define it on the page so you don't end up with it appearing to float transparently over the wiki content toward the bottom of the summary -- especially when there is a line of code that intersects it. Where you have a line of code that crosses the summary, the dashed border for the code just seems to disappear under the background of the summary. I tried color and different combinations of border and think I have hit on something I like better. I've added a border and adjusted the padding slightly. Since changing the summary template changes the look of all pages, I thought I would just pass along the code for Template:Article summary start for you guys to consider rather than changing it on the wiki. <noinclude>{{Template}} '''See [[Writing Article Overviews]] for usage instructions.'''</noinclude><includeonly>{| style="margin-left: 8px; padding: 3px 5px 3px 5px; border: 3px ridge #AFB1B5; border-spacing: 0px 4px; float: right; clear: right; width: 25%" cellpadding="0" |- style="text-align: center" ! style="background: #333; color: white; padding: 3px" | '''{{{1|Summary}}}'''</includeonly> I have a preview on my mediawiki that I setup as a sandbox to keep from destroying the Archwiki with my edits... You can take a look at the proposed border and padding here: http://www.3111skyline.com/mediawiki/index.php/Main_Page If the consensus is you like it, then I can update the template. If you don't - we'll just nix the idea. Nothing ventured nothing gained... Even if you don't like the border, then consider the padding change: padding: 3px 5px 3px 5px; It adds just a bit of slenderness to the content beneath the headings. -- David C. Rankin, J.D.,P.E.
On Thu, Mar 3, 2011 at 1:48 PM, David C. Rankin <drankinatty@suddenlinkmail.com> wrote:
Guys,
I was working with Template:Article summary start code for the wiki trying to come up with a way to further define it on the page so you don't end up with it appearing to float transparently over the wiki content toward the bottom of the summary -- especially when there is a line of code that intersects it. Where you have a line of code that crosses the summary, the dashed border for the code just seems to disappear under the background of the summary.
I tried color and different combinations of border and think I have hit on something I like better. I've added a border and adjusted the padding slightly. Since changing the summary template changes the look of all pages, I thought I would just pass along the code for Template:Article summary start for you guys to consider rather than changing it on the wiki.
<noinclude>{{Template}}
'''See [[Writing Article Overviews]] for usage instructions.'''</noinclude><includeonly>{| style="margin-left: 8px; padding: 3px 5px 3px 5px; border: 3px ridge #AFB1B5; border-spacing: 0px 4px; float: right; clear: right; width: 25%" cellpadding="0" |- style="text-align: center" ! style="background: #333; color: white; padding: 3px" | '''{{{1|Summary}}}'''</includeonly>
I have a preview on my mediawiki that I setup as a sandbox to keep from destroying the Archwiki with my edits... You can take a look at the proposed border and padding here:
http://www.3111skyline.com/mediawiki/index.php/Main_Page
If the consensus is you like it, then I can update the template. If you don't - we'll just nix the idea. Nothing ventured nothing gained...
Even if you don't like the border, then consider the padding change: padding: 3px 5px 3px 5px; It adds just a bit of slenderness to the content beneath the headings.
-- David C. Rankin, J.D.,P.E.
More appropriate locations for this discussion would be the template talk page itself: https://wiki.archlinux.org/index.php?title=Template_talk:Article_summary_start&action=edit&redlink=1 ...or the Writing Article Overviews talk page: https://wiki.archlinux.org/index.php?title=Talk:Writing_Article_Overviews&action=edit&redlink=1 -- Des (pointone)
On 03/03/2011 01:29 PM, Desmond Cox wrote:
More appropriate locations for this discussion would be the template talk page itself:
https://wiki.archlinux.org/index.php?title=Template_talk:Article_summary_start&action=edit&redlink=1
Thank you Desmond. I added it there and then applied it to the pkgbuild page for evaluation. There wasn't a 1:1 correlation for the padding or margin rendering in the archwiki, but it was close. You can take a look at the border concept applied to the https://wiki.archlinux.org/index.php/Pkgbuild page. Let me know what the thoughts are. If there in interest in it, then we could add it as something like Template:Article heading startbox which would preserve the original and provide a choice for which border (or no border) any author might like. -- David C. Rankin, J.D.,P.E.
participants (2)
-
David C. Rankin
-
Desmond Cox