Vorlage:Konflikt: Unterschied zwischen den Versionen

Aus MN-Wiki
Zur Navigation springenZur Suche springen
K (Noch eine kleine Schönheitskorrektur...)
K (Nochmal was mit der Formatierung...jetzt soll's endlich funktionieren! ^^)
Zeile 23: Zeile 23:
 
<includeonly>{{#if:{{{SEIT|}}}|{{Zeit|{{{SEIT}}}|{{{BIS|}}}}}}} [[Kategorie:Konflikt]]
 
<includeonly>{{#if:{{{SEIT|}}}|{{Zeit|{{{SEIT}}}|{{{BIS|}}}}}}} [[Kategorie:Konflikt]]
 
<div valign="top" style="margin-left:15px; float:right">
 
<div valign="top" style="margin-left:15px; float:right">
{| cellpadding="4px" style="vertical-align:top; background-color: #f5f5f5; margin: 0 0 1em 1em; border: solid 1px #aaaaaa; border-collapse: collapse; width:300px;"
+
{| cellpadding="4px" valign="top" style="background-color: #f5f5f5; margin: 0 0 1em 1em; border: solid 1px #aaaaaa; border-collapse: collapse; width:300px;"
 
|-
 
|-
 
|colspan="2" align="center" style="font-size: 110%;" | '''{{{NAME}}}'''
 
|colspan="2" align="center" style="font-size: 110%;" | '''{{{NAME}}}'''
Zeile 34: Zeile 34:
 
|- {{#if:{{{GEGNER1|}}}| |style="display:none;"}}
 
|- {{#if:{{{GEGNER1|}}}| |style="display:none;"}}
 
|colspan="2" align="center" | '''Gegner'''
 
|colspan="2" align="center" | '''Gegner'''
{| style="width:100%;text-align:left;font-size:90%;vertical-align:top;"
+
{| style="width:100%;text-align:left;font-size:85%;"
 
|-  
 
|-  
 
| witdth=50% | {{{GEGNER1}}} || {{{GEGNER2}}}
 
| witdth=50% | {{{GEGNER1}}} || {{{GEGNER2}}}
Zeile 40: Zeile 40:
 
|- {{#if:{{{BEFEHLSHABER1|}}}| |style="display:none;"}}
 
|- {{#if:{{{BEFEHLSHABER1|}}}| |style="display:none;"}}
 
|colspan="2" align="center" | '''Befehlshaber'''
 
|colspan="2" align="center" | '''Befehlshaber'''
{| style="width:100%;text-align:left;font-size:90%;vertical-align:top;"
+
{| style="width:100%;text-align:left;font-size:85%;"
 
|-  
 
|-  
 
| witdth=50% | {{{BEFEHLSHABER1}}} || {{{BEFEHLSHABER2}}}
 
| witdth=50% | {{{BEFEHLSHABER1}}} || {{{BEFEHLSHABER2}}}
Zeile 46: Zeile 46:
 
|- {{#if:{{{TRUPPEN1|}}}| |style="display:none;"}}
 
|- {{#if:{{{TRUPPEN1|}}}| |style="display:none;"}}
 
|colspan="2" align="center" | '''Truppenstärke'''
 
|colspan="2" align="center" | '''Truppenstärke'''
{| style="width:100%;text-align:left;font-size:90%;vertical-align:top;"
+
{| style="width:100%;text-align:left;font-size:85%;"
 
|-  
 
|-  
 
| witdth=50% | {{#if:{{{TRUPPEN1|}}}|{{formatnum:{{{TRUPPEN1|}}}}} Mann|''unbekannt''}} || {{#if:{{{TRUPPEN2|}}}|{{formatnum:{{{TRUPPEN2|}}}}} Mann|''unbekannt''}}
 
| witdth=50% | {{#if:{{{TRUPPEN1|}}}|{{formatnum:{{{TRUPPEN1|}}}}} Mann|''unbekannt''}} || {{#if:{{{TRUPPEN2|}}}|{{formatnum:{{{TRUPPEN2|}}}}} Mann|''unbekannt''}}
Zeile 52: Zeile 52:
 
|- {{#if:{{{MILVERLUSTE1|}}}| |style="display:none;"}}
 
|- {{#if:{{{MILVERLUSTE1|}}}| |style="display:none;"}}
 
|colspan="2" align="center" | '''Verluste'''
 
|colspan="2" align="center" | '''Verluste'''
{| style="width:100%;text-align:left;font-size:90%;vertical-align:top;"
+
{| style="width:100%;text-align:left;font-size:85%;"
 
|-  
 
|-  
| witdth=50% | '''Militärische Verluste'''<br>{{#if:{{{MILVERLUSTE1|}}}|{{formatnum:{{{MILVERLUSTE1|}}}}} Mann|''unbekannt''}}<br>'''Zivile Verluste'''<br>{{#if:{{{ZIVVERLUSTE1|}}}|{{formatnum:{{{ZIVVERLUSTE1|}}}}} Mann|''unbekannt''}}<br>'''Gesamte Verluste'''<br>{{#if:{{{MILVERLUSTE1|}}}|{{formatnum:{{#expr:{{{MILVERLUSTE1|0}}}+{{{ZIVVERLUSTE1|0}}}}}}} Mann|{{#if:{{{ZIVVERLUSTE1|}}}|{{formatnum:{{{ZIVVERLUSTE1}}}}} Mann|''unbekannt''}}}}  
+
| witdth=50% styl | '''Militärische Verluste'''<br>{{#if:{{{MILVERLUSTE1|}}}|{{formatnum:{{{MILVERLUSTE1|}}}}} Mann|''unbekannt''}}<br>'''Zivile Verluste'''<br>{{#if:{{{ZIVVERLUSTE1|}}}|{{formatnum:{{{ZIVVERLUSTE1|}}}}} Mann|''unbekannt''}}<br>'''Gesamte Verluste'''<br>{{#if:{{{MILVERLUSTE1|}}}|{{formatnum:{{#expr:{{{MILVERLUSTE1|0}}}+{{{ZIVVERLUSTE1|0}}}}}}} Mann|{{#if:{{{ZIVVERLUSTE1|}}}|{{formatnum:{{{ZIVVERLUSTE1}}}}} Mann|''unbekannt''}}}}  
 
| '''Militärische Verluste'''<br>{{#if:{{{MILVERLUSTE2|}}}|{{formatnum:{{{MILVERLUSTE2|}}}}} Mann|''unbekannt''}}<br>'''Zivile Verluste'''<br>{{#if:{{{ZIVVERLUSTE2|}}}|{{formatnum:{{{ZIVVERLUSTE2|}}}}} Mann|''unbekannt''}}<br>'''Gesamte Verluste'''<br>{{#if:{{{MILVERLUSTE2|}}}|{{formatnum:{{#expr:{{{MILVERLUSTE2|0}}}+{{{ZIVVERLUSTE2|0}}}}}}} Mann|{{#if:{{{ZIVVERLUSTE2|}}}|{{formatnum:{{{ZIVVERLUSTE2}}}}} Mann|''unbekannt''}}}}  
 
| '''Militärische Verluste'''<br>{{#if:{{{MILVERLUSTE2|}}}|{{formatnum:{{{MILVERLUSTE2|}}}}} Mann|''unbekannt''}}<br>'''Zivile Verluste'''<br>{{#if:{{{ZIVVERLUSTE2|}}}|{{formatnum:{{{ZIVVERLUSTE2|}}}}} Mann|''unbekannt''}}<br>'''Gesamte Verluste'''<br>{{#if:{{{MILVERLUSTE2|}}}|{{formatnum:{{#expr:{{{MILVERLUSTE2|0}}}+{{{ZIVVERLUSTE2|0}}}}}}} Mann|{{#if:{{{ZIVVERLUSTE2|}}}|{{formatnum:{{{ZIVVERLUSTE2}}}}} Mann|''unbekannt''}}}}  
 
|}
 
|}
 
|}
 
|}
 
</div></includeonly>
 
</div></includeonly>

Version vom 22. November 2010, 18:07 Uhr

Diese Vorlage dient der Vereinheitlichung von Konfliktseitenleisten. Sie folgt folgendem Schema:

{{Konflikt
 |NAME=Konfliktname
 |ORT=Ort des Verbrechens
 |AUSGANG=Tod und Verderben
 |SEIT=12.03.4567
 |BIS=13.03.4567
 |GEGNER1=Gutesland
 |GEGNER2=Gerechtesland
 |BEFEHLSHABER1=Max Mustermann
 |BEFEHLSHABER2=Moritz Mustermann
 |TRUPPEN1=123456789
 |TRUPPEN2=123456789
 |MILVERLUSTE1=12345678
 |ZIVVERLUSTE1=12345678
 |MILVERLUSTE2=12345678
 |ZIVVERLUSTE2=12345678
}}

Die Zahlen bitte im Blankformat eingeben (ohne Hundertertrennzeichen, aber mit . als Dezimaltrennzeichen, falls erforderlich). Nicht bekannte oder benötigte Parameter können weggelassen werden (Ausnahmen: NAME und SEIT).