Template:FileList: Difference between revisions
Alan.Myers (talk | contribs) No edit summary |
Alan.Myers (talk | contribs) No edit summary |
||
Line 38: | Line 38: | ||
|style="text-align: center; border: 1px solid black; border-collapse: collapse; width 70%;"|{{#ifeq:{{{source_loc|}}}|Yes|{{{source_loc}}}}} | |style="text-align: center; border: 1px solid black; border-collapse: collapse; width 70%;"|{{#ifeq:{{{source_loc|}}}|Yes|{{{source_loc}}}}} | ||
|- | |- | ||
|style="text-align: center; border: 1px solid black; border-collapse: collapse; background-color: #f1f1c1; width 30%;"|{{#if:{{{Map hires|}}}|'''Download'''{{#info:These files are true to scale and most or georegistered for gis.| | |style="text-align: center; border: 1px solid black; border-collapse: collapse; background-color: #f1f1c1; width 30%;"|{{#if:{{{Map hires|}}}|'''Download'''{{#info:These files are true to scale and most or georegistered for gis.|warning}}}} | ||
|style="text-align: center; border: 1px solid black; border-collapse: collapse; width 70%;"|{{#if:{{{Map hires|}}}|'''[{{{Map hires}}} Click to download]'''}} | |style="text-align: center; border: 1px solid black; border-collapse: collapse; width 70%;"|{{#if:{{{Map hires|}}}|'''[{{{Map hires}}} Click to download]'''}} | ||
|- | |- | ||
Line 47: | Line 47: | ||
|style="text-align: center; border: 1px solid black; border-collapse: collapse; width 70%;"|{{#if:{{{Subdistrict|}}}|'''[[{{{Subdistrict}}}]]'''}} | |style="text-align: center; border: 1px solid black; border-collapse: collapse; width 70%;"|{{#if:{{{Subdistrict|}}}|'''[[{{{Subdistrict}}}]]'''}} | ||
|} | |} | ||
{{#ifeq:{{NAMESPACE}} | FileList |{{#if:{{{Mine-index|}}}|{{#set:Mine Index={{{Mine-index}}}|+sep=,}}}}{{#if:{{{source_loc|}}}{{#set:Source Location={{{source_loc|}}}}}}}{{#if:{{{Coal_co|}}}{{#set:Coal co={{{Coal_co|}}}}}}}{{#if:{{{Mine_name|}}}{{#set:Mine-Name={{{Mine_name|}}}}}}}{{#if:{{{Map hires|}}}{{#set:Map hires={{{Map hires|}}}}}}}{{#if:{{{File Date|}}}{{#set:File Date={{{File Date|}}}}}}}{{#if:{{{District|}}}{{#set:District={{{District|}}}}}}}{{#if:{{{Subdistrict|}}}{{#set:Subdistrict={{{Subdistrict|}}}}}}}{{#if:{{{Image Credit|}}}{{#set:Image Credit={{{Image Credit|}}}}}}} |}}{{#if:{{{quad|}}}|{{#arraymap: {{{quad}}} |, |@@@@ |[[Category:@@@@-Quadrangle]] | }}}}{{#if:{{{quad|}}}|{{#Set:Quadrangle={{{quad|}}}|+sep=,}}}}{{#if:{{{county|}}}|{{#Set:County={{{county|}}}|+sep=,}}}}{{#if:{{{county|}}}|{{#arraymap: {{{county}}} |, |@@@@ |[[Category:@@@@-County]] | }}}}{{#set:filename=FileList:{{PAGENAME}}}}{{#if:{{{caption|}}}|{{#set:caption={{{caption}}}}}}}{{#if:{{{libcall|}}}|{{#set:Library Call Number={{{libcall}}}}}}}{{#if:{{{NC File TYPE|}}}|[[Category:{{{NC File TYPE}}}]]}}{{#if:{{{NC File TYPE|}}}|{{#Set:File Type={{{NC File TYPE|}}}}}}}{{#if:{{{minetype|}}}|{{#arraymap: {{{minetype}}} |, |@@@@ |[[Category:@@@@]] | }}}}{{#if:{{{minetype|}}}|{{#Set:Commodity Type={{{minetype|}}}|+sep=,}}}}{{#if:{{{cat1|}}}|{{#arraymap: {{{cat1}}} |, |@@@@ |[[Category:@@@@]] | }}}}{{#if:{{{pub|}}}|{{#set:Publication={{{pub}}}}}}}{{#set:combined={{#ifeq:{{{source_loc}}}|Yes|<span style="background:#ffff66">'''<big>Source of Mine Location</big>'''</span><br>|}}{{#if:{{{Map hires|}}}|'''[{{{Map hires}}} Click to download Full Resolution]'''<br>}}{{#if:{{{NC File TYPE|}}}|'''File Type:''' {{{NC File TYPE}}}<br>}}{{#if:{{{caption|}}}|'''Caption:''' {{{caption}}}<br>}}{{#if:{{{Image Credit|}}}|'''Credit:''' {{{Image Credit}}}<br>}}{{#if:{{{File Date|}}}|'''Date:''' {{{File Date}}}<br>}}{{#if:{{{pub|}}}|'''Publication:''' {{{pub}}}<br>}}{{#if:{{{libcall|}}}|'''Map ID:''' {{{Map ID}}}<br>}}}}{{#if:{{{Map ID|}}}|{{#set:Map ID={{{Map ID|}}}}}}}{{#set:is_file=Yes}}{{#set:JPG_URL={{{JPG_URL}}}}}{{#set:Is File Link=Yes}}{{#if:{{{checked|}}}|{{#set:Checked={{{checked}}}}}}} | {{#ifeq:{{NAMESPACE}} | FileList |{{#if:{{{Mine-index|}}}|{{#set:Mine Index={{{Mine-index}}}|+sep=,}}}}{{#if:{{{source_loc|}}}{{#set:Source Location={{{source_loc|}}}}}}}{{#if:{{{Coal_co|}}}{{#set:Coal co={{{Coal_co|}}}}}}}{{#if:{{{Mine_name|}}}{{#set:Mine-Name={{{Mine_name|}}}}}}}{{#if:{{{Map hires|}}}{{#set:Map hires={{{Map hires|}}}}}}}{{#if:{{{File Date|}}}{{#set:File Date={{{File Date|}}}}}}}{{#if:{{{District|}}}{{#set:District={{{District|}}}}}}}{{#if:{{{Subdistrict|}}}{{#set:Subdistrict={{{Subdistrict|}}}}}}}{{#if:{{{Image Credit|}}}{{#set:Image Credit={{{Image Credit|}}}}}}} |}}{{#if:{{{quad|}}}|{{#arraymap: {{{quad}}} |, |@@@@ |[[Category:@@@@-Quadrangle]] | }}}}{{#if:{{{quad|}}}|{{#Set:Quadrangle={{{quad|}}}|+sep=,}}}}{{#if:{{{county|}}}|{{#Set:County={{{county|}}}|+sep=,}}}}{{#if:{{{county|}}}|{{#arraymap: {{{county}}} |, |@@@@ |[[Category:@@@@-County]] | }}}}{{#set:filename=FileList:{{PAGENAME}}}}{{#if:{{{caption|}}}|{{#set:caption={{{caption}}}}}}}{{#if:{{{libcall|}}}|{{#set:Library Call Number={{{libcall}}}}}}}{{#if:{{{NC File TYPE|}}}|[[Category:{{{NC File TYPE}}}]]}}{{#if:{{{NC File TYPE|}}}|{{#Set:File Type={{{NC File TYPE|}}}}}}}{{#if:{{{minetype|}}}|{{#arraymap: {{{minetype}}} |, |@@@@ |[[Category:@@@@]] | }}}}{{#if:{{{minetype|}}}|{{#Set:Commodity Type={{{minetype|}}}|+sep=,}}}}{{#if:{{{cat1|}}}|{{#arraymap: {{{cat1}}} |, |@@@@ |[[Category:@@@@]] | }}}}{{#if:{{{pub|}}}|{{#set:Publication={{{pub}}}}}}}{{#set:combined={{#ifeq:{{{source_loc}}}|Yes|<span style="background:#ffff66">'''<big>Source of Mine Location</big>'''</span><br>|}}{{#if:{{{Map hires|}}}|'''[{{{Map hires}}} Click to download Full Resolution]'''<br>}}{{#if:{{{NC File TYPE|}}}|'''File Type:''' {{{NC File TYPE}}}<br>}}{{#if:{{{caption|}}}|'''Caption:''' {{{caption}}}<br>}}{{#if:{{{Image Credit|}}}|'''Credit:''' {{{Image Credit}}}<br>}}{{#if:{{{File Date|}}}|'''Date:''' {{{File Date}}}<br>}}{{#if:{{{pub|}}}|'''Publication:''' {{{pub}}}<br>}}{{#if:{{{libcall|}}}|'''Map ID:''' {{{Map ID}}}<br>}}}}{{#if:{{{Map ID|}}}|{{#set:Map ID={{{Map ID|}}}}}}}{{#set:is_file=Yes}}{{#set:JPG_URL={{{JPG_URL}}}}}{{#set:Is File Link=Yes}}{{#if:{{{checked|}}}|{{#set:Checked={{{checked}}}}}}} |