Differenze tra le versioni di "Template:MentionApplication"

Da FountainPen.
Jump to navigation Jump to search
Riga 7: Riga 7:
 
|name=patent
 
|name=patent
 
|propsep=-
 
|propsep=-
}}{{#arraysize:patent}}{{#if:{{#arraysize:patent}}|n° [[:File:Patent-{{#arrayindex:patent|0}}.pdf|{{#arrayindex:patent|0}}]]{{#set: Mention patent=File:Patent-{{#arrayindex:patent|0}}.pdf}}|Application {{{2}}} del {{{1}}}}}</includeonly><noinclude>
+
}}{{#ifexpr:{{#arraysize:patent}}|n° [[:File:Patent-{{#arrayindex:patent|0}}.pdf|{{#arrayindex:patent|0}}]]{{#set: Mention patent=File:Patent-{{#arrayindex:patent|0}}.pdf}}|Application {{{2}}} del {{{1}}}}}</includeonly><noinclude>
 
==Instructions==
 
==Instructions==
  

Versione delle 21:06, 24 lug 2012

Instructions

Usage

{{MentionApplication
 | date
 | patent application number
 | country (optional)
}}

Ad esempio:

{{MentionApplication|1922-04-28|557198}}, {{MentionApplication|1111-11-11|333333}}

restituisce:

US-1613810, Application 333333 del 1111-11-11