Template talk:Infobox Artery
From Wikipedia, the free encyclopedia
This is the discussion/talk page for: Template:Infobox Artery.
Contents |
[edit] Created
The anatomical Template:Infobox_Artery was created back on 13-November-2005 by long-term Wikipedia user User:Arcadian. -Wikid77 (talk) 16:25, 31 March 2008 (UTC)
[edit] Topics from 2008
[edit] Put topic-year headers
31-March-2008: I have inserted year headers "Topics from 2008" (etc.) and put an intro line. Older topics might still apply, but the yearly headers help focus on recent issues. Also new topics will be more likely added at bottom, not top. -Wikid77 (talk) 16:25, 31 March 2008 (UTC)
[edit] Overwide anatomy infoboxes
31-March-2008: There have been several infoboxes that auto-format into very wide layouts, wider than needed to display the images and text. The Template:Infobox_Artery was another overwide template that had expanded when MeSH name was omitted, due to a spacing issue in the template coding. However, infobox entries were still widely separated between label and value for each item in the table. The template coding was changed (03Feb08) to narrow the infobox to have merely the width needed to fit the images, also bringing the labels and values closer together in the table. -Wikid77 (talk) 16:25, 31 March 2008 (UTC)
[edit] Beware colspan bugs: fixed image area
31-March-2008: Similar to other templates, I noticed problems with Infobox_Artery expanding wide across the page, so on 03Feb08 I changed the original coding (from 2 years back) to use "colspan=2" (had been "3") for images or captions, but not for labels such as "Precursor", and the problem is fixed now: the infobox no longer expands wide across an article page. I have since added parameter "boxwidth=20em" (or "BoxWidth") to allow customizing width of the infobox. Beware mismatches in the use of "colspan=2" (or 3) in other infoboxes: many wikitables have had bizarre formatting caused by incorrectly spanning multiple columns by colspan=3 or such. Since the problem had also existed in Infobox_Bone and Infobox_Brain for nearly 2 years, there are probably several other templates that still have colspan bugs (as of March 2008). -Wikid77 (talk) 16:25, 31 March 2008 (UTC)
[edit] Blurry images in many anatomy articles
31-March-2008: The typical anatomy images are PNG-format images that are "faithful reproduction" page copies from Gray's Anatomy; however, they usually appear blurry in many articles, due to small lettering in labels or captions. JPEG images will produce slighty sharper, darker labels due to JPEG-contrast enhancement, but when converting a PNG image to the sharper JPEG format, I have also narrowed the image to magnify 10%-20% when displayed in an article: the narrowing of an image typically involves moving the Gray's captions closer to the center, thus no longer an exact "faithful reproduction" of the page, but more readable in each article. -Wikid77 (talk) 16:25, 31 March 2008 (UTC)
[edit] Doc subpage
31-March-2008: I have created a typical "/doc" subpage to describe parameters and show an example in "Template:Infobox_Artery/doc" as standard documentation. The doc is displayed only when the full template page is displayed stand-alone, not included, by using "{{template doc}}" which boxes a doc subpage in that narrow institutional-green documentation box. The example text had to be narrowed by 2 characters to fit within the green doc box without wrapping. The doc is in draft form, and more parameters should be described or elaborated. Remember the green-doc width complication: the wide text in examples must be narrowed by 2 extra characters to fit beside the image during the green-doc display mode. -Wikid77 (talk) 16:25, 31 March 2008 (UTC)
[edit] Purging template cache to see updates
31-March-2008: This is another reminder about viewing after making changes. When modifying the template or documentation ("/doc" subpage), it is often necessary to purge the template cache (by using keyword "action=purge"), such as to display modified documentation:
Running the older version of the template can be very confusing and frustrating when trying to install and verify improvements copied from test-versions of the template (so remember to use URL address keyword "action=purge"). -Wikid77 (talk) 16:25, 31 March 2008 (UTC)