Template:Non-free media/sandbox: Difference between revisions
Content deleted Content added
Reset to current version |
Fix license metadata |
||
Line 1: | Line 1: | ||
{{file other <!-- Only categorise when on image pages. --> |
{{file other <!-- Only categorise when on image pages. --> |
||
| [[Category:All non-free media]]{{#ifeq:{{{metadata}}}|no||<div class="licensetpl" style="display:none"><div class="licensetpl_short">Fair use</div><div class="licensetpl_nonfree">true</div></div>}}__NOINDEX__ |
| [[Category:All non-free media]]{{#ifeq:{{{metadata}}}|no||<div class="licensetpl" style="display:none"><div class="licensetpl_short licensetpl_long">Fair use</div><div class="licensetpl_nonfree">true</div><span class="licensetpl_link" style="display: none">{{fullurl:{{FULLPAGENAME}}}}</span></div>}}__NOINDEX__ |
||
}}<noinclude> |
}}<noinclude> |
||
{{Documentation}} |
{{Documentation}} |
Latest revision as of 21:05, 10 April 2020
This is the template sandbox page for Template:Non-free media (diff). |
This is the {{non-free media}} meta-template.
It should be transcluded into every known non-free image copyright template. It categorises images that are tagged with those copyright templates into Category:All non-free media. Thus allowing a machine-readable list of all non-free media to be created. It should not be used directly.
Parameters[edit]
- metadata
- set to
no
when used in a template which does not need machine-readable metadata (which is probably every template that's not a copyright template).
See also[edit]
- {{free media}} – The corresponding template for free media.