Bamp (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „<noinclude> <languages/> </noinclude> <templatestyles src="Template:Infobox/styles.css"/> <table class="infobox infobox-side"> <tr class="infobox-head"> <td>30px|link=</td> <th>{{{MODULENAME}}}</th> </tr> <tr> {{#if:{{{IMAGE|}}}|<td class="infobox-image" colspan="2">[[{{{IMAGE}}}|250px]]</td>}} </tr> <tr> <td colspan="2"> <table> <tr> <th><translate><!--T:1--> Status</translate></th>…“) |
Bamp (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung Markierung: Manuelle Zurücksetzung |
||
(58 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
<noinclude> | <noinclude><languages/></noinclude><includeonly> | ||
<languages/> | <templatestyles src="Vorlage:Infobox/styles.css"/> | ||
</noinclude> | {{#switch: {{{STATUS}}} | ||
<templatestyles src=" | | development = <table class="infobox infobox-side border-blue"> <tr class="infobox-head-blue"> | ||
| stable = <table class="infobox infobox-side border-green"> <tr class="infobox-head-green"> | |||
| removed = <table class="infobox infobox-side border-black"> <tr class="infobox-head-black"> | |||
| inactive = <table class="infobox infobox-side border-grey"> <tr class="infobox-head-grey"> | |||
| #default = <table class="infobox infobox-side border-grey"> <tr class="infobox-head-grey">}} | |||
<td>[[Datei:IconModule.svg|30px|link=]]</td> | |||
<th>{{#if:{{{MODULENAME|}}}|{{{MODULENAME}}}|???}}</th> | |||
</tr> | |||
<tr> | |||
<td class="infobox-image" colspan="2"> | |||
{{#if:{{{IMAGE|}}}|[[{{{IMAGE}}}|300px]]|[[Datei:Placeholder.jpg|300px]]}} | |||
</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2"> | |||
<table class="infobox-inner-table"> | |||
<tr> | |||
<th><translate><!--T:40--> Status</translate></th> | |||
<td>{{#switch: {{{STATUS}}} | |||
| development = <translate><!--T:41--> In Entwicklung</translate> | |||
| stable = <translate><!--T:42--> Stabil</translate> | |||
| removed = <translate><!--T:43--> Entfernt</translate> | |||
| inactive = <translate><!--T:44--> Inaktiv</translate> | |||
| <translate><!--T:51--> Unbekannt</translate>}} | |||
</td> | |||
</tr> | |||
{{#if:{{{ALSOKNOWNAS|}}}|<tr> | |||
<th><translate><!--T:45--> Auch bekannt als</translate></th> | |||
<td>{{{ALSOKNOWNAS}}}</td> | |||
</tr>}} | |||
<tr> | |||
<th><translate><!--T:46--> Klassenname</translate></th> | |||
<td class="monospace">{{#if:{{{CLASSNAME|}}}|{{{CLASSNAME}}}|???}}</td> | |||
</tr> | |||
<tr> | |||
<th>[[Spezial:Meine_Sprache/Versionsverzeichnis|{{#ifeq:{{{STATUS}}}|development | |||
|<translate><!--T:58--> Geplante Einführung</translate>|<translate><!--T:47--> Eingeführt</translate> | |||
}}]]</th> | |||
<td>{{#if:{{{INTRODUCED|}}} | |||
|<span class="monospace">{{{INTRODUCED}}}</span>|<translate><!--T:55--> Unbekannt</translate> | |||
}}</td> | |||
</tr> | |||
{{#if:{{{REMOVED|}}}|<tr> | |||
<th><span class="monospace">{{Farbe|TEXT=<translate><!--T:57--> Entfernt</translate>|COLOR=red}}</span></th> | |||
<td>{{{REMOVED}}}</td>}} | |||
</tr> | |||
{{#if:{{{PARENTMODULES|}}}|<tr> | |||
<th><translate><!--T:48--> Übergeordnete Module</translate></th> | |||
<td>{{{PARENTMODULES}}}</td>}} | |||
</tr> | |||
{{#if:{{{SUBMODULES|}}}|<tr> | |||
<th><translate><!--T:49--> Untergeordnete Module</translate></th> | |||
<td>{{{SUBMODULES}}}</td>}} | |||
</tr> | |||
{{#if:{{{FURTHERINFORMATION|}}}|<tr> | |||
<th><translate><!--T:50--> Weiteres</translate></th> | |||
<td>{{{FURTHERINFORMATION}}}</td>}} | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
</table> | |||
</includeonly><noinclude> | |||
= Vorschau = | |||
{| | |||
| {{Infobox/Modul | MODULENAME = development | STATUS = development }} || {{Infobox/Modul | MODULENAME = stable | STATUS = stable }} | |||
|- | |||
| {{Infobox/Modul | MODULENAME = inactive | STATUS = inactive }} || {{Infobox/Modul | MODULENAME = removed | STATUS = removed }} | |||
|- | |||
| {{Infobox/Modul | MODULENAME = unknown | STATUS = bla }} || | |||
|} | |||
< | <hr/> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"MODULENAME": { | "MODULENAME": { | ||
"label": " | "label": "Modulname", | ||
"description": " | "description": "Modulname - gleichen Namen wie den Seitennamen nutzen", | ||
"type": "line", | "type": "line", | ||
"required": true, | "required": true, | ||
Zeile 68: | Zeile 86: | ||
}, | }, | ||
"IMAGE": { | "IMAGE": { | ||
"label": " | "label": "Bild", | ||
"description": " | "description": "Vorschaubild des Moduls (inApp-Screenshot)", | ||
"type": "unbalanced-wikitext", | "type": "unbalanced-wikitext", | ||
"suggested": true, | "suggested": true, | ||
"example": " | "example": "Datei:Bild.png", | ||
"required": true | |||
}, | }, | ||
"STATUS": { | "STATUS": { | ||
"label": "Status", | "label": "Status", | ||
"description": " | "description": "Modulstatus", | ||
"type": "line", | "type": "line", | ||
"required": true | "required": true, | ||
"suggested": true, | |||
"suggestedvalues": [ | |||
"development", | |||
"stable", | |||
"removed", | |||
"inactive" | |||
] | |||
}, | }, | ||
"ALSOKNOWNAS": { | "ALSOKNOWNAS": { | ||
"label": " | "label": "Aliasse", | ||
"description": " | "description": "Alternative Modulnamen", | ||
"type": "line", | "type": "line", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"CLASSNAME": { | "CLASSNAME": { | ||
"label": " | "label": "Klassenname", | ||
"description": "Module | "description": "Klassenname des Moduls / der Module", | ||
"type": " | "type": "content", | ||
"required": true | "required": true, | ||
"suggested": true | |||
}, | }, | ||
"INTRODUCED": { | "INTRODUCED": { | ||
"label": " | "label": "Einführung", | ||
"description": "Version in | "description": "Version(en), in welcher das Modul eingeführt wurde", | ||
"type": "line", | "type": "line", | ||
"required": true | "required": true, | ||
"suggested": true | |||
}, | }, | ||
"PARENTMODULES": { | "PARENTMODULES": { | ||
"label": " | "label": "Übergeordnete Module", | ||
"description": "Module | "description": "Module, von welchem sich das aktuelle aufrufen lässt", | ||
"type": "unbalanced-wikitext", | "type": "unbalanced-wikitext", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"SUBMODULES": { | "SUBMODULES": { | ||
"label": " | "label": "Untergeordnete Module", | ||
"description": " | "description": "Module, die sich von dem aktuellen aufrufen lassen", | ||
"type": "unbalanced-wikitext", | "type": "unbalanced-wikitext", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"FURTHERINFORMATION": { | "FURTHERINFORMATION": { | ||
"label": " | "label": "Weiteres", | ||
"description": " | "description": "Weitere Informationen (z.B. Wiki-Links)", | ||
"type": "unbalanced-wikitext", | "type": "unbalanced-wikitext", | ||
"suggested": true | "suggested": true | ||
}, | |||
"REMOVED": { | |||
"label": "Entfernung", | |||
"description": "Version(en), in denen das Modul entfernt wurde", | |||
"type": "line" | |||
} | } | ||
}, | }, | ||
"description": " | "description": "Zeigt allgemeine Informationen über ein Modul an", | ||
"format": "block" | "format": "block", | ||
"paramOrder": [ | |||
"MODULENAME", | |||
"IMAGE", | |||
"STATUS", | |||
"ALSOKNOWNAS", | |||
"CLASSNAME", | |||
"INTRODUCED", | |||
"REMOVED", | |||
"PARENTMODULES", | |||
"SUBMODULES", | |||
"FURTHERINFORMATION" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
<nowiki>{{Infobox/ | Beispielcode: | ||
<nowiki>{{Infobox/Modul | |||
|MODULENAME= | |MODULENAME= | ||
|STATUS= | |STATUS= |
Aktuelle Version vom 19. Mai 2024, 00:51 Uhr
Vorschau
|
| ||||||||||||||||||||||||
|
| ||||||||||||||||||||||||
|
Zeigt allgemeine Informationen über ein Modul an
Parameter | Beschreibung | Typ | Status | |
---|---|---|---|---|
Modulname | MODULENAME | Modulname - gleichen Namen wie den Seitennamen nutzen | Zeile | erforderlich |
Bild | IMAGE | Vorschaubild des Moduls (inApp-Screenshot)
| Unausgeglichener Wikitext | erforderlich |
Status | STATUS | Modulstatus
| Zeile | erforderlich |
Aliasse | ALSOKNOWNAS | Alternative Modulnamen | Zeile | vorgeschlagen |
Klassenname | CLASSNAME | Klassenname des Moduls / der Module | Inhalt | erforderlich |
Einführung | INTRODUCED | Version(en), in welcher das Modul eingeführt wurde | Zeile | erforderlich |
Entfernung | REMOVED | Version(en), in denen das Modul entfernt wurde | Zeile | optional |
Übergeordnete Module | PARENTMODULES | Module, von welchem sich das aktuelle aufrufen lässt | Unausgeglichener Wikitext | vorgeschlagen |
Untergeordnete Module | SUBMODULES | Module, die sich von dem aktuellen aufrufen lassen | Unausgeglichener Wikitext | vorgeschlagen |
Weiteres | FURTHERINFORMATION | Weitere Informationen (z.B. Wiki-Links) | Unausgeglichener Wikitext | vorgeschlagen |
Beispielcode:
{{Infobox/Modul |MODULENAME= |STATUS= |CLASSNAME= |ALSOKNOWNAS= |PARENTMODULES= |SUBMODULES= |IMAGE= |INTRODUCED= |FURTHERINFORMATION= }}