Difference between revisions of "Template:LepIndex/doc"
Jump to navigation
Jump to search
imported>Shyamal (→Usage) |
imported>Shyamal |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
+ | {{cs1 wrapper|base=Cite web}} | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
{{Uses Wikidata|P3064}} | {{Uses Wikidata|P3064}} | ||
Line 35: | Line 36: | ||
[[Category:Templates that add a tracking category]] | [[Category:Templates that add a tracking category]] | ||
[[Category:External link templates using Wikidata]] | [[Category:External link templates using Wikidata]] | ||
+ | [[Category:Templates that wrap Cite web]] | ||
}}</includeonly> | }}</includeonly> |
Revision as of 11:42, 25 April 2018
![]() | This is a documentation subpage for Template:LepIndex. It contains usage information, categories and other content that is not part of the original template page. |
![]() | This template is a Citation Style 1 wrapper template based on {{Cite web}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
Template:Uses Wikidata Template:Tracks Wikidata
Usage
No parameters
Use:
{{LepIndex}}
and the template will pull the ID from Wikidata (if present there) and extract the link text from the page name, minus an parenthetical disambiguation.
With parameters
Use:
|id=
- Example
{{LepIndex|id=31468}}
gives Beccaloni, G.; Scoble, M.; Kitching, I.; Simonsen, T.; Robinson, G.; Pitkin, B.; Hine, A.; Lyal, C., eds. (2003). "[[:Template:PAGENAMEBASE]]". The Global Lepidoptera Names Index. Natural History Museum. URL–wikilink conflict (help)Script error: No such module "EditAtWikidata". Template:WikidataCheck
Use:
|name=
- Example
{{LepIndex|id=31468|name=Dasysphinx rubrilatera}}
gives Beccaloni, G.; Scoble, M.; Kitching, I.; Simonsen, T.; Robinson, G.; Pitkin, B.; Hine, A.; Lyal, C., eds. (2003). "Dasysphinx rubrilatera". The Global Lepidoptera Names Index. Natural History Museum.Script error: No such module "EditAtWikidata". Template:WikidataCheck. - Note that by default the value is the name of the page and thus it can be omitted if the template is used on the article titled Dasysphinx rubrilatera.
Tracking categories
- Category:LepIndex ID not in Wikidata (0)
- Category:LepIndex ID different from Wikidata (0)
- Category:LepIndex ID same as Wikidata (0)
- Category:LepIndex template with no id set (exists in template, not created)