टेम्पलेट:Infobox bone/doc: रिवीजन सभ के बीचा में अंतर

Content deleted Content added
imported>Wikid77
narrowed example text to fit beside image when displayed from template; set Category "Medical infobox templates"
imported>Wikid77
described parameters Map & MapCaption; added new section "Template coding" to explain implementation
लाइन 41:
 
==Parameters==
The template parameters are (Camel case requiring upper/lowercase):
* Name = English name for structure.
* Latin = Latin name for structure.
* boxwidthBoxWidth = width of infobox (in em/pixels, default 20em)., also "boxwidth"
* GraySubject = Gray's Anatomy subject number, such as: 189.
* GrayPage = Gray's Anatomy page number, such as: 825.
लाइन 53:
* Width2 = width of 2nd image (in pixels, default=250).
* Caption2 = caption under 2nd top image.
* Map = map procedure after 2nd image.
* Origins = origins
* MapCaption = caption under map image.
* Insertions = insertions
* Origins = any origins text
* Articulations = articulations
* Insertions = any insertions text
* Precursor = precursor
* Articulations = articulationsany text
* Precursor = any precursor text
* MeshName = MeSH name
* MeshNumber = MeSH number code
* DorlandsPre = Dorlands prefix, such as: i_09.
* DorlandsSuf = Dorlands suffix, such as: 12454066.
 
==Template implementation notes==
The template was implemented in January 2006 using the [[MediaWiki]] parser-functions language (which was updated in January 2008 to run with a recursive descent parser).
 
Changes should be made and verified in a test-version of the template copied into user-space (under "User:XXX/Template:Infobox_Bone"). Changes can be checked by editing actual articles by edit-preview (not Save) with the template-brace calls prefixed by "{<font/>{User:XXX/Template:...}}" but never saved that way.
 
When modifying the template or documentation ("/doc" subpage), it is often necessary to purge the template cache (using "action=purge"), such as to display modified documentation:
 
:: http://en.wikipedia.org/w/index.php?title=Template:Infobox_Bone&action=purge
 
Running old versions 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 "action=purge").
 
==See also==