Template:Wikilivres

From MattWiki
Jump to: navigation, search
Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

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

{{Wikilivres|1=The Shape of Things to Come/Book 2|2=name for The Shape of Things to Come}}

produces

{{Wikilivres|1=The Shape of Things to Come/Book 2#Anchor|2=name for The Shape of Things to Come Anchor}}

produces


Limitation [] - square brackets

  • 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

Template data

Creates a small box with a links to a document at Wikilivres.

Template parameters

ParameterDescriptionTypeStatus
Page name1

The document name on Wikilivres. The article's page name is used as a default. Square brackets [ and ] need to be coded as [ and ].

Default
empty
Example
empty
Auto value
empty
Stringoptional
Displayed name2

Optional displayed link text.

Default
empty
Example
empty
Auto value
empty
Stringoptional

See also