Template:Wikilivres/doc
This is a documentation subpage for Template:Wikilivres. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[change source]The default behavior of this template is to present a string "Wikilivres has original media or text related to this article:" with a link to a page on Wikilivres with the same name as the Wikipedia page.
This template takes up to two optional parameters which will alter the page name used to link to Wikilivres.
- {{Wikilivres|alternative page link|different name, if desired}}
Examples
[change source]{{Wikilivres|1=The Shape of Things to Come/Book 2|2=name for The Shape of Things to Come}}
produces
- Bibliowiki has original media or text related to this article: name for The Shape of Things to Come (in the public domain in Canada)
{{Wikilivres|1=The Shape of Things to Come/Book 2#Anchor|2=name for The Shape of Things to Come Anchor}}
produces
- Bibliowiki has original media or text related to this article: name for The Shape of Things to Come Anchor (in the public domain in Canada)
Limitation [] - square brackets
[change source]- You cannot use square brackets ("[" and "]") in the first parameter.
To resolve this use "[" and "]" instead:
{{Wikilivres|1=The Shape of Things to Come/Book 2#Publication info[First edition]|2=name for The Shape of Things to Come [First Edition]}}
produces
- Bibliowiki has original media or text related to this article: name for The Shape of Things to Come [First Edition] (in the public domain in Canada)
Template data
[change source]Creates a small box with a links to a document at Wikilivres.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page name | 1 | The document name on Wikilivres. The article's page name is used as a default. Square brackets [ and ] need to be coded as [ and ]. | String | optional |
Displayed name | 2 | Optional displayed link text. | String | optional |
See also
[change source]- {{Wikisource}}
- {{Commons}}
- {{Gutenberg author}}
- {{Librivox author}}
- {{Internet Archive author}}