Template:Cc-by-layout: Difference between revisions
Template page
More actions
per phab:T343131 |
Fulfilling edit request by User:WOSlinker. Change <span> to <div> |
||
| Line 5: | Line 5: | ||
--><div class="rlicense-text"><!-- | --><div class="rlicense-text"><!-- | ||
--><div class="rlicense-declaration">{{int:wm-license-cc-by-{{{version|}}}{{#if:{{{country|}}}|-{{{country}}}}}-text}}</div><!-- | --><div class="rlicense-declaration">{{int:wm-license-cc-by-{{{version|}}}{{#if:{{{country|}}}|-{{{country}}}}}-text}}</div><!-- | ||
-->{{#if:{{{attribution|}}}|<div class="rlicense-attr" style="font-weight: bold;">{{int:wm-license-cc-attribution|}}: < | -->{{#if:{{{attribution|}}}|<div class="rlicense-attr" style="font-weight: bold;">{{int:wm-license-cc-attribution|}}: <div style="display:inline;font-size:larger;" class="licensetpl_attr">{{{attribution}}}</div></div> }}<!-- | ||
--><div class="rlicense-desc" style="text-align:start;" dir="{{#dir:{{int:lang}}}}" lang="{{int:lang}}"> | --><div class="rlicense-desc" style="text-align:start;" dir="{{#dir:{{int:lang}}}}" lang="{{int:lang}}"> | ||
:{{int:wm-license-cc-free}} | :{{int:wm-license-cc-free}} | ||
Revision as of 12:34, 17 June 2025
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>