Template:Raid Infobox: Difference between revisions

From /i/nsurgency W/i/ki
Jump to navigationJump to search
>CrackRabbit
https://raw.github.com/bibanon/Insurgency-Wiki/master/10-Template/R/a/i/Raid%20Infobox.mediawiki
m Simplify colors
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<div style='position: relative; float: right; width: 200px; margin: 10px;' class='raidboxtemplate'>
<div style='position: relative; float: right; width: 200px; margin: 10px;' class='raidboxtemplate'>
<div style='width: 100%; background-color: #ffffff; color: #000000; text-align: center; padding-top: 10px; padding-bottom: 10px; margin-bottom: 4px;' class='raidinfotitle'>
<div style='width: 100%; background-color: #fff; color: #000; text-align: center; padding-top: 10px; padding-bottom: 10px; margin-bottom: 4px;' class='raidinfotitle'>
{{{raid|}}}
{{{raid|}}}
</div>
</div>
Line 9: Line 9:
<tr>
<tr>
<td style='width: 50px;'>'''Date'''</td>
<td style='width: 50px;'>'''Date'''</td>
<td style='color: #ffffff;' class='darktext'>{{{date|}}}</td>
<td style='color: #fff;' class='darktext'>{{{date|}}}</td>
</tr>
</tr>
<tr style='background-color: #333333;' class='darkrow'>
<tr style='background-color: #333;' class='darkrow'>
<td>'''Target'''</td>
<td>'''Target'''</td>
<td style='color: #ffffff;' class='darktext'>{{{target|}}}</td>
<td style='color: #fff;' class='darktext'>{{{target|}}}</td>
</tr>
</tr>
<tr>
<tr>
<td>'''Casus belli'''</td>
<td>'''Casus belli'''</td>
<td style='color: #ffffff;' class='darktext'>{{{casus|}}}</td>
<td style='color: #fff;' class='darktext'>{{{casus|}}}</td>
</tr>
</tr>
<tr style='background-color: #333333;' class='darkrow'>
<tr style='background-color: #333;' class='darkrow'>
<td>'''Result'''</td>
<td>'''Result'''</td>
<td style='color: #ffffff;' class='darktext'>{{{result|}}}</td>
<td style='color: #fff;' class='darktext'>{{{result|}}}</td>
</tr>
</tr>
</table>
</table>
Line 27: Line 27:
<tr>
<tr>
<td style='width: 50px;'>'''IRC'''</td>
<td style='width: 50px;'>'''IRC'''</td>
<td style='color: #ffffff;' class='darktext'>{{{irclocation|}}}</td>
<td style='color: #fff;' class='darktext'>{{{irclocation|}}}</td>
</tr>
</tr>
<tr style='background-color: #333333;' class='darkrow'>
<tr style='background-color: #333;' class='darkrow'>
<td>'''/i/ 1'''</td>
<td>'''/i/ 1'''</td>
<td style='color: #ffffff;' class='darktext'>{{{firstboard|}}}</td>
<td style='color: #fff;' class='darktext'>{{{firstboard|}}}</td>
</tr>
</tr>
<tr>
<tr>
<td>'''/i/ 2'''</td>
<td>'''/i/ 2'''</td>
<td style='color: #ffffff;' class='darktext'>{{{secondboard|}}}</td>
<td style='color: #fff;' class='darktext'>{{{secondboard|}}}</td>
</tr>
</tr>
</table>
</table>

Latest revision as of 20:00, 21 December 2024


Demo[edit]

Date
Target
Casus belli
Result
IRC
/i/ 1
/i/ 2


Usage[edit]

Syntax

{{Raid Infobox | image = [[File:somefile.jpg|150px|center]] | legend = Image Caption | raid = Raid Name | date = MMM YYYY | target = Target name | casus = Reason for Raid | result = Raid result (for future reference) | notes = Notes (e.g., related pages) | irclocation = IRC channel ([irc://irc.someserver.org/somechannel irc.someserver.org #somechannel]) | firstboard = http://somechan.org/i/123456.html | secondboard = http://someotherchan.org/i/123456.html }}