Template:Patent: Difference between revisions
Appearance
Created page with "{{#if:{{{patent|}}} | [https://patents.google.com/patent/{{{patent}}} {{{patent}}}]{{#if:{{{expired|yes}}}| (expired)|}} | <span style="color:red;">Error: No patent code provided.</span> }} <noinclude> == Documentation == This template creates a hyperlink to a Google Patents page based on a provided patent code, with an optional indication if the patent is expired. === Usage === To use this template, enter the patent code in the `patent` parameter. The `expired` parame..." |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{{#if:{{{patent|}}} | {{#if:{{{patent|}}} | ||
| [https://patents.google.com/patent/{{{patent}}} {{{patent}}}] | | [https://patents.google.com/patent/{{{patent}}} {{{patent}}}] | ||
| <span style="color:red;">Error: No patent code provided.</span> | | <span style="color:red;">Error: No patent code provided.</span> | ||
}} | }} | ||
| Line 6: | Line 6: | ||
<noinclude> | <noinclude> | ||
== Documentation == | == Documentation == | ||
This template creates a hyperlink to a Google Patents page based on a provided patent code | This template creates a hyperlink to a Google Patents page based on a provided patent code. | ||
=== Usage === | === Usage === | ||
To use this template, enter the patent code in the `patent` parameter | To use this template, enter the patent code in the `patent` parameter. Example usage: | ||
<code><nowiki>{{Patent|patent=USD486486 | <code><nowiki>{{Patent|patent=USD486486}}</nowiki></code> | ||
This will generate a link that looks like this: | This will generate a link that looks like this: | ||
* | * {{Patent|patent=USD486486}} | ||
If the patent code is not provided, an error message will be shown in red. | |||
=== Parameters === | === Parameters === | ||
* `patent` – The patent code (e.g., `USD486486`). This code will be linked to its Google Patents page. | * `patent` – The patent code (e.g., `USD486486`). This code will be linked to its Google Patents page. | ||
</noinclude> | </noinclude> | ||
Latest revision as of 02:37, 13 November 2024
Error: No patent code provided.
Documentation
[edit source]This template creates a hyperlink to a Google Patents page based on a provided patent code.
Usage
[edit source]To use this template, enter the patent code in the `patent` parameter. Example usage:
{{Patent|patent=USD486486}}
This will generate a link that looks like this:
If the patent code is not provided, an error message will be shown in red.
Parameters
[edit source]- `patent` – The patent code (e.g., `USD486486`). This code will be linked to its Google Patents page.