Template:Infobox Contact: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>EazieCheeze
(Clearing out shading, attempting #if language as demonstrated.)
imported>EazieCheeze
m (fixing bolding)
Line 15: Line 15:
| {{{levels|}}}
| {{{levels|}}}
{{#if: {{{introed|}}} | {{!}}-  
{{#if: {{{introed|}}} | {{!}}-  
{{!}} Introduced by
{{!}} ''Introduced by''
{{!}} {{{introed}}} }}
{{!}} {{{introed}}} }}
{{#if: {{{intros|}}} | {{!}}-  
{{#if: {{{intros|}}} | {{!}}-  
{{!}} Introduces
{{!}} ''Introduces''
{{!}} {{{intros}}} }}
{{!}} {{{intros}}} }}
{{#if: {{{enemies|}}} | {{!}}-  
{{#if: {{{enemies|}}} | {{!}}-  
{{!}} Enemy groups
{{!}} ''Enemy groups''
{{!}} {{{enemies}}} }}
{{!}} {{{enemies}}} }}
{{#if: {{{badges|}}} | {{!}}-  
{{#if: {{{badges|}}} | {{!}}-  
{{!}} Badges
{{!}} ''Badges''
{{!}} {{{badges}}} }}
{{!}} {{{badges}}} }}
|}</includeonly>
|}</includeonly>

Revision as of 21:40, 15 May 2007


Usage

This infobox may be added by pasting the template as shown below into an article.

{{Infobox Contact
|name=
|image=
|img_capt=
|zone=
|coords=
|levels=
|introed=
|intros=
|enemies=
|badges=
}}

Parameters

Note: * denotes required fields.

Parameter Explanation
name * Insert name of contact, preferably as appears in the target reticle.
image Insert *.png image. The image will be scaled to a width of 200px.
img_capt Insert image caption as appropriate.
zone Insert the zone the contact appears in.
coords Insert the coordinates at which the contact appears.
levels Insert the level range the contact assigns missions for.
introed Insert the contact(s) who introduce(s) this contact, with appropriate wikilinking. Separate multiples with <br />.
intros Insert the contact(s) that are introduced by this contact, with appropriate wikilinking. Separate multiples with <br />.
enemies Insert the Villian/Hero groups featured in missions assigned by this contact, with appropriate wikilinking. Separate multiples with <br />.
badges Insert the badges available in missions assigned by this contact, with appropriate wikilinking. Separate multiples with <br />. I hope to create a template to ease this process.