NewsUnrealEdForumsFilesModsFragBU

Skin

BeyondUnreal


Personal tools

Difference between revisions of "Template:Infobox Weapon"

From Liandri Archives

Jump to: navigation, search
m
m
Line 1: Line 1:
<includeonly>
 
 
{| cellspacing="0" cellpadding="4" class="infobox" style="float: right; clear: right; width: 256px;"
 
{| cellspacing="0" cellpadding="4" class="infobox" style="float: right; clear: right; width: 256px;"
 
|-
 
|-
 
| colspan="2" style="text-align: center" | '''{{{1|{{{name}}}}}}'''<br />{{{image}}}
 
| colspan="2" style="text-align: center" | '''{{{1|{{{name}}}}}}'''<br />{{{image}}}
{{#if:{{{pri_dam_type}}}||- style="font-size: 8pt;"
+
{{#if:{{{pri_dam_type|}}}|<tr><th>Primary Damage Type:</th><td>{{{pri_dam_type}}}</td></tr>}}<!--
|| Primary Damage Type: || {{{pri_dam_type}}}
+
-->{{#if:{{{pri_dam_amount|}}}|<tr><th>Primary Damage Amount:</th><td>{{{pri_dam_amount}}}</td></tr>}}<!--
}}{{#if:{{{pri_dam_amount}}}||- style="font-size: 8pt;"
+
-->{{#if:{{{sec_dam_type|}}}|<tr><th>Alt. Damage Type:</th><td>{{{sec_dam_type}}}</td></tr>}}<!--
|| Primary Damage Amount: || {{{pri_dam_amount}}}
+
-->{{#if:{{{sec_dam_amount|}}}|<tr><th>Alt. Damage Amount:</th><td>{{{sec_dam_amount}}}</td></tr>}}
}}{{#if:{{{sec_dam_type}}}||- style="font-size: 8pt;"
+
|}
|| Alt. Damage Type: || {{{sec_dam_type}}}
 
}}{{#if:{{{sec_dam_amount}}}||- style="font-size: 8pt;"
 
|| Alt. Damage Amount: || {{{sec_dam_amount}}}
 
}}|}
 
</includeonly>
 
 
<noinclude>
 
<noinclude>
 
{{{{FULLPAGENAME}}
 
{{{{FULLPAGENAME}}

Revision as of 17:59, 31 July 2007

{{{name}}}
{{{image}}}
{{{1}}}
[[{{{2}}}|200px|{{{3}}}]]

{{{4}}}

Usage

Name is the only required field. Primary damage type and Alternate damage type should only be specified if they differ from the general weapon definition.

{{Infobox Weapon
| name           =
| image          =
| pri_dam_type   =
| pri_dam_amount =
| sec_dam_type   =
| sec_dam_amount =
}}