Template:Cc-by-layout: Difference between revisions
Template page
More actions
m machine readable |
You forgot attribution! |
||
| Line 4: | Line 4: | ||
| style="width:90px;" rowspan="3" | {{#if:{{{country|}}} | [[{{Cc-country-flags|{{{country|}}}}}|90px|border|link=|right]] }} | | style="width:90px;" rowspan="3" | {{#if:{{{country|}}} | [[{{Cc-country-flags|{{{country|}}}}}|90px|border|link=|right]] }} | ||
|- style="text-align:center;" | |- style="text-align:center;" | ||
| {{#if:{{{attribution|}}}| '''{{int:wm-license-cc-attribution|}}: < | | {{#if:{{{attribution|}}}| '''{{int:wm-license-cc-attribution|}}: <span style="font-size: larger;" class="licensetpl_attr">{{{attribution|}}}</span>''' }} | ||
|- style="text-align:{{#ifeq:{{Dir|{{int:lang}}}}|ltr|left|right}};" | |- style="text-align:{{#ifeq:{{Dir|{{int:lang}}}}|ltr|left|right}};" | ||
| | | | ||
Revision as of 21:51, 15 October 2010
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>