Template:Cc-by-layout/doc: Difference between revisions
Template page
More actions
No edit summary |
|||
| Line 15: | Line 15: | ||
</noinclude> | </noinclude> | ||
</pre> | </pre> | ||
<includeonly>[[Category:Helper templates|{{PAGENAME}}]]</includeonly> | <includeonly>[[Category:Helper templates|{{PAGENAME}}]][[Category:Templates using TemplateStyles|{{PAGENAME}}]]</includeonly> | ||
<!-- | <!-- | ||
{{TemplateBox | {{TemplateBox | ||
Latest revision as of 17:12, 19 June 2022
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>