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

Content deleted Content added
imported>Mogism
छो →‎Parameters: Cleanup/Typo fixing, typo(s) fixed: seach → search using AWB
imported>Frietjes
छो copyedit
लाइन 1:
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
The anatomy infobox "[[Template:{{tld|Infobox bone]]"}} displays a right-side infobox showing information about bones of the body, allowing 2 images to be displayed at the top of the box.
 
==Usage==
लाइन 19:
| TA98 = A02.1.03.005
| FMA = 52850
| Dorlands =
| DorlandsID =
}}
The template is invoked using double-brace syntax (with the result similar to that shown at the right), coded as follows:
<pre style="overflow:auto">
<pre><nowiki>
{{Infobox bone
| Name = Superciliary arches
लाइन 31:
| Image = Gray134.png
| Width = 250
| Caption = [[Frontal bone]]. (Superciliary arch at mid right)
(Superciliary arch at mid right)
| Image2 =
| Width2 =
Line 41 ⟶ 40:
| TA98 = A02.1.03.005
| FMA = 52850
| Dorlands =
| DorlandsID =
}}
</nowiki></pre>
 
==Parameters==
The template parameters are (Camelnote case requiring upper/lowercasesensitivity):
{|
* Name = English name for structure.
|-
* Latin = Latin name for structure.
*| Name ||= English name for structure.
* GraySubject = [[Gray's Anatomy]] subject number, such as: 189. For details, see {{tl|Gray's Anatomy link}}.
|-
* GrayPage = Gray's Anatomy page number, such as: 825. For details, see {{tl|Gray's Anatomy link}}.
*| ImageLatin ||= topLatin imagename (omitfor "Image:")structure.
|-
* Width = width of top image (in pixels, default=250).
*| GraySubject ||= [[Gray's Anatomy]] subject number, such as: 189. For details, see {{tl|Gray's Anatomy link}}.
* Caption = caption under top image.
|-
* Image2 = 2nd top image (omit "Image:").
*| GrayPage ||= Gray's Anatomy page number, such as: 825. For details, see {{tl|Gray's Anatomy link}}.
* Width2 = width of 2nd image (in pixels, default=250).
|-
* Caption2 = caption under 2nd top image.
* Map | Image ||= maptop procedureimage after(omit 2nd image"Image:").
|-
* MapCaption = caption under map image.
*| Width ||= width of top image (in pixels, default=250).
* Origins = any [[Origin (anatomy)|origin]]s text
|-
* Insertions = any [[Insertion (anatomy)|insertion]]s text
*| Caption ||= caption under top image.
* Articulations = any [[Articulation (anatomy)|articulation]]s text
|-
* Precursor = any [[precursor]] text
*| Image2 ||= 2nd top image (omit "Image:").
* MeshName = [[MeSH]] name
|-
* MeshNumber = MeSH number code
*| Width2 ||= width of 2nd image (in pixels, default=250).
* TA98 = [[Terminologia Anatomica|TA]] code. How to serch TA code, see [[:Template:TA98]].
|-
* FMA = [[Foundational Model of Anatomy|FMA]] identifier. How to search FMA identifier, see [[:Template:FMA]].
*| Caption2 ||= caption under 2nd top image.
* Dorlands = Dorlands url number, such as: nine/000956217 (before .htm in url).
|-
* DorlandsID = Dorlands article name, such as "pulmonary artery".
*| Origins ||= any [[Origin (anatomy)|origin]]s text
 
|-
* BoxWidth &nbsp;&nbsp; = width of infobox (in em/pixels, default 20em), also "boxwidth"
*| Insertions ||= any [[Insertion (anatomy)|insertion]]s text
* ColumnGap = &amp;nbsp;&amp;nbsp;&amp;nbsp; - extra spaces between infobox columns.
|-
 
*| Articulations ||= any [[Articulation (anatomy)|articulation]]s text
|-
*| Precursor ||= any [[precursor]] text
|-
*| MeshName ||= [[MeSH]] name
|-
*| MeshNumber ||= MeSH number code
|-
*| TA98 ||= [[Terminologia Anatomica|TA]] code. How to serch TA code, see [[:Template:TA98]].
|-
*| FMA ||= [[Foundational Model of Anatomy|FMA]] identifier. How to search FMA identifier, see [[:Template:FMA]].
|-
*| Dorlands ||= Dorlands url number, such as: nine/000956217 (before .htm in url).
|-
*| DorlandsID ||= Dorlands article name, such as "pulmonary artery".
|}
Most parameters begin with a capital letter.
 
==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==
* [[Template:Infobox brain]] - for parts of the brain.
* [[Template:EyeInfobox muscle]] - articles on parts of thefor eye.muscles
 
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Medicine infobox templates|Bone]]
</includeonly>