Difference between revisions of "Template:InterPro content/doc"

From blackwiki
Jump to navigation Jump to search
imported>Matt Fitzpatrick
(→‎Usage: or external links? template used in either section, so unclear consensus)
imported>Vanisaac
m (→‎Specified link text: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
{{high-risk|1000+}}
 
{{high-risk|1000+}}
 
{{lua|Module:InterPro content}}
 
{{lua|Module:InterPro content}}
{{#switch:{{FULLPAGENAME}}
+
 
| Template:InterPro content = {{pp-template|small=yes}}
 
}}
 
 
== Usage ==
 
== Usage ==
 
When an article uses text from [[InterPro]] pages, use this template in the references or external links section to attribute and link to those InterPro pages.
 
When an article uses text from [[InterPro]] pages, use this template in the references or external links section to attribute and link to those InterPro pages.
Line 34: Line 32:
 
{{InterPro content|IPR000001 Kringle|IPR000003 Retinoid X receptor/HNF4|IPR000006 Metallothionein, vertebrate}}
 
{{InterPro content|IPR000001 Kringle|IPR000003 Retinoid X receptor/HNF4|IPR000006 Metallothionein, vertebrate}}
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES HERE, THANKS -->
 
<!-- CATEGORIES HERE, THANKS -->
[[Category:External link templates|InterPro content]]
+
[[Category:Attribution templates|InterPro content]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 21:59, 25 April 2020

Usage

When an article uses text from InterPro pages, use this template in the references or external links section to attribute and link to those InterPro pages.

Syntax

One link

For a single link, pass the InterPro accession number as an unnamed parameter.

{{InterPro content|IPR000001}}
This article incorporates text from the public domain Pfam and InterPro: IPR000001

Multiple links

For a list of multiple links, pass two or more InterPro accession numbers as separate unnamed parameters.

{{InterPro content|IPR000001|IPR000003|IPR000006}}
This article incorporates text from the public domain Pfam and InterPro:

Specified link text

To specify a link's text, append the text to the link's parameter, following a space.

{{InterPro content|IPR000001 Kringle|IPR000003 Retinoid X receptor/HNF4|IPR000006 Metallothionein, vertebrate}}
This article incorporates text from the public domain Pfam and InterPro: