Differenze tra le versioni di "Template:MentionPatent"

Da FountainPen.
Jump to navigation Jump to search
Riga 1: Riga 1:
<includeonly>{{Cite patent|{{{1}}}|{{{2}}}}}{{#set: Mention patent=File:Patent-{{{1}}}-{{{2}}}.pdf}}</includeonly><noinclude>
+
<includeonly>{{#ask: [[Category:Patents]] [[Patent number::{{{2}}}]] [[Patented in::{{{1}}}]]
 +
|mainlabel=-
 +
|?Patented in
 +
|?Patent number
 +
|format=array
 +
|name=patent
 +
|propsep=-
 +
}}{{#ifexpr:{{#arraysize:patent}}|{{Cite patent|{{{1}}}|{{{2}}}}}|{{FPO Patent|{{{2}}}}}
 +
{{#set: Mention patent=File:Patent-{{{1}}}-{{{2}}}.pdf}}
 +
</includeonly><noinclude>
 
==Instructions==
 
==Instructions==
  
Riga 9: Riga 18:
 
}}
 
}}
 
</pre>
 
</pre>
 +
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
 
[[Category:Templates using Semantic Mediawiki|{{PAGENAME}}]]
 
[[Category:Templates using Semantic Mediawiki|{{PAGENAME}}]]
 
[[Category: Patent Templates]]
 
[[Category: Patent Templates]]
 
</noinclude>
 
</noinclude>

Versione delle 00:57, 23 set 2012

Instructions

Usage

{{MentionPatent
 | two letter country code
 | patent publication number
}}