Bamp (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Bamp (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
Zeile 2: | Zeile 2: | ||
<languages/> | <languages/> | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
<templatestyles src="Vorlage:Infobox/styles.css"/> | <templatestyles src="Vorlage:Infobox/styles.css"/> | ||
{{#switch: {{{STATUS}}} | |||
| 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}}}|~~EMPTY~~}}</th> | |||
</tr> | |||
<tr> | |||
<td class="infobox-image" colspan="2"> | |||
{{#if:{{{IMAGE|}}}|[[{{{IMAGE}}}|250px]]|[[Datei:Placeholder.jpg|250px]]}} | |||
</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2"> | |||
<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}}}|~~EMPTY~~}}</td> | |||
</tr> | |||
<tr> | |||
<th><translate><!--T:47--> Eingeführt</translate></th> | |||
<td class="monospace">{{#if:{{{INTRODUCED|}}}|{{{INTRODUCED}}}|~~EMPTY~~}}</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--> Weitere Informationen</translate></th> | |||
<td>{{{FURTHERINFORMATION}}}</td>}} | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
</table> | |||
</includeonly> | |||
= 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/> | |||
</ | |||
<noinclude> | <noinclude> | ||
Zeile 129: | Zeile 140: | ||
} | } | ||
</templatedata> | </templatedata> | ||
Template source code: | Template source code: | ||
<nowiki>{{Infobox/Modul | <nowiki>{{Infobox/Modul |
Version vom 5. August 2023, 23:20 Uhr
Vorschau
|
| ||||||||||||||||||||||||
|
| ||||||||||||||||||||||||
|
Gives general information about a module
Parameter | Beschreibung | Typ | Status | |
---|---|---|---|---|
Module name | MODULENAME | Module name - use the same name as the page name | Zeile | erforderlich |
Image | IMAGE | Preview image
| Unausgeglichener Wikitext | vorgeschlagen |
Status | STATUS | Current status - possible values: <code>development</code> | <code>stable</code> | <code>removed</code> | <code>inactive</code> | Zeile | erforderlich |
Also known as | ALSOKNOWNAS | Alternate module name(s) | Zeile | vorgeschlagen |
Class name | CLASSNAME | Module class name | Zeile | erforderlich |
Introduced | INTRODUCED | Version in which the module will be / is / was introduced | Zeile | erforderlich |
Parent modules | PARENTMODULES | Module from which the module is available | Unausgeglichener Wikitext | vorgeschlagen |
Sub modules | SUBMODULES | Sub modules - please give one page link for a module per line (e.g. Special:MyLanguage/Create_a_font) | Unausgeglichener Wikitext | vorgeschlagen |
Further information | FURTHERINFORMATION | Further information about the topic (e.g. links to other wikis). | Unausgeglichener Wikitext | vorgeschlagen |
Template source code:
{{Infobox/Modul |MODULENAME= |STATUS= |CLASSNAME= |ALSOKNOWNAS= |PARENTMODULES= |SUBMODULES= |IMAGE= |INTRODUCED= |FURTHERINFORMATION= }}