Template:License card: Difference between revisions
Template page
More actions
Content deleted Content added
 Created page with "<includeonly><div class="license-card licensetpl"> {{#if:{{{icons|}}}|<div class="license-card__icons metadata">{{{icons}}}</div>}} <div class="license-card__title">{{{title}}..."  | 
			
(No difference) 
 | 
Revision as of 02:17, 23 May 2021
This documentation is transcluded from Template:License card/doc. Changes can be proposed in the talk page.
{{License card}} is a metatemplate used by license templates.
Parameters
title- Title text on the license card
 description- Description text on the license card
 icons- Icons on the license card. Use full file syntax
 
Metadata
Not visible on the template but used as machine readable data for other extensions such as MultimediaViewer
shortname- Short name of the license: “Public domain”, “CC-BY-SA-3.0”, “CC-by-2.0-FR”, etc.
 longname- Long name of the license: “Public domain”, “Creative Commons Attribution-Share Alike 3.0”
 link- The link to the license deed. “www.creativecommons.org/licenses/by-sa/XXX/YYY”. You might need to use 
<nowiki/>for external link linkreq- Whether a link to the license is required for this license. “true” or “false”
 attr- The requested attribution: Free text
 attrreq- Whether attribution is required. “true” or “false”
 nonfree- “true“ if this is a non-free license