Vorlage:Infobox/Modul/en: Unterschied zwischen den Versionen

Aus OMSI-Tools
(Übernehme Bearbeitung einer neuen Version der Quellseite)
(Übernehme Bearbeitung einer neuen Version der Quellseite)
Zeile 3: Zeile 3:
</noinclude>
</noinclude>
<templatestyles src="Vorlage:Infobox/styles.css"/>
<templatestyles src="Vorlage:Infobox/styles.css"/>
 
{{#switch: {{{STATUS}}}
<table class="infobox infobox-side">
| development = <table class="infobox infobox-side infobox-side-border-blue"> <tr class="infobox-head-blue">
<tr class="infobox-head">
| stable = <table class="infobox infobox-side infobox-side-border-green"> <tr class="infobox-head-green">
| removed = <table class="infobox infobox-side infobox-side-border-black"> <tr class="infobox-head-black">
| inactive = <table class="infobox infobox-side infobox-side-border-grey"> <tr class="infobox-head-grey">
| <table class="infobox infobox-side infobox-side-border-grey"> <tr class="infobox-head">}}
<td>[[Datei:IconModule.svg|30px|link=]]</td>
<td>[[Datei:IconModule.svg|30px|link=]]</td>
<th>{{{MODULENAME}}}</th>
<th>{{#if:{{{MODULENAME|}}}|{{{MODULENAME}}}|~~EMPTY~~}}</th>
</tr>
</tr>
<tr>
<tr>
{{#if:{{{IMAGE|}}}|<td class="infobox-image" colspan="2">[[{{{IMAGE}}}|250px]]</td>}}
<td class="infobox-image" colspan="2">
{{#if:{{{IMAGE|}}}|[[{{{IMAGE}}}|250px]]|[[Datei:Placeholder.jpg|250px]]}}
</td>
</tr>
</tr>
<tr>
<tr>
Zeile 22: Zeile 27:
                                 | removed = Removed
                                 | removed = Removed
                                 | inactive = Inactive
                                 | inactive = Inactive
                                 | ???}}
                                 | <span lang="de" dir="ltr" class="mw-content-ltr">Unknown</span>}}
                             </td>
                             </td>
</tr>
</tr>
Zeile 31: Zeile 36:
<tr>
<tr>
<th>Class name</th>
<th>Class name</th>
<td class="monospace">{{{CLASSNAME}}}</td>
<td class="monospace">{{#if:{{{CLASSNAME|}}}|{{{CLASSNAME}}}|~~EMPTY~~}}</td>
</tr>
</tr>
                         <tr>
                         <tr>
<th>Introduced</th>
<th>Introduced</th>
<td class="monospace">{{{INTRODUCED}}}</td>
<td class="monospace">{{#if:{{{INTRODUCED|}}}|{{{INTRODUCED}}}|~~EMPTY~~}}</td>
</tr>
</tr>
                         {{#if:{{{PARENTMODULES|}}}|<tr>
                         {{#if:{{{PARENTMODULES|}}}|<tr>

Version vom 5. August 2023, 22:56 Uhr

Sprachen:

~~EMPTY~~

Status
Class name ~~EMPTY~~
Introduced ~~EMPTY~~

Gives general information about a module

[Vorlagendaten bearbeiten]

Vorlagenparameter

Diese Vorlage bevorzugt Blockformatierung von Parametern.

ParameterBeschreibungTypStatus
Module nameMODULENAME

Module name - use the same name as the page name

Zeileerforderlich
ImageIMAGE

Preview image

Beispiel
File:Image
Unausgeglichener Wikitextvorgeschlagen
StatusSTATUS

Current status - possible values: <code>development</code> | <code>stable</code> | <code>removed</code> | <code>inactive</code>

Zeileerforderlich
Also known asALSOKNOWNAS

Alternate module name(s)

Zeilevorgeschlagen
Class nameCLASSNAME

Module class name

Zeileerforderlich
IntroducedINTRODUCED

Version in which the module will be / is / was introduced

Zeileerforderlich
Parent modulesPARENTMODULES

Module from which the module is available

Unausgeglichener Wikitextvorgeschlagen
Sub modulesSUBMODULES

Sub modules - please give one page link for a module per line (e.g. Special:MyLanguage/Create_a_font)

Unausgeglichener Wikitextvorgeschlagen
Further informationFURTHERINFORMATION

Further information about the topic (e.g. links to other wikis).

Unausgeglichener Wikitextvorgeschlagen

Template source code:

{{Infobox/Modul
 |MODULENAME=
 |STATUS=
 |CLASSNAME=
 |ALSOKNOWNAS=
 |PARENTMODULES=
 |SUBMODULES=
 |IMAGE=
 |INTRODUCED=
 |FURTHERINFORMATION=
}}