Template:Commons category: Difference between revisions
EnWikiAdmin (talk | contribs) No edit summary |
EnWikiAdmin (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{Sister project | {{Sister project | ||
| position = {{{position|}}} | | position = {{{position|}}} | ||
Line 13: | Line 7: | ||
</span>.</includeonly> | </span>.</includeonly> | ||
}} | }} | ||
<noinclude> | |||
{{Documentation}} | |||
== Usage == | |||
This template links to a corresponding category on Wikimedia Commons. | |||
== Parameters == | |||
* '''position''': Position of the link (optional). | |||
* '''alt-term''': Alternate text for the phrase "media related to" (optional). | |||
* '''nowrap''': Set to "yes" to prevent text wrapping (optional). | |||
* '''italic''': Set to "yes" to italicize the link text (optional). | |||
* '''1''': Category name on Commons (optional; defaults to current page name). | |||
* '''2''': Display text (optional; defaults to current page name or specified category name). | |||
== Example == | |||
<syntaxhighlight lang="wikitext"> | |||
{{Sister project | |||
| position = left | |||
| project = commons | |||
| alt-term = images of | |||
| nowrap = yes | |||
| italic = yes | |||
| 1 = Venus in fiction | |||
| 2 = Venus in fiction media | |||
}} | |||
</syntaxhighlight> | |||
This example would display: | |||
''Wikimedia Commons has images of ''**Venus in fiction media** | |||
== Notes == | |||
This template is designed for use on pages where a corresponding category exists on Wikimedia Commons. | |||
</noinclude> |