Difference between revisions of "Template:Infobox bone/doc"

From blackwiki
Jump to navigation Jump to search
imported>Doc James
(→‎Usage: added)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
 
{{lua|Module:Check for unknown parameters}}
 
{{lua|Module:Check for unknown parameters}}
{{Uses Wikidata|P1323|P1402}}
+
{{tld|Infobox bone}} displays a right-sided infobox showing information about bones of the body, allowing two images to be displayed at the top of the box.
  
{{tld|Infobox bone}} displays a right-side infobox showing information about bones of the body, allowing two images to be displayed at the top of the box.
+
==Use==
 +
{{Anatomy infoboxes}}
  
==Usage==
 
{{Infobox bone
 
| Name          = Superciliary arches
 
| pronounce    =
 
| synonyms      =
 
| Latin        = a. superciliaris
 
| GraySubject  = 33
 
| GrayPage      = 135
 
| Image        = Gray134.png
 
| Width        = 250
 
| Caption      = [[Frontal bone]]. (Superciliary<br /> arch at mid right).
 
| Image2        =
 
| Width2        =
 
| Caption2      =
 
| System        =
 
| Origins      =
 
| Insertions    =
 
| Articulations =
 
| Precursor    =
 
| MeshName      =
 
| MeshNumber    =
 
<!-- The following two are only necessary here since we aren't in an article -->
 
| TA98          = A02.1.03.005
 
| FMA          = 52850
 
| Dorlands      =
 
| DorlandsID    =
 
}}
 
 
<pre style="overflow:auto">
 
<pre style="overflow:auto">
 
{{Infobox bone
 
{{Infobox bone
 
| Name          =  
 
| Name          =  
| pronounce    =
 
 
| synonyms      =
 
| synonyms      =
 
| Latin        =  
 
| Latin        =  
| GraySubject  =
+
| Greek        =
| GrayPage      =  
 
 
| Image        =  
 
| Image        =  
 
| Width        =  
 
| Width        =  
Line 52: Line 23:
 
| Articulations =  
 
| Articulations =  
 
| Precursor    =  
 
| Precursor    =  
| MeshName      =  
+
| Acronym =  
| MeshNumber    =
+
| Pronunciation =  
| Dorlands      =
 
| DorlandsID    =  
 
 
}}</pre>
 
}}</pre>
  
;Example
+
==Standard parameters==
The template is invoked using double-brace syntax (with the result similar to that shown at the right), coded as follows:
+
{{Infobox_anatomy/doc/transclude}}
<pre style="overflow:auto">
 
{{Infobox bone
 
| Name          = Superciliary arches
 
| Latin        = a. superciliaris
 
| GraySubject  = 33
 
| GrayPage      = 135
 
| Image        = Gray134.png
 
| Width        = 250
 
| Caption      = [[Frontal bone]]. (Superciliary arch at mid right)
 
| Image2        =
 
| Width2        =
 
| Caption2      =
 
| System        =
 
| Origins      =
 
| Insertions    =
 
| Articulations =
 
| Precursor    =
 
| MeshName      =
 
| MeshNumber    =
 
<!-- Note: TA and FMA values comes from WikiData in the article -->
 
| Dorlands      =
 
| DorlandsID    =
 
}}
 
</pre>
 
  
==Parameters==
+
==Unique parameters==
The template parameters are:
+
Parameters unique to this infobox include:
 
{|
 
{|
 
|-
 
|-
| Name        ||= English name for structure
+
| Origins    ||= any [[Origin (anatomy)|origin]]s of muscles or ligaments
|-
 
| Latin      ||= Latin 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}}.
 
|-
 
| Image      ||= top image (omit "Image:")
 
|-
 
| Width      ||= width of top image (in pixels, default=250)
 
|-
 
| Caption    ||= caption under top image
 
|-
 
| Image2      ||= second top image (omit "Image:")
 
|-
 
| Width2      ||= width of second image (in pixels, default=250)
 
|-
 
| Caption2    ||= caption under second top image
 
|-
 
| Origins    ||= any [[Origin (anatomy)|origin]]s text
 
|-
 
| Insertions  ||= any [[Insertion (anatomy)|insertion]]s text
 
|-
 
| Articulations ||= any [[Articulation (anatomy)|articulation]]s text
 
|-
 
| Precursor  ||= any [[Embryology|precursor]] text
 
|-
 
| MeshName    ||= [[MeSH]] name
 
 
|-
 
|-
| MeshNumber ||= MeSH number code
+
| Insertions ||= any [[Insertion (anatomy)|insertion]]s  of muscles or ligaments
 
|-
 
|-
| Dorlands    ||= Dorlands url number, such as: nine/000956217 (before .htm in url)
+
| Articulations ||= any [[Articulation (anatomy)|articulation]]s  of muscles or ligaments
 
|-
 
|-
| DorlandsID  ||= Dorlands article name, such as "pulmonary artery"
+
| Precursor  ||= any [[Embryology|precursor]]
 
|}
 
|}
Template parameters are case-sensitive.  Most parameters begin with a capital letter
 
  
==TA98 and FMA==
+
==Example==
The values for the [[Terminologia Anatomica|TA]] code and [[Foundational Model of Anatomy|FMA]] identifier are specified in Wikidata.  For more information on these two codes, see [[Template:TA98]] and [[Template:FMA]].
+
For an example, see
 +
* [[Skull]]
 +
* [[Patella]]
 +
* [[Scaphoid bone]]
  
 
== Tracking categories ==
 
== Tracking categories ==
* {{clc|Medicine infobox template using unsupported parameters}}
+
* {{clc|Anatomy infobox template using unsupported parameters}}
  
 
== See also ==
 
== See also ==
* [[Template:Infobox brain]]&nbsp;— for parts of the brain
+
* [[Template:Infobox anatomy]]
* [[Template:Infobox muscle]]&nbsp;— for muscles
+
* [[Template:Infobox muscle]], for muscles
 +
* [[Template:Infobox ligament]], for ligaments
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
+
<includeonly>{{Sandbox other||
 
<!-- Categories go here and interwikis go in Wikidata. -->
 
<!-- Categories go here and interwikis go in Wikidata. -->
 
[[Category:Anatomy infobox templates|Bone]]
 
[[Category:Anatomy infobox templates|Bone]]

Latest revision as of 18:12, 25 April 2020

{{Infobox bone}} displays a right-sided infobox showing information about bones of the body, allowing two images to be displayed at the top of the box.

Use

{{Infobox bone
| Name          = 
| synonyms      =
| Latin         = 
| Greek         =
| Image         = 
| Width         = 
| Caption       = 
| Image2        = 
| Width2        = 
| Caption2      = 
| System        = 
| Origins       = 
| Insertions    = 
| Articulations = 
| Precursor     = 
| Acronym = 
| Pronunciation = 
}}

Standard parameters

Template:Uses Wikidata This infobox is one in a series of anatomy infoboxes, all of which share common parameters. These include:

Details
Name = English name for structure
Pronunciation = Pronunciation of name, if term is not commonly used
Image = top image (omit "Image:")
Width = width of top image (in pixels, default=250)
Caption = caption under top image
Image2 = second top image (omit "Image:")
Width2 = width of second image (in pixels, default=250)
Caption2 = caption under second top image
System = Relevant body system (e.g., Circulatory system)
Identifiers
Latin = Latin name for structure
Greek = Greek name for structure, if relevant to anatomy / medical use
Acronym = Acronym, if in common use
Autofilled
TA, TH, TE, MeSH, FMA, NeuroLex, NeuroNames These fields are automatically filled from Wikidata, and edits can no longer be made through infoboxes.
Link All templates in this series provide a link to the relevant Anatomical terminology articles - eg Anatomical terms of bone for Template:Infobox bone, etc.

Unique parameters

Parameters unique to this infobox include:

Origins = any origins of muscles or ligaments
Insertions = any insertions of muscles or ligaments
Articulations = any articulations of muscles or ligaments
Precursor = any precursor

Example

For an example, see

Tracking categories

See also