Vorlage:Card: Unterschied zwischen den Versionen

167 Bytes hinzugefügt ,  21. Juni 2020
keine Bearbeitungszusammenfassung
(Bsp. hinzugefügt)
Keine Bearbeitungszusammenfassung
Zeile 2: Zeile 2:
<div style="position: relative;display: flex;flex-direction: column;min-width: 0;word-wrap: break-word;background-color: {{{bgc|#fff}}};background-clip: border-box;border: 1px solid rgba(0,0,0,.125);border-radius: .25rem; width: {{{width|100%}}};">
<div style="position: relative;display: flex;flex-direction: column;min-width: 0;word-wrap: break-word;background-color: {{{bgc|#fff}}};background-clip: border-box;border: 1px solid rgba(0,0,0,.125);border-radius: .25rem; width: {{{width|100%}}};">
   <div style="flex: 1 1 auto;min-height: 1px;padding: 1.25rem;">
   <div style="flex: 1 1 auto;min-height: 1px;padding: 1.25rem;">
     <p style="float:right;font-size: 80%;color:{{{titleforeground|#000000}}}">[{{fullurl:{{{editpage|{{FULLPAGENAME}}}}}|action=edit}} {{int:editsection}}]</p>
     {{#ifexpr: showedit |<p style="float:right;font-size: 80%;color:{{{titleforeground|#000000}}}">[{{fullurl:{{{editpage|{{FULLPAGENAME}}}}}|action=edit}} {{int:editsection}}]</p>|}}
     <h5 style="margin-bottom: .75rem;margin-top: 0;font-size: 1.25rem;font-weight: 500;line-height: 1.2;"><span style="color:{{{titleforeground|#000000}}}">{{{title}}}</span></h5>
     <h5 style="margin-bottom: .75rem;margin-top: 0;font-size: 1.25rem;font-weight: 500;line-height: 1.2;"><span style="color:{{{titleforeground|#000000}}}">{{{title}}}</span></h5>
     <h6 style="color: #6c757d;margin-bottom: .5rem;margin-top: -.375rem;font-size: 1rem;font-weight: 500;line-height: 1.2;">{{{subtitle|}}}</h6>
     <h6 style="color: #6c757d;margin-bottom: .5rem;margin-top: -.375rem;font-size: 1rem;font-weight: 500;line-height: 1.2;">{{{subtitle|}}}</h6>
Zeile 47: Zeile 47:
"label": "Inhalt der Card",
"label": "Inhalt der Card",
"type": "string",
"type": "string",
"required": true
},
"showedit": {
"label": "Bearbeitungslink anzeigen",
"type": "boolean",
"autovalue": "false",
"required": true
"required": true
}
}
Zeile 57: Zeile 63:
"width",
"width",
"titleforeground",
"titleforeground",
"editpage"
"editpage",
"showedit"
]
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>
133

Bearbeitungen