Template:Cite gnis: Difference between revisions

From The Tower of Babel
m 1 revision imported
United States Geological Survey
Line 1: Line 1:
<includeonly>{{#if: {{{1|{{{id|}}}}}}
<includeonly>{{#if: {{{1|{{{id|}}}}}}
| {{#if: {{{2|{{{title|{{{name|}}}}}}}}}
| {{#if: {{{2|{{{title|{{{name|}}}}}}}}}
   | {{Cite web
   | {{#invoke:Template wrapper|wrap|_template=cite encyclopedia
       |url=https://geonames.usgs.gov/apex/f?p=gnispq:{{#ifeq: {{{type|}}}|antarid
       |_exclude=type,id,links
        | 5:::NO::P5_ANTAR_ID:
      |_alias-map=2:entry,3:access-date,4:date,title:entry,name:entry,entrydate:date,entry-date:date
        | 3:::NO::P3_FID:
       |entry-url={{GNIS URL|{{{1|{{{id|}}}}}}|type={{{type|}}}}}
        }}{{urlencode:{{{1|{{{id}}}}}}}}
       |encyclopedia={{#ifeq:{{{links|}}}|off
       |title={{{2|{{{title|{{{name}}}}}}}}}
      |access-date={{{3|{{{access-date|{{{accessdate|}}}}}}}}}
      |date={{{4|{{{date|{{{entry-date|{{{entrydate|}}}}}}}}}}}}
       |website={{#ifeq:{{{links|}}}|off
         | Geographic Names Information System
         | Geographic Names Information System
         | [[Geographic Names Information System]]}}
         | [[Geographic Names Information System]]}}
       |publisher={{#ifeq:{{{links|}}}|off
       |publisher={{#ifeq:{{{links|}}}|off
         | United States Geological Survey
         | United States Geological Survey
         | [[United States Geological Survey]]}}
         | [[United States Geological Survey]], [[United States Department of the Interior]]}}
      |ref={{{ref|}}}
     }}
     }}
   | {{Citation error|no {{para|name}} specified|cite gnis|nocat={{{template doc demo|{{{template-doc-demo|}}}}}}}}
   | {{Citation error|no {{para|name}} specified|cite gnis|nocat={{main other||true}}}}
   }}
   }}
| {{Citation error|no {{para|id}} specified|cite gnis|nocat={{{template doc demo|{{{template-doc-demo|}}}}}}}}
| {{Citation error|no {{para|id}} specified|cite gnis|nocat={{main other||true}}}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! -->
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! -->
</noinclude>
</noinclude>

Revision as of 12:13, 23 August 2022

{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}