Vorlage:License card/doc: Unterschied zwischen den Versionen
Aus DragonballWiki
Weitere Optionen
Inhalt gelöscht Inhalt hinzugefügt
| Zeile 1: | Zeile 1: | ||
{{Documentation}} |
|||
.license-card { |
|||
padding: 1.25rem; |
|||
margin-top: 0.8rem; |
|||
background: var( --color-surface-2 ); |
|||
border-radius: var( --border-radius--medium ); |
|||
} |
|||
{{t|License card}} is a metatemplate used by license templates. |
|||
.license-card__icons { |
|||
margin-bottom: 0.8rem; |
|||
} |
|||
== Parameters == |
|||
.license-card__icons img { |
|||
; <code>title</code> |
|||
margin-right: 10px; |
|||
: Title text on the license card |
|||
} |
|||
; <code>description</code> |
|||
: Description text on the license card |
|||
; <code>icons</code> |
|||
: 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 |
|||
; <code>shortname</code> |
|||
: Short name of the license: “Public domain”, “CC-BY-SA-3.0”, “CC-by-2.0-FR”, etc. |
|||
; <code>longname</code> |
|||
: Long name of the license: “Public domain”, “Creative Commons Attribution-Share Alike 3.0” |
|||
; <code>link</code> |
|||
: The link to the license deed. “www.creativecommons.org/licenses/by-sa/XXX/YYY”. You might need to use <code><nowiki><nowiki/></nowiki></code> for external link |
|||
; <code>linkreq</code> |
|||
: Whether a link to the license is required for this license. “true” or “false” |
|||
; <code>attr</code> |
|||
: The requested attribution: Free text |
|||
; <code>attrreq</code> |
|||
: Whether attribution is required. “true” or “false” |
|||
; <code>nonfree</code> |
|||
: “true“ if this is a non-free license |
|||
<includeonly> |
|||
.license-card__title { |
|||
[[Category:Utility templates|{{PAGENAME}}]][[Category:File management templates|{{PAGENAME}}]]</includeonly> |
|||
color: var( --color-base--emphasized ); |
|||
font-size: 1.25rem; |
|||
font-weight: bold; |
|||
line-height: 1.2; |
|||
} |
|||
.license-card__description { |
|||
margin-top: 0.8rem; |
|||
font-size: 0.875rem; |
|||
} |
|||
.license-card__metadata { |
|||
display: none; |
|||
} |
|||
html.skin-citizen-dark .license-card__icons img { |
|||
filter: invert( 1 ) hue-rotate( 180deg ); |
|||
} |
|||
Aktuelle Version vom 18. September 2023, 01:23 Uhr
Dies ist die Dokumentationsseite für 'Vorlage:License card'.
Es enthält Nutzungsinformationen, Kategorien und andere Inhalte, die nicht Teil der Original Vorlage-Seite sind.
Error: Modul:DependencyList:286: Vorlage:License card existiert nicht
{{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