Template:Cc-by-layout/doc: Difference between revisions
Template page
More actions
docs |
No edit summary |
||
| Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
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: | This is a general layout template for all Creative Commons Attribution templates, not counting ones used only on images. This template should only be used in other templates. To make use of this template: | ||
<pre> | <pre> | ||
{{Cc-by-layout | {{Cc-by-layout | ||
Revision as of 21:57, 14 April 2010
This is a general layout template for all Creative Commons Attribution templates, not counting ones used only on images. 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>