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:
 
{| 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}}}}}}'''{{#if:{{{image|}}}|<br />{{{image}}}}}
+
| colspan="2" style="text-align: center" | '''{{{1|{{{name}}}}}}'''{{#if:{{{image|}}}|<br />{{{image}}}}}{{#if:{{{pri_dam_type|}}}|
{{#if:{{{pri_dam_type|}}}||-
+
|-
 
| style="font-size: 8pt;" | Primary Damage Type:
 
| style="font-size: 8pt;" | Primary Damage Type:
| style="font-size: 8pt;" | {{{pri_dam_type}}}
+
| style="font-size: 8pt;" | {{{pri_dam_type}}} }}{{#if:{{{pri_dam_amount|}}}|
}}{{#if:{{{pri_dam_amount|}}}||-
+
|-
 
| style="font-size: 8pt;" | Primary Damage Amount:
 
| style="font-size: 8pt;" | Primary Damage Amount:
| style="font-size: 8pt;" | {{{pri_dam_amount}}}
+
| style="font-size: 8pt;" | {{{pri_dam_amount}}} }}{{#if:{{{pri_dam_amount|}}}|
}}{{#if:{{{pri_dam_amount|}}}||-
+
|-
 
| style="font-size: 8pt;" | Alt. Damage Amount:
 
| style="font-size: 8pt;" | Alt. Damage Amount:
| style="font-size: 8pt;" | {{{sec_dam_amount}}}
+
| style="font-size: 8pt;" | {{{sec_dam_amount}}} }}{{#if:{{{sec_dam_type|}}}|
}}{{#if:{{{sec_dam_type|}}}||-
+
|-
 
| style="font-size: 8pt;" | Alt. Damage Type:
 
| style="font-size: 8pt;" | Alt. Damage Type:
| style="font-size: 8pt;" | {{{sec_dam_type}}}
+
| style="font-size: 8pt;" | {{{sec_dam_type}}} }}{{#if:{{{sec_dam_amount|}}}|
}}{{#if:{{{sec_dam_amount|}}}||-
+
|-
 
| style="font-size: 8pt;" | Alt. Damage Amount:
 
| style="font-size: 8pt;" | Alt. Damage Amount:
| style="font-size: 8pt;" | {{{sec_dam_amount}}}
+
| style="font-size: 8pt;" | {{{sec_dam_amount}}} }}
}}|}
+
|}
 
<noinclude>
 
<noinclude>
 
{{{{FULLPAGENAME}}
 
{{{{FULLPAGENAME}}

Revision as of 17:41, 31 July 2007

{{{name}}}-----
{{{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 =
}}