Difference between revisions of "Template:Citeref patent"

From Chevy Wiki
Jump to navigation Jump to search
m (1 revision)
 
m (1 revision)
 
Line 1: Line 1:
<!-- Begin {{Cleanup| date={{{date|}}} }}
{{#ifeq:{{{Ref|}}}|none
-->{{mbox
  |
| demospace = {{{demospace|}}}
  | [[#<!--
| type = style
  -->{{#if:{{{Ref|}}}<!--
| text =
    -->|{{{Ref}}}<!--
'''This {{{1|article}}} may require [[Wikipedia:cleanup|cleanup]] to meet Wikipedia's [[Wikipedia:Manual of Style|quality standards]].''' <br> <small>Please [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve this {{{1|article}}}] if you can. {{#if:{{{date|}}}|''({{{date}}})''}}</small>
    -->|CITEREF{{{1|}}}{{{2|}}}<!--
 
  -->}}<!--
}}<includeonly>{{#switch:{{NAMESPACE}}
  -->| {{{1|}}} patent {{{2|}}}<!--
| {{ns:0}}   <!-- Main = talk = image = template -->
-->]]
| Talk
}}{{#if:{{{loc|}}}
| Image
  |, {{{loc|}}}
| Template =
   |{{#if:{{{p|}}}
  {{#if:{{{category|}}}||
    |, p. {{{p|}}}
    
    |{{#if:{{{pp|}}}
    {{#if:{{{date|}}}
        |, pp. {{{pp|}}}
    | [[Category:Cleanup from {{{date|}}}]]{{
      #ifexist:Category:Cleanup from {{{date}}}
      |   <!-- No problem -->
      | [[Category:Articles with invalid date parameter in template]]
       }}
       }}
    | [[Category:Wikipedia cleanup]]
  }}
    }}[[Category:All pages needing cleanup]]
}}<noinclude>{{documentation}}</noinclude>
  }}
| #default =    <!-- Don't categorise in other namespaces -->
}}</includeonly><!-- End {{Cleanup}} --><noinclude>
 
{{pp-template|small=yes}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>

Latest revision as of 14:55, 3 February 2009

patent

[edit] Template-info.svg Template documentation

Usage

Used together with {{Ref patent}}, this template will create an internal link to the "ref patent" entry elsewhere in the article. Usage is therefore similar to {{harvnb}}.

{{Citeref patent | country | number }}

You may also use the following optional parameters:

loc = location in patent, outputted in full
p = page number, outputted as "p. [page number]"
pp = range of pages, outputted as "pp. [range of pages]"
Notes
  • The first parameter is the country of the patent.
  • The second parameter is the number of the patent.
  • The parameters, loc p and pp are optional parameters (e.g., "{{ Citeref patent | US | 5756789 | p=2 }}" yields US patent 5756789, p. 2).
  • If a parameter Ref=none is added, then no hyperlink is created.
For usage examples, see

See also


sl:Predloga:Harvardski navedek brez oklepajev