Vorlage:Badge: Unterschied zwischen den Versionen
Test (Diskussion | Beiträge) |
|||
| (29 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
| − | + | __NOTOC__ | |
| + | [[Category:Badge]] | ||
| + | <hr style="height:3px;border:none;color:#333;background-color:#333;" /> | ||
<div style="border: 1px solid #99c; | <div style="border: 1px solid #99c; | ||
| − | background: | + | background: #ccc; |
color: #000; | color: #000; | ||
padding: 0.1em; | padding: 0.1em; | ||
| Zeile 9: | Zeile 11: | ||
margin-bottom: 0px; | margin-bottom: 0px; | ||
border-bottom: none; | border-bottom: none; | ||
| − | {{1.5em 1.5em 0 0 | + | {{1.5em 1.5em 0 0}};"> |
| − | + | <h2 style="font-size:100%;font-weight:bold;border: none; margin: 0; padding:0; padding-bottom:.1em;"> | |
| − | <h2 style="font-size:100%;font-weight:bold;border: none; margin: 0; padding:0; padding-bottom:.1em;"> | + | <span style="color:{{{titleforeground|#000000}}}">{{{title}}}</span> |
| − | <span style="color:{{{titleforeground|#000000}}}">{{{title}}}</span> | + | </h2> |
| − | </h2> | ||
</div> | </div> | ||
<div style="display: block; border: 1px solid {{{border|#99c}}}; vertical-align: top; background: {{{background|#fff}}}; color: {{{foreground|#000}}}; margin-bottom: 10px; padding: .8em 1em 1em 1.3em; margin-top: 0em; {{border-radius|0 0 1.5em 1.5em}} {{{style|}}};"> | <div style="display: block; border: 1px solid {{{border|#99c}}}; vertical-align: top; background: {{{background|#fff}}}; color: {{{foreground|#000}}}; margin-bottom: 10px; padding: .8em 1em 1em 1.3em; margin-top: 0em; {{border-radius|0 0 1.5em 1.5em}} {{{style|}}};"> | ||
| − | <h5 style="font-size:100%;font-weight:bold;border: none; margin: 0; padding:0; padding-bottom:.1em;"><span style="color:{{{#000000}}}">Einzigartiger Name: {{{name}}}</span></ | + | <h5 style="font-size:100%;font-weight:bold;border: none; margin: 0; padding:0; padding-bottom:.1em;"><span style="color:{{{#000000}}}">Einzigartiger Name: {{{name}}}</span></h5> |
| − | <h5 style="font-size:100%;font-weight:bold;border: none; margin: 0; padding:0; padding-bottom:.1em;"><span style="color:{{{#000000}}}">Hintergrundbild</span></ | + | <h5 style="font-size:100%;font-weight:bold;border: none; margin: 0; padding:0; padding-bottom:.1em;"><span style="color:{{{#000000}}}">Hintergrundbild</span></h5> |
[[{{{headerImage}}}|frameless]] | [[{{{headerImage}}}|frameless]] | ||
| − | <h5 style="font-size:100%;font-weight:bold;border: none; margin: 0; padding:0; padding-bottom:.1em;"><span style="color:{{{#000000}}}">Icon</span></ | + | <h5 style="font-size:100%;font-weight:bold;border: none; margin: 0; padding:0; padding-bottom:.1em;"><span style="color:{{{#000000}}}">Icon</span></h5> |
[[{{{badgeIcon}}}|frameless]] | [[{{{badgeIcon}}}|frameless]] | ||
| − | <h5 style="font-size:100%;font-weight:bold;border: none; margin: 0; padding:0; padding-bottom:.1em;"><span style="color:{{{#000000}}}">Beschreibungstext</span></ | + | <h5 style="font-size:100%;font-weight:bold;border: none; margin: 0; padding:0; padding-bottom:.1em;"><span style="color:{{{#000000}}}">Beschreibungstext</span></h5> |
{{{1|{{{text|{{{text}}}}}}}}} | {{{1|{{{text|{{{text}}}}}}}}} | ||
| − | + | {{{hasCompletedText}}}} | |
| + | |||
| + | Das Abzeichen ist <span style="font-weight: bold;">{{{score}}}</span> Punkte Wert. | ||
| + | |||
| + | {{#if:{{{quantityName}}}| Das Abzeichen wird in <span style="font-weight: bold;">{{{quantityName}}}</span> gemessen.|}} | ||
| + | |||
| + | |||
| + | Weiterführender Link: [{{{externalLink}}}] | ||
| + | |||
| + | <hr> | ||
| + | |||
| + | <h5 style="font-size:100%;font-weight:bold;border: none; margin: 0; padding:0; padding-bottom:.1em;"><span style="color:{{{#000000}}}">Abzeichen Kriterien</span></h5> | ||
| + | |||
| + | Zielart: {{{badgeGoalType}}} | ||
| + | |||
| + | {{{minCompletion}}} | ||
| + | {{{minQuantity|}}} | ||
| + | |||
| + | {{{medCompletion}}} | ||
| + | {{{medQuantity|}}} | ||
| + | |||
| + | {{{goodCompletion}}} | ||
| + | {{{goodQuantity|}}} | ||
| + | |||
| + | {{{maxCompletion}}} | ||
| + | {{{maxQuantity|}}} | ||
</div> | </div> | ||
| Zeile 55: | Zeile 81: | ||
"required": true, | "required": true, | ||
"label": "Text" | "label": "Text" | ||
| + | }, | ||
| + | "hasCompletedText": { | ||
| + | "label": "Abschlusstext", | ||
| + | "type": "string", | ||
| + | "suggested": true | ||
}, | }, | ||
"badgeIcon": { | "badgeIcon": { | ||
| Zeile 69: | Zeile 100: | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
| − | " | + | "externalLink": { |
| + | "label": "Weiterführender Link", | ||
| + | "type": "url", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "badgeGoalType": { | ||
"label": "Ziel Typ", | "label": "Ziel Typ", | ||
| − | "description": " | + | "description": "QUANTITATIVE_ASC falls mehr besser, QUANTITATIVE_DSC falls weniger besser, sonst QUALITATIVE", |
"example": "QUALITATIV, QUANTITIVE_ASC, QUANTITIVE_DSC", | "example": "QUALITATIV, QUANTITIVE_ASC, QUANTITIVE_DSC", | ||
"type": "string", | "type": "string", | ||
"autovalue": "QUALITATIV", | "autovalue": "QUALITATIV", | ||
"required": true | "required": true | ||
| + | }, | ||
| + | "quantityName": { | ||
| + | "label": "Quantitäts Einheit", | ||
| + | "description": "Name der Quantität, falls dieses Abzeichen Quantitativ bewertet wird", | ||
| + | "example": "Kg CO_2", | ||
| + | "type": "string", | ||
| + | "suggested": true | ||
}, | }, | ||
"minCompletion": { | "minCompletion": { | ||
| Zeile 136: | Zeile 179: | ||
"required": true | "required": true | ||
} | } | ||
| + | |||
}, | }, | ||
"description": "Vorlage um ein Abzeichen zu erstellen", | "description": "Vorlage um ein Abzeichen zu erstellen", | ||
| Zeile 143: | Zeile 187: | ||
"title", | "title", | ||
"text", | "text", | ||
| + | "hasCompletedText", | ||
"score", | "score", | ||
"headerImage", | "headerImage", | ||
"badgeIcon", | "badgeIcon", | ||
| + | "externalLink", | ||
"minCompletion", | "minCompletion", | ||
"medCompletion", | "medCompletion", | ||
"goodCompletion", | "goodCompletion", | ||
"maxCompletion", | "maxCompletion", | ||
| − | " | + | "badgeGoalType", |
| + | "quantityName", | ||
"minQuantity", | "minQuantity", | ||
"medQuantity", | "medQuantity", | ||
Aktuelle Version vom 14. April 2020, 09:15 Uhr
{{{title}}}
Einzigartiger Name: {{{name}}}
Hintergrundbild
[[{{{headerImage}}}|frameless]]
Icon
[[{{{badgeIcon}}}|frameless]]
Beschreibungstext
{{{text}}}
{{{hasCompletedText}}}}
Das Abzeichen ist {{{score}}} Punkte Wert.
Das Abzeichen wird in {{{quantityName}}} gemessen.
Weiterführender Link: [{{{externalLink}}}]
Abzeichen Kriterien
Zielart: {{{badgeGoalType}}}
{{{minCompletion}}}
{{{medCompletion}}}
{{{goodCompletion}}}
{{{maxCompletion}}}
Vorlage um ein Abzeichen zu erstellen
| Parameter | Beschreibung | Typ | Status | |
|---|---|---|---|---|
| Name | name | Name des Abzeichens, eindeutig und ohne Leerzeichen
| Zeichenfolge | erforderlich |
| Titel | title | Titel des Abzeichens, falls der Name nicht Aussagekräftig genut ist
| Unbekannt | vorgeschlagen |
| Text | text | Beschreibender Text für die Aufgabe dieses Abtzeichens | Inhalt | erforderlich |
| Abschlusstext | hasCompletedText | keine Beschreibung | Zeichenfolge | vorgeschlagen |
| Punkte | score | Punktwert des Abzeichens
| Nummer | erforderlich |
| Hintergrundbild | headerImage | Hintergrundbild der Detailansicht des Abzeichens
| Datei | vorgeschlagen |
| Abzeichenbild | badgeIcon | Das Abzeichen als Graustufenbild | Datei | vorgeschlagen |
| Weiterführender Link | externalLink | keine Beschreibung | URL | vorgeschlagen |
| Minimaler Aufwand | minCompletion | Was soll die NutzerIn mindestens erreicht haben | Zeichenfolge | erforderlich |
| Mittlerer Aufwand | medCompletion | Was soll die NutzerIn mindestens erreicht haben um für die zweite Abzeichensstufe zu qualifizieren | Zeichenfolge | erforderlich |
| Hoher Aufwand | goodCompletion | Was soll die NutzerIn mindestens erreicht haben um für die dritte Abzeichensstufe zu qualifizieren | Zeichenfolge | erforderlich |
| Überragender Aufwand | maxCompletion | Was soll die NutzerIn mindestens erreicht haben um für die höchste Abzeichensstufe zu qualifizieren | Zeichenfolge | erforderlich |
| Ziel Typ | badgeGoalType | QUANTITATIVE_ASC falls mehr besser, QUANTITATIVE_DSC falls weniger besser, sonst QUALITATIVE
| Zeichenfolge | erforderlich |
| Quantitäts Einheit | quantityName | Name der Quantität, falls dieses Abzeichen Quantitativ bewertet wird
| Zeichenfolge | vorgeschlagen |
| Minimale Quantität | minQuantity | Wert äq. zu "Minimaler Aufwand", falls das Abzeichen Quantitativ bewertet werden soll | Nummer | optional |
| Mittlere Quantität | medQuantity | Wert äq. zu "Mittlerer Aufwand", falls das Abzeichen Quantitativ bewertet werden soll | Nummer | optional |
| Hohe Quantität | goodQuantity | Wert äq. zu "Hoher Aufwand", falls das Abzeichen Quantitativ bewertet werden soll | Nummer | optional |
| Überragende Quantität | maxQuantity | Wert äq. zu "Überragender Aufwand", falls das Abzeichen Quantitativ bewertet werden soll | Nummer | optional |
| Typ | typename | Magischer Wert um die Vorlage einfacher zur App zu übertragen.
| Zeichenfolge | erforderlich |