Vorlage:Konflikt: Unterschied zwischen den Versionen
Aus MN-Wiki
Zur Navigation springenZur Suche springenVeuxin (Diskussion | Beiträge) K (Nochmal was mit der Formatierung...jetzt soll's endlich funktionieren! ^^) |
Veuxin (Diskussion | Beiträge) K (I'm uhm like so totally annoyed if it doesn't like work now) |
||
Zeile 22: | Zeile 22: | ||
</noinclude> | </noinclude> | ||
<includeonly>{{#if:{{{SEIT|}}}|{{Zeit|{{{SEIT}}}|{{{BIS|}}}}}}} [[Kategorie:Konflikt]] | <includeonly>{{#if:{{{SEIT|}}}|{{Zeit|{{{SEIT}}}|{{{BIS|}}}}}}} [[Kategorie:Konflikt]] | ||
− | <div | + | <div style="margin-left:15px; float:right"> |
{| cellpadding="4px" valign="top" style="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}}}''' | ||
|- | |- | ||
− | | '''Datum'''|| {{#time:j. F Y|{{{SEIT}}}}} {{#ifeq:{{{SEIT}}}|{{{BIS|}}}||{{#time: – j. F Y|{{{BIS|}}}}}}} | + | | valign="top" | '''Datum'''|| {{#time:j. F Y|{{{SEIT}}}}} {{#ifeq:{{{SEIT}}}|{{{BIS|}}}||{{#time: – j. F Y|{{{BIS|}}}}}}} |
|- {{#if:{{{ORT|}}}| |style="display:none;"}} | |- {{#if:{{{ORT|}}}| |style="display:none;"}} | ||
− | | '''Ort''' || {{{ORT|}}} | + | | valign="top" | '''Ort''' || {{{ORT|}}} |
|- {{#if:{{{AUSGANG|}}}| |style="display:none;"}} | |- {{#if:{{{AUSGANG|}}}| |style="display:none;"}} | ||
− | | '''Ausgang'''|| {{{AUSGANG|}}} | + | | valign="top" | '''Ausgang'''|| {{{AUSGANG|}}} |
|- {{#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:85%;" | {| style="width:100%;text-align:left;font-size:85%;" | ||
|- | |- | ||
− | | | + | | valign="top" width=50% | {{{GEGNER1}}} |
+ | | valign="top" width=50% | {{{GEGNER2}}} | ||
|} | |} | ||
|- {{#if:{{{BEFEHLSHABER1|}}}| |style="display:none;"}} | |- {{#if:{{{BEFEHLSHABER1|}}}| |style="display:none;"}} | ||
Zeile 42: | Zeile 43: | ||
{| style="width:100%;text-align:left;font-size:85%;" | {| style="width:100%;text-align:left;font-size:85%;" | ||
|- | |- | ||
− | | | + | | valign="top" width=50% | {{{BEFEHLSHABER1}}} |
+ | | valign="top" width=50% | {{{BEFEHLSHABER2}}} | ||
|} | |} | ||
|- {{#if:{{{TRUPPEN1|}}}| |style="display:none;"}} | |- {{#if:{{{TRUPPEN1|}}}| |style="display:none;"}} | ||
Zeile 48: | Zeile 50: | ||
{| style="width:100%;text-align:left;font-size:85%;" | {| style="width:100%;text-align:left;font-size:85%;" | ||
|- | |- | ||
− | | | + | | valign="top" width=50% | {{#if:{{{TRUPPEN1|}}}|{{formatnum:{{{TRUPPEN1|}}}}} Mann|''unbekannt''}} |
+ | | valign="top" width=50% | {{#if:{{{TRUPPEN2|}}}|{{formatnum:{{{TRUPPEN2|}}}}} Mann|''unbekannt''}} | ||
|} | |} | ||
|- {{#if:{{{MILVERLUSTE1|}}}| |style="display:none;"}} | |- {{#if:{{{MILVERLUSTE1|}}}| |style="display:none;"}} | ||
Zeile 54: | Zeile 57: | ||
{| style="width:100%;text-align:left;font-size:85%;" | {| style="width:100%;text-align:left;font-size:85%;" | ||
|- | |- | ||
− | | | + | | valign="top" width=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''}}}} |
− | | '''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''}}}} | + | | valign="top" width=50% | '''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:11 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).