NewsUnrealEdForumsFilesModsFragBU

Skin

BeyondUnreal


Personal tools

Difference between revisions of "Template:Infobox Pickup"

From Liandri Archives

Jump to: navigation, search
(created infobox template, corrections and additions welcome ;-))
 
(made duration and respawn time conditional rows)
 
Line 5: Line 5:
 
| style="font-size: 8pt;" | Effect:
 
| style="font-size: 8pt;" | Effect:
 
| style="font-size: 8pt;" | {{{effect|Unknown}}}
 
| style="font-size: 8pt;" | {{{effect|Unknown}}}
  |-
+
  |{{#if:{{{duration|}}}|-
| style="font-size: 8pt;" | Duration:
+
{{!}} style="font-size: 8pt;" {{!}} Duration:
| style="font-size: 8pt;" | {{{duration|Unlimited}}}
+
{{!}} style="font-size: 8pt;" {{!}} {{{duration}}}
  |-
+
  {{!}}}}{{#if:{{{respawntime|}}}|-
| style="font-size: 8pt;" | Time to respawn:
+
{{!}} style="font-size: 8pt;" {{!}} Time to respawn:
| style="font-size: 8pt;" | {{{respawntime|Unknown}}}
+
{{!}} style="font-size: 8pt;" {{!}} {{{respawntime}}}
|}
+
{{!}}}}}
  
 
<noinclude>
 
<noinclude>
 
{{clear}}
 
{{clear}}
 
==Usage==
 
==Usage==
Name is the only absolutely required field. All others default to "Unknown" if not defined, except for duration, which becomes "Unlimited".
+
Name is the only absolutely required field. Effect should also be filled, otherwise it becomes "Unknown". All other fields will not be displayed if they are not defined.
  
 
<pre>
 
<pre>

Latest revision as of 16:21, 31 December 2007

{{{name}}}
Effect: Unknown


Usage

Name is the only absolutely required field. Effect should also be filled, otherwise it becomes "Unknown". All other fields will not be displayed if they are not defined.

{{Infobox Pickup
| name        = 
| image       = 
| effect      = 
| duration    = 
| respawntime = 
}}