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

Content deleted Content added
Since the server(s) support HTTPS, use protocol relative URL(s) (i.e. without http:) for these website(s): www.nlm.nih.gov
imported>Frietjes
No edit summary
लाइन 1:
{{infobox
<!--
| abovestyle = background: LightBlue; font-size:110%;
--============================================================
| above = ''Vein: {{{Name}}}''
-- Template:Infobox_Vein - Info box for anatomical veins
 
-- (see NOTES below)
| labelstyle = padding-right:0.25em
--============================================================-->
 
{| class="infobox" style="width:{{{BoxWidth|{{{boxwidth|20em}}}}}};"
| captionstyle = font-size:88%; line-height:135%
|- style="text-align:center;" <!--see NOTE WT2-->
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{Imagemap|{{{ImageMap|}}}}}}|size={{{MapWidth|}}}|sizedefault=frameless|upright=1.14}}
!style="background:LightBlue; " colspan="2"|'''''Vein: {{{Name}}}'''''
| caption =
|- style="text-align: center;"
| image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{Image|}}}|size={{{Width|}}}|sizedefault=frameless|upright=1.14}}
{{#if: {{{Imagemap|<noinclude>X</noinclude>}}} |
| caption2 = {{{Caption|}}}
{{!}} colspan="2" {{!}} {{{Imagemap}}} }}<!--endif --See NOTE IF3-->
| image3 = {{#invoke:InfoboxImage|InfoboxImage|image={{{Image2|}}}|size={{{Width2|{{{Width|}}}}}}|sizedefault=frameless|upright=1.14}}
|- style="text-align: center;"
| caption3 = {{{Caption2|}}}
{{#if: {{{Image|<noinclude>X</noinclude>}}} | {{!}} colspan="2" {{!}} [[Image:{{{Image}}}|{{{Width|250}}}px|center|]] }}
| image4 = {{#if:{{{Map|}}}|{{#ifexist:template:{{{Map}}}| {{ {{{Map}}} | {{{MapPos}}} | Inline=1 }} }} }}
|- style="text-align: center; line-height: 1.1em;"
| caption4 = {{{MapCaption|}}}
{{#if: {{{Caption|<noinclude>X</noinclude>}}} |
 
{{!}} colspan="2" {{!}} <small>{{{Caption}}}</small> }}
<!-- Latin / GraySubject -->
|- style="text-align: center;"
| label1 = [[Latin]]
{{#if: {{{Image2|<noinclude>X</noinclude>}}} |
{{!}}| data1 colspan="2" {{!}} [[Image#if:{{{Image2Latin|{{{latin|}}}}}}| ''{{{Width2Latin|{{{Width|250latin}}}}}}px|center|]]'' }}
 
|- style="text-align: center; line-height: 1.1em;"
| label2 = [[List of subjects in Gray's Anatomy:{{{GraySubject}}}#Gray's page .23{{{GrayPage|}}}|Gray's]]
{{#if: {{{Caption2|<noinclude>X</noinclude>}}} |
| data2 = {{#if:{{{GraySubject|}}}| {{Gray's Anatomy link|Subject={{{GraySubject|}}}|Page={{{GrayPage|}}}}} }}
{{!}} colspan="2" {{!}} <small>{{{Caption2}}}</small> }}
 
|-<!--
<!-- DrainsFrom/Source/DrainsTo-->
------------------------------------------ Latin / GraySubject-->
| label5 = Drains from
{{#if: {{{Latin|<noinclude>X</noinclude>}}} |
| data5 = {{{DrainsFrom|{{{Drainsfrom|}}}}}}
{{!}} '''[[Latin]]''' <!-- See NOTE DE7-->
 
{{!}} ''{{{Latin}}}'' }}<!--endif-- See NOTE IF3-->
| rowclass6 = {{rowstyle|background:LightBlue}}
|-
| label6 = Source
{{#if: {{{GraySubject|}}} |
| data6 = {{{Source|{{{source|}}}}}}
{{!}} '''[[List of subjects in Gray's Anatomy:{{{GraySubject}}}#Gray.27s_page_.23{{{GrayPage|}}}|Gray's]]'''
 
{{!}} {{Gray's Anatomy link|Subject={{{GraySubject|}}}|Page={{{GrayPage|}}} }} }}<!--
| rowclass7 = {{rowstyle|background:LightBlue}}
----------------------------------- DrainsFrom/Source/DrainsTo-->
| label7 = Drains to
|- style="text-align: left "
| data7 = {{{DrainsTo|{{{Drainsto|}}}}}}
{{#if: {{{DrainsFrom|<noinclude>X</noinclude>}}} |
 
{{!}} '''Drains&nbsp;from'''{{{ColumnGap|{{{columngap|&nbsp;&nbsp;&nbsp;}}}}}}<!-- See NOTE GP4-->
<!-- Artery / Precursor-->
{{!}} {{{DrainsFrom}}}}}
|- rowclass10 style=" {{rowstyle|background:LightBlue"Pink}}
| label10 = Artery
{{#if: {{{Source|<noinclude>X</noinclude>}}} |
| data10 = {{{Artery|}}}
{{!}} '''Source'''
 
{{!}} {{{Source}}} }}
|- stylerowclass11 =" {{rowstyle|background:LightBlue"Thistle}}
| label11 = [[Embryology|Precursor]]
{{#if: {{{DrainsTo|<noinclude>X</noinclude>}}} |
| data11 = {{{Precursor|}}}
{{!}} '''Drains to'''
 
{{!}} {{{DrainsTo}}} }}<!--
<!-- MeSH / Dorlands -->
------------------------------------------ Artery / Precursor-->
| label15 = [[Medical Subject Headings|MeSH]]
|- style="background:Pink"
| 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>}}
{{#if: {{{Artery|}}} |
 
{{!}} '''Artery'''
| label16 = [[Elsevier|Dorlands<br/>/Elsevier]]
{{!}} {{{Artery}}} }}
| data16 = {{#if: {{{Dorlands|}}} | ''[http://www.mercksource.com/pp/us/cns/cns_hl_dorlands_split.jsp?pg=/ppdocs/us/common/dorlands/dorland/{{{Dorlands}}}.htm {{{DorlandsID}}}]'' }}
|- style="text-align: left; background:Thistle"
 
{{#if: {{{Precursor<includeonly>|</includeonly>}}} |
}}{{main other|
{{!}} '''[[Embryology|Precursor]]'''
{{#ifeq:{{{1|♦}}}|♦||[[Category:Medicine infobox template using deprecated parameters|1{{PAGENAME}}]]
{{!}} {{{Precursor}}} }}<!--
}}{{#ifeq:{{{Map|♦}}}|♦||[[Category:Medicine infobox template using deprecated parameters|M{{PAGENAME}}]]
------------------------------------------ MeshName / Dorlands-->
}}{{#ifeq:{{{BoxWidth|♦}}}{{{boxwidth|♦}}}|♦♦||[[Category:Medicine infobox template using deprecated parameters|W{{PAGENAME}}]]
|- style="text-align: left;"
}}{{#ifeq:{{{ColumnGap|♦}}}{{{columngap|♦}}}|♦♦||[[Category:Medicine infobox template using deprecated parameters|G{{PAGENAME}}]]
{{#if:{{{MeshName<includeonly>|</includeonly>}}}|{{#ifeq:{{{MeshName|}}}|none||
}}}}<noinclude><!--
! [[Medical Subject Headings|MeSH]]
{{!}} style="white-space: nowrap;" {{!}} <noinclude>†&nbsp;</noinclude>''[//www.nlm.nih.gov/cgi/mesh/{{{MeshYear|2007}}}/MB_cgi?mode=&term={{{MeshName}}} {{{MeshName}}}]''
}}}}
|- style="text-align: left; background:#EEEEEE"
{{#if: {{{Dorlands|}}} | {{!}} '''[[Elsevier|Dorlands<br/>/ Elsevier]]'''&nbsp;{{{ColumnGap|{{{columngap|&nbsp;&nbsp;&nbsp;}}}}}}<!-- See NOTE GP4-->
{{!}} ''[http://www.mercksource.com/pp/us/cns/cns_hl_dorlands_split.jsp?pg=/ppdocs/us/common/dorlands/dorland/{{{Dorlands}}}.htm {{{DorlandsID}}}]'' }}<!--
------------------------------------------ Invalid parameters -->
{{#if: {{{Map|}}}
|Infobox_Vein - Invalid parameter "Map", try "Imagemap=x".<br>
}}{{
#if: {{{ImageMap|}}}
|Infobox_Vein - Invalid uppercase "ImageMap", try lowercase "Imagemap=x".<br>
}}{{ <!--see NOTE IF4-->
#if: {{{latin|}}}
|Infobox_Vein - Invalid lowercase "latin", try "Latin=x".<br>
}}{{
#if: {{{source|}}}
|Infobox_Vein - Invalid lowercase "source", try "Source=x".<br>
}}{{
#if: {{{Drainsfrom|}}}
|Infobox_Vein - Invalid lowercase "Drainsfrom", try "DrainsFrom=x".<br>
}}{{
#if: {{{Drainsto|}}}
|Infobox_Vein - Invalid lowercase "Drainsto", try "DrainsTo=x".<br>
}}{{
#if: {{{Meshname|}}}
|Infobox_Vein - Invalid lowercase "Meshname", try "MeshName=x".<br>
}}{{
#if: {{{MeSHname|}}}
|Infobox_Vein - Invalid Camel-case "MeSHname", try "MeshName=x".<br>
}}
|}<noinclude><!--
--
--NOTES:
-- This template uses [[MediaWiki]] language to process the
-- parameters formatted into a righthand-side infobox.
-- See the /doc subpage for further details.
--
-- NOTE WT1: This template uses wikitable class=infobox to
-- preset 2 columns of data.
-- NOTE WT2: Remember wikitables demand some tokens appear
-- in column 1 of a text line, such as "{|".
-- Template "{{!}}" generates "|" during if-tests.
--
-- NOTE IF3: The MediaWiki if-expressions use double-braces:
-- {{#if: xxxtrue | then | else }}
-- {{#ifeq: xxx|yes| then | else }}
-- Because "|" denotes then/else, use {{!}} for cells.
--
-- NOTE IF4: MediaWiki if-tests can be indented but not "{{" so
-- leave "{{" on previous line as "}}{{". Splitting
-- at "}}" with "{{" on next line causes blank line.
--
-- NOTE GP4: Parameter ColumnGap (or "columngap") defaults as
-- 3 blanks at optional param. DrainFrom or Dorlands;
-- ColumnGap=&nbsp; (1 blank) allows wider text.
--
-- NOTE DE7: Stand-alone defaults use "<noinclude>X</noinclu..>"
-- where "X" is omitted from article pages. It is
-- used to force empty parameters to be displayed.
--
-- NOTE SZ9: Template size restrictions were lifted Jan. 2008 by
-- a new parser that skips comments & false branches.
--
--HISTORY:
Line 128 ⟶ 66:
-- 31Mar08 Dimmed Dorlands background color to gray.
-- 31Mar08 Added NOTES section to explain logic & indenting.
-- 08Mar14 Rewritten using template:infobox and module:InvokeInfoboxImage
--
-- [These comments are omitted during article display by the
-- MediaWiki parser (of Jan. 2008) & not transmitted to users.]
-->
{{documentation}}
{{template doc|Template:Infobox_Vein/doc}}
 
[[Category:Medicine infobox templates|Vein]]
{{Pp-template|small=yes}}
</noinclude>