Template:Cc-by-sa-layout: Difference between revisions
Template page
More actions
new layout template |
update |
||
| Line 18: | Line 18: | ||
This is a general layout template for all Creative Commons Attribution-Share Alike 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-Share Alike templates. This template should only be used in other templates. To make use of this template: | ||
<pre> | <pre> | ||
{{Cc-by-sa | {{Cc-by-sa-layout | ||
|version=<!-- the version of the template --> | |version=<!-- the version of the template --> | ||
|country=<!-- | |country=<!-- countrycode, or leave empty if it's an unported template --> | ||
|attribution={{{attribution|{{{1|}}}}}}<!-- To pass the attribution --> | |attribution={{{attribution|{{{1|}}}}}}<!-- To pass the attribution --> | ||
}} | }}<includeonly>{{#ifeq:{{NAMESPACE}}|File|{{{category|[[Category:CC-BY-SA-<version>-<country><!-- To which category the images are added -->|{{PAGENAME}}]]}}}}}</includeonly><noinclude> | ||
{{In category|CC-BY-SA-<version>-<country><!-- To which category the images are added -->}} | |||
[[Category:CC license tags|{{PAGENAME}}]] | |||
</noinclude> | |||
</pre> | </pre> | ||
[[Category:Helper templates|{{PAGENAME}}]] | [[Category:Helper templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> | ||
Revision as of 12:10, 7 January 2010
| This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license. | |
| Attribution: Example attribution | |
|
This is a general layout template for all Creative Commons Attribution-Share Alike templates. This template should only be used in other templates. To make use of this template:
{{Cc-by-sa-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-SA-<version>-<country><!-- To which category the images are added -->|{{PAGENAME}}]]}}}}}</includeonly><noinclude>
{{In category|CC-BY-SA-<version>-<country><!-- To which category the images are added -->}}
[[Category:CC license tags|{{PAGENAME}}]]
</noinclude>