Template talk:Infobox Nerve
From Wikipedia, the free encyclopedia
This is the discussion/talk page for: Template:Infobox Nerve.
Contents |
[edit] Created
The anatomical Template:Infobox_Nerve was created back on 14-January-2006 by long-term Wikipedia user User:Arcadian. -Wikid77 (talk) 10:05, 30 March 2008 (UTC)
[edit] Overwide anatomy infoboxes
30-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_Nerve 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 (29Mar08) 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) 10:05, 30 March 2008 (UTC)
[edit] Beware colspan bugs: fixed image area
30-March-2008: Similar to other templates, I noticed problems with Infobox_Muscle expanding wide across the page, so I changed the original coding (from 2 years back) to use "colspan=2" now (had been "3") for images or captions, and the problem is fixed now: the infobox no longer expands wide across an article page. I also 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) 10:05, 30 March 2008 (UTC)
[edit] Blurry images in many anatomy articles
30-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) 10:05, 30 March 2008 (UTC)
[edit] Doc subpage
30-March-2008: I have created a typical "/doc" subpage to describe the parameters and show an example for "Template:Infobox_Nerve" 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: wide text in examples must be narrowed by 2 extra characters to fit during the green-doc display mode. -Wikid77 (talk) 10:05, 30 March 2008 (UTC)
[edit] Purging template cache to see updates
30-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) 10:05, 30 March 2008 (UTC)