Benutzer:Stefanb/Testseite: Unterschied zwischen den Versionen

Aus X-Lexikon
Zur Navigation springenZur Suche springen
K (k)
(test)
Zeile 45: Zeile 45:


<tr style="color: #ccc; text-align: center;">
<tr style="color: #ccc; text-align: center;">
<td style="border-bottom: 1px solid #a60;">'''X-BtF'''</td>
<td style="border-bottom: 1px solid #a60;">'''X:&nbsp;BtF'''</td>
<td style="border-bottom: 1px solid #a60;" colspan="2">'''X-T'''</td>
<td style="border-bottom: 1px solid #a60;" colspan="2">'''X-T'''</td>
<td style="border-bottom: 1px solid #a60;" colspan="2">'''X2'''</td>
<td style="border-bottom: 1px solid #a60;" colspan="2">''''''</td>
<td style="border-bottom: 1px solid #a60;">'''X3'''</td>
<td style="border-bottom: 1px solid #a60;">''''''</td>
</tr>
</tr>
<tr style="color: #ccc; text-align: center;">
<tr style="color: #ccc; text-align: center;">
Zeile 58: Zeile 58:
</table>|<table border="0" cellspacing="0" cellpadding="2" rules="none" width="200" style="background-color: inherit">
</table>|<table border="0" cellspacing="0" cellpadding="2" rules="none" width="200" style="background-color: inherit">
<tr height="0">
<tr height="0">
<td width="25%"></td>
<td width="20%"></td>
<td width="20%"></td>
<td width="18%"></td>
<td width="2%"></td>
<td width="2%"></td>
<td width="2%"></td>
<td width="2%"></td>
<td width="26%"></td>
<td width="18%"></td>
<td width="25%"></td>
<td width="20%"></td>
<td width="20%"></td>
</tr>
</tr>
<tr><td colspan="7" style="color: #aaa; text-align: center;">'''Schiffsinfo'''</td></tr>
<tr><td colspan="7" style="color: #aaa; text-align: center;">'''Schiffsinfo'''</td></tr>
Zeile 81: Zeile 82:


<tr style="color: #ccc; text-align: center;">
<tr style="color: #ccc; text-align: center;">
<td style="border-bottom: 1px solid #a60;">'''X-BtF'''</td>
<td style="border-bottom: 1px solid #a60;">'''X:&nbsp;BtF'''</td>
<td style="border-bottom: 1px solid #a60;" colspan="2">'''X-T'''</td>
<td style="border-bottom: 1px solid #a60;" colspan="2">'''X-T'''</td>
<td style="border-bottom: 1px solid #a60;" colspan="2">'''X2'''</td>
<td style="border-bottom: 1px solid #a60;" colspan="2">''''''</td>
<td style="border-bottom: 1px solid #a60;">'''X3'''</td>
<td style="border-bottom: 1px solid #a60;">''''''</td>
<td style="border-bottom: 1px solid #a60;">'''X3TC'''</td>
<td style="border-bottom: 1px solid #a60;">'''X³:&nbsp;TC'''</td>
</tr>
</tr>
<tr style="color: #ccc; text-align: center;">
<tr style="color: #ccc; text-align: center;">
Zeile 92: Zeile 93:
<td colspan="2">'''{{{9}}}'''</td>
<td colspan="2">'''{{{9}}}'''</td>
<td> '''{{{10}}}''' </td>
<td> '''{{{10}}}''' </td>
<td> {{{11}}} </td>
<td> '''{{{11}}}''' </td>
</tr>
</tr>
</table>}}
</table>}}
</div></includeonly>
</div></includeonly>

Version vom 11. September 2011, 22:45 Uhr

Diese Vorlage erstellt die Infobox für Schiffe.


Verwendung   X³TC:
{{Infobox Schiff|Name|Bild|Volk|Klasse|Vorgänger|Nachfolger|X-BtF|X-T|X2|X3|X3TC}}
Dabei wird bei den Spielen "&nbsp;" eingetragen, wenn die Schiffe nicht vorkommen, andernfalls "&bull;".


Verwendung   alt:
{{Infobox Schiff|Klasse|Bild|Rasse|Name|X-BtF|X-T|X2|X3|Vorgänger|Nachfolger|XTM}}
"XTM" ist optional; ist das Schiff mit XTM hinzugefügt worden, so wird hier ein Y eingetragen. Andernfalls bitte frei lassen.


Beispiel

{{Benutzer:Stefanb/Testseite|Nova|Nova X3.jpg|Argon|M3|[[Elite]]|keiner|&nbsp;|&nbsp;|&bull;|&bull;|&bull;}}
erzeugt:

{{#ifeq: •| Y|
Schiffsinfo
{{#ifexist: :Bild:Nova X3.jpg|Nova X3.jpg|kein Bild vorhanden}}
Name: M3
Volk: Argon
Klasse: Nova
Vorgänger: 
Nachfolger: 
X: BtF X-T
Elite keiner   {{#if:•|XTM| }}
|
Schiffsinfo
{{#ifexist: :Bild:Nova X3.jpg|Nova X3.jpg|kein Bild vorhanden}}
Name: Nova
Volk: Argon
Klasse: M3
Vorgänger: Elite
Nachfolger: keiner
X: BtF X-T X³: TC
   
}}