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

Content deleted Content added
imported>Robert K S
छोNo edit summary
imported>Thumperward
allow for anonymous parameters for country and patent. WIP attempt to merge with {{cite patent}} in a badkwards-compatible manner
लाइन 1:
<noinclude>{{pp-semi-protected|small=yes}}</noinclude><cite style="font-style:normal" {{#if:{{{Ref|}}}
|{{#ifeq:{{{Ref|}|}}|none||id="{{{Ref|}}}"}}
|id="CITEREF{{{country|{{{1}}}}}}{{{number|{{{2}}}}}}"
}}>[http://v3.espacenet.com/textdoc?DB=EPODOC&IDX={{{country|{{{1}}}}}}{{{number|{{{2}}}}}} {{{country|{{{1}}}}}}&nbsp;patent{{#ifeq:{{{status}}}|application|&nbsp;application}}&nbsp;{{{number|{{{2}}}}}}], {{#if:{{{inventor|}}}| {{{inventor}}},}} "{{{title}}}", {{#ifeq:{{{status|}}}|application|published {{{pubdate}}}|granted {{{gdate}}}}}{{#if:{{{assign1|}}}|, assigned to {{{assign1}}}}}{{#if:{{{assign2|}}}|&nbsp;and {{{assign2}}}.
}}</cite><!--
 
लाइन 9:
-->&rft_val_fmt={{urlencode:info:ofi/fmt:kev:mtx:patent}}<!-- Field descriptions: http://www.openurl.info/registry/docs/mtx/info:ofi/fmt:kev:mtx:patent
-->{{#ifeq: {{{status|}}}|application
|&rft.applnumber={{{number|{{{2}}}}}}<!-- Application number assigned to the patent, i.e. "2000028896".
--> |&rft.number={{{number|{{{2}}}}}}}}<!-- Patent number.This number is usually combined with the country code for retrieval.
-->&rft.cc={{{country|{{{1}}}}}}<!-- Country of publication code, in ISO 2-character format, i.e. "JP".
-->&rft.title={{urlencode:{{{title}}}}}<!-- Patent title, i.e. "Multi-purpose, species discriminating bird feeder".
-->{{#if: {{{invent1|}}} | &rft.inventor={{urlencode:{{{invent1}}}}} }}<!-- Inventor's full name i.e. "Smith, John J."