Template:Cc-by-layout

From Wikimedia Commons, the free media repository
Jump to: navigation, search


Dialog-warning-orange.svg Note: This template is used on a lot of pages. In order not to put too much load on the servers, edits should be kept to a bare minimum. Please discuss proposed changes on the talk page first.
  • Editing a template causes all pages that use the template to be re-rendered. If the template is used often, this can put a lot of load on the servers since it fills up the job queue.
  • Keep in mind that templates that are used on file description pages also show up on other wikis.
  • This page has been protected from editing to prevent vandalism. Only administrators can edit it. Get their attention by placing {{edit protected}} at the talk page.
Documentation icon Documentationviewedithistorypurge

This documentation is transcluded from Template:Cc-by-layout/doc.

This is a general layout template for all Creative Commons Attribution templates. This template should only be used in other templates. To make use of this template:

{{Cc-by-layout
|version=<!-- the version of the template -->
|country=<!--  countrycode, or leave empty if it's an unported template -->
|attribution={{{attribution|{{{1|}}}}}}<!-- To pass the attribution -->
}}<includeonly>{{#ifeq:{{NAMESPACE}}|File|{{{category|[[Category:CC-BY-<version>-<country><!-- To which category the images are added -->|{{PAGENAME}}]]}}}}}</includeonly><noinclude>

{{In category|CC-BY-<version>-<country><!-- To which category the images are added -->}}

[[Category:CC license tags|{{PAGENAME}}]]
[[Category:License tags attribution|{{PAGENAME}}]]
</noinclude>