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

Content deleted Content added
imported>Frietjes
new method until request at template talk:infobox can be resolved
imported>Frietjes
rewrite as a frontend for template:infobox anatomy
लाइन 1:
{{infobox anatomy
| type = vein
| abovestyle = background: LightBlue; font-size:110%;
| aboveName = ''Vein: {{{Name}}}''
| data6ImageMap = {{{SourceImagemap|{{{sourceImageMap|}}}}}}
 
| caption3MapWidth = {{{Caption2MapWidth|}}}
| labelstyle = padding-right:0.25em
| data11Image = {{{PrecursorImage|}}}
 
| Width = {{{Width|}}}
| captionstyle = font-size:88%; line-height:135%
| Caption = {{{Caption|}}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{Imagemap|{{{ImageMap|}}}}}}|size={{{MapWidth|}}}|sizedefault=frameless|upright=1.14}}
| Image2 = {{{Image2|}}}
| caption =
| data7Width2 = {{{DrainsToWidth2|{{{DrainstoWidth|}}}}}}
| image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{Image|}}}|size={{{Width|}}}|sizedefault=frameless|upright=1.14}}
| caption2Caption2 = {{{CaptionCaption2|}}}
| image3 = {{#invoke:InfoboxImage|InfoboxImage|image={{{Image2|}}}|size={{{Width2|{{{Width|}}}}}}|sizedefault=frameless|upright=1.14}}
| caption3 = {{{Caption2|}}}
 
<!-- Latin / GraySubject -->
| label1Latin = [[{{{Latin]]|{{{latin|}}}}}}
| GraySubject = {{{GraySubject|}}}
| data1 = {{#if:{{{Latin|{{{latin|}}}}}}| ''{{{Latin|{{{latin}}}}}}'' }}
| GrayPage = {{{GrayPage|}}}
 
| label2 = {{#ifexist:List of subjects in Gray's Anatomy:{{{GraySubject}}}
|[[List of subjects in Gray's Anatomy:{{{GraySubject}}}#Gray.27s_page_.23{{{GrayPage|}}}|Gray's]]
|[[List of subjects in Gray's Anatomy|Gray's]][[Category:Pages with invalid Gray's Anatomy subject number]]
}}
| data2 = {{#if:{{{GraySubject|}}}| {{Gray's Anatomy link|Subject={{{GraySubject|}}}|Page={{{GrayPage|}}}}} }}
 
<!-- DrainsFrom/Source/DrainsTo-->
| DrainsFrom = {{{DrainsFrom|{{{Drainsfrom|}}}}}}
| label5 = Drains from
| data5Source = {{{DrainsFromSource|{{{Drainsfromsource|}}}}}}
| DrainsTo = {{{DrainsTo|{{{Drainsto|}}}}}}
 
| label6 = <div style="width:100%;background:LightBlue">Source</div>
| data6 = {{{Source|{{{source|}}}}}}
 
| label7 = <div style="width:100%;background:LightBlue">Drains to</div>
| data7 = {{{DrainsTo|{{{Drainsto|}}}}}}
 
<!-- Artery / Precursor-->
| Artery = {{{Artery|}}}
| label10 = <div style="width:100%;background:Pink">Artery</div>
| data10Precursor = {{{ArteryPrecursor|}}}
 
| label11 = <div style="width:100%;background:Thistle">[[Embryology|Precursor]]</div>
| data11 = {{{Precursor|}}}
 
<!-- MeSH / Dorlands -->
| MeshName = {{{MeshName|{{{Meshname|{{{MeSHname|}}}}}}}}}
| label15 = [[Medical Subject Headings|MeSH]]
| MeshYear = {{{MeshYear|2007}}}
| data15 = {{#if:{{{MeshName|{{{Meshname|{{{MeSHname|}}}}}}}}}|<span style="white-space:nowrap">''[//www.nlm.nih.gov/cgi/mesh/{{{MeshYear|2007}}}/MB_cgi?mode=&term={{{MeshName|{{{Meshname|{{{MeSHname|}}}}}}}}} {{{MeshName|{{{Meshname|{{{MeSHname|}}}}}}}}}]''</span>}}
| Dorlands = {{{Dorlands|}}}
 
| DorlandsID = {{{DorlandsID|}}}
| label16 = [[Elsevier|Dorlands<br/>/Elsevier]]
| FMA = {{{FMA|{{#property:P1402}}}}}
| data16 = {{#if: {{{Dorlands|}}} | ''[http://www.mercksource.com/pp/us/cns/cns_hl_dorlands_split.jsp?pg=/ppdocs/us/common/dorlands/dorland/{{{Dorlands}}}.htm {{{DorlandsID}}}]'' }}
 
| label17 = [[Terminologia Anatomica|TA]]
| data17 = {{#if:{{#property:P1323}} | <span style="white-space:nowrap">{{#invoke:Wikidata|getTAValue}}</span>}}
 
| label18 = [[Foundational Model of Anatomy|FMA]]
| data18 = {{#if:{{{FMA|{{#property:P1402}}|}}}| <span style="white-space:nowrap">{{FMA|{{{FMA|{{#property:P1402}}}}}}}</span>}}
 
}}{{main other|
{{#ifeq:{{{1|♦}}}|♦||[[Category:Medicine infobox template using deprecated parameters|1{{PAGENAME}}]]
Line 70 ⟶ 45:
-- 31Mar08 Added NOTES section to explain logic & indenting.
-- 08Mar14 Rewritten using template:infobox and module:InvokeInfoboxImage
-- 16Nov14 Rewritten as a frontend for template:infobox anatomy
--
-- [These comments are omitted during article display by the