Template talk:Infobox vein

Latest comment: 6 years ago by Tom (LT) in topic Parameter update

Created

edit

The anatomical Template:Infobox_Vein was created back on 2-February-2006 by long-term Wikipedia user User:Arcadian (still active). -Wikid77 (talk) 16:02, 31 March 2008 (UTC)Reply

Topics from 2006

edit

Caption2 field no longer displays

edit
Moved from user talk:Ligulem

Per Template:Infobox Vein -- I want to thank you for updating the infobox style, but after your update, it looks like the Caption2 field no longer displays. If you get a chance, could you take a look at it? --Arcadian 21:08, 21 October 2006 (UTC)Reply

Sorry. I made a botch. There was a pipe missing. --Ligulem 22:17, 21 October 2006 (UTC)Reply
Looks good now -- thanks for the fix. --Arcadian 23:21, 21 October 2006 (UTC)Reply
Ok. Thanks for reporting the bug. --Ligulem 23:23, 21 October 2006 (UTC)Reply

Recent change

edit

I had to revert the last change made to the template - something went seriously wrong - and I am suspecting overuse of <includeonly>tags. I tried to restore the changes with a fixed version - but to no avail. It did affect transclusions. --Sagaciousuk (talk) 21:27, 24 October 2006 (UTC)Reply

Could you be more specific? Give an example transclusion that was wrong (for example the name of an article)? --Ligulem 21:33, 24 October 2006 (UTC)Reply

Topics from 2008

edit

Retrofit topic-year headers

edit

31-March-2008: I have inserted year headers "Topics from 2006" (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:02, 31 March 2008 (UTC)Reply

Overwide anatomy infoboxes

edit

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_Vein 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 (31Mar08) 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:02, 31 March 2008 (UTC)Reply

Beware colspan bugs: fixed image area

edit

31-March-2008: Similar to other templates, I noticed problems with Infobox_Vein 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) 16:02, 31 March 2008 (UTC)Reply

Blurry images in many anatomy articles

edit

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:02, 31 March 2008 (UTC)Reply

Doc subpage

edit

31-March-2008: I have created a typical "/doc" subpage to describe parameters and show an example in "Template:Infobox_Vein/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:02, 31 March 2008 (UTC)Reply

Purging template cache to see updates

edit

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:

http://en.wikipedia.org/w/index.php?title=Template:Infobox_Vein&action=purge

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:02, 31 March 2008 (UTC)Reply

Parameter update

edit

I have updated the template parameters per discussions at WT:ANAT and {{Infobox anatomy}}. Edits have included:

  • Removing the unused "Map" parameters - redundant to the normal "Image" parameters
  • Removing FMA - autofilled from Wikidata in the parent {{Infobox anatomy}} template
  • Removing Grays - moved to Wikidata and no longer displayed in templates per consensus
  • Removing Dorlands - consensus to strip all templates of references to this proprietary, nonmaintained dictionary link.

Please direct questions to WT:ANAT or the talk page of {{Infobox anatomy}}. Cheers --Tom (LT) (talk) 10:13, 13 February 2018 (UTC)Reply

Update 2: I have also removed the parameter "source". This was used in only 4 articles, and duplicates the more clearly named parameter "DrainsFrom". It is also confusing to have both "DrainsFrom" and "Source", and no article used both in the same infobox.--Tom (LT) (talk) 06:36, 17 February 2018 (UTC)Reply