Yeah, Infoboxes are a nice touch to articles: lift the heavy, bookish feel
from the article and make them more Web 2.0-ish.
Of course the easiest strategy would be to have all
infobox templates
derived from an abstract base class, i.e. a meta-template (which, when
edited, would globally affect all templates inheriting their
properties from it).
I agree to that. That would allow a much-needed margin to be added
(margin-top: 1px; margin-left: 1px; etc...), which stops the templates
clashing by adding an invisible border on the outside (as oppose to padding:
1px, which adds space in the inside of the template's edges. Just a nice
touch that makes it look more professional.
Anthony
User:AGK
en.wikipedia.org
On 22/01/2008, Bryan Derksen <bryan.derksen(a)shaw.ca> wrote:
Charlotte Webb wrote:
Of course the easiest strategy would be to have
all infobox templates
derived from an abstract base class, i.e. a meta-template (which, when
edited, would globally affect all templates inheriting their
properties from it).
Well, how about we boldly get that started? :) I note that
http://en.wikipedia.org/wiki/Template:Infobox is almost completely
unused, it's just sitting there as a chunk of example text that's meant
for copying and pasting as a starter point for new infoboxes. It's
linked from fewer than 500 pages, and the transclusions that I've
sampled all appear to be transcluded in error. So let's hijack it.
I've whipped up a quick and dirty "meta-Infobox" at
http://en.wikipedia.org/wiki/User:Bryan_Derksen/Template_sandbox
It's pretty basic but it includes the common features I've seen on most
infoboxes and I'm sure that over time people with better parser skills
than I will be able to extend it with others; this is just intended to
get the ball rolling. If nobody raises any strenuous objections, I'll
clean up the transclusions of {{Infobox}} and move the new
meta-template's code over.
_______________________________________________
WikiEN-l mailing list
WikiEN-l(a)lists.wikimedia.org
To unsubscribe from this mailing list, visit:
http://lists.wikimedia.org/mailman/listinfo/wikien-l