Template:WikimediaCommons/doc: Difference between revisions

Boobpedia - Encyclopedia of big boobs
Jump to navigationJump to search
(n)
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 9: Line 9:
* <code><nowiki>{{WikimediaCommons}}</nowiki></code> for the category on Commons with the same name as the article
* <code><nowiki>{{WikimediaCommons}}</nowiki></code> for the category on Commons with the same name as the article


If a model has media files on Wikimedia Commons, its category always exists there but "galleries" (i.e. normal pages where media is layed out a certain way) do not necessarily exist.
If a model has media files on Wikimedia Commons, its category always exists there but "galleries" (i.e. "article" pages where media is layed out a certain way) do not necessarily exist.


== Examples ==
== Examples ==
Line 15: Line 15:
For [[Hillary Scott]]:
For [[Hillary Scott]]:


* <code><nowiki>{{WikimediaCommons|</nowiki>Hillary Scott}}</code> inserts a link to [http://commons.wikimedia.org/wiki/Hillary_Scott http://commons.wikimedia.org/wiki/Hillary_Scott]
* <code><nowiki>{{WikimediaCommons|</nowiki>Hillary Scott}}</code> inserts a link to [https://commons.wikimedia.org/wiki/Hillary_Scott https://commons.wikimedia.org/wiki/Hillary_Scott]
* <code><nowiki>{{WikimediaCommons|Category:</nowiki>Hillary Scott}}</code> inserts a link to [http://commons.wikimedia.org/wiki/Category:Hillary_Scott http://commons.wikimedia.org/wiki/Category:Hillary_Scott]
* <code><nowiki>{{WikimediaCommons|Category:</nowiki>Hillary Scott}}</code> inserts a link to [https://commons.wikimedia.org/wiki/Category:Hillary_Scott https://commons.wikimedia.org/wiki/Category:Hillary_Scott]
* <code><nowiki>{{WikimediaCommons}}</nowiki></code> inserts a link to [http://commons.wikimedia.org/wiki/Category:Hillary_Scott http://commons.wikimedia.org/wiki/Category:Hillary_Scott]
* <code><nowiki>{{WikimediaCommons}}</nowiki></code> inserts a link to [https://commons.wikimedia.org/wiki/Category:Hillary_Scott https://commons.wikimedia.org/wiki/Category:Hillary_Scott]


<includeonly>
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:External link templates]]
[[Category:External link templates|{{PAGENAME}}]]
[[Category:Typing-aid templates]]
[[Category:Typing-aid templates|{{PAGENAME}}]]
</includeonly>
</includeonly>

Latest revision as of 20:20, 17 June 2015

This is a documentation subpage for Template:WikimediaCommons (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.
This template inserts a link to a Wikimedia Commons page.

Usage

If a model has media files on Wikimedia Commons, you can add a link to the External links section of an article by inserting either:

  • {{WikimediaCommons|<model name>}} for a gallery on Commons with the given name
  • {{WikimediaCommons|Category:<model name>}} for the category on Commons with the given name
  • {{WikimediaCommons}} for the category on Commons with the same name as the article

If a model has media files on Wikimedia Commons, its category always exists there but "galleries" (i.e. "article" pages where media is layed out a certain way) do not necessarily exist.

Examples

For Hillary Scott: