Template:Infobox Contact: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Sekoia (historical)
(tweaking to hopefully hide a row)
imported>EazieCheeze (historical)
(Clearing out shading, attempting #if language as demonstrated.)
Line 4: Line 4:
| colspan="2" style="text-align:center; font-size: large;" | '''{{{name}}}'''
| colspan="2" style="text-align:center; font-size: large;" | '''{{{name}}}'''
|-
|-
| colspan="2" style="text-align:center;" | [[Image:{{{image|}}}|200px| ]]<br>{{{img_capt|}}}
| colspan="2" style="text-align:center;" | [[Image:{{{image|}}}|100px| ]]<br>{{{img_capt|}}}
|-  
|-  
! Zone
! Zone
| {{{zone}}}
| {{{zone}}}
|-  
|-  
! style="background-color: #d0d0d0" | [[Coordinates]]
! [[Coordinates]]
| style="background-color: #d0d0d0" | {{{coords|}}}
| {{{coords|}}}
|-  
|-  
! Level Range
! Level Range
| {{{levels|}}}
| {{{levels|}}}
{{#if: {{{introed|}}} | {{!}}-  
{{#if: {{{introed|}}} | {{!}}-  
! style="background-color: #d0d0d0" {{!}} Introduced by
{{!}} Introduced by
{{!}} style="background-color: #d0d0d0" {{!}} {{{introed}}} }}
{{!}} {{{introed}}} }}
|-  
{{#if: {{{intros|}}} | {{!}}-  
! Introduces
{{!}} Introduces
| {{{intros|}}}
{{!}} {{{intros}}} }}
|-  
{{#if: {{{enemies|}}} | {{!}}-  
! style="background-color: #d0d0d0" | Enemy groups
{{!}} Enemy groups
| style="background-color: #d0d0d0" | {{{enemies|}}}
{{!}} {{{enemies}}} }}
{{#if: {{{badges|}}} | {{!}}-  
{{!}} Badges
{{!}} {{{badges}}} }}
|}</includeonly>
|}</includeonly>


Line 39: Line 42:
|intros=
|intros=
|enemies=
|enemies=
|badges=
}}</pre>
}}</pre>
</div>
</div>
Line 75: Line 79:
| '''enemies'''
| '''enemies'''
| Insert the Villian/Hero groups featured in missions assigned by this contact, with appropriate wikilinking.  Separate multiples with <nowiki><br /></nowiki>.
| Insert the Villian/Hero groups featured in missions assigned by this contact, with appropriate wikilinking.  Separate multiples with <nowiki><br /></nowiki>.
|-
| '''badges'''
| Insert the badges available in missions assigned by this contact, with appropriate wikilinking.  Separate multiples with <nowiki><br /></nowiki>.  I hope to create a template to ease this process.
|}
|}
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 21:37, 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.