Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Template:Infobox Contact"

From Paragon Wiki Archive
Jump to: navigation, search
(Creation)
 
(rework)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<table class="infobox"
+
{| class="infobox bordered" style="width: 25em; text-align: left; font-size: 90%;"
 
+
|-
style="width: 20em; font-size: 90%; text-align: left; padding: 0.5em;
+
| colspan="2" style="text-align:center; font-size: large;" | '''{{{name}}}'''
      margin-bottom: 0.5em; margin-left: 1em; background-color: white;
+
|-
      border: 1px solid #aaaaaa;  float: right; clear: right;"
+
| colspan="2" style="text-align:center;" | [[Image:{{{image|}}}|200px| ]]<br>{{{img_capt|}}}
 
+
|-  
summary = "Contact: {{{name}}}"
+
! Zone
>
+
| {{{zone}}}
 
+
|-
<tr>
+
! [[Coordinates]]
  <th colspan = "2" style = "text-align: center;">{{{name}}}</th>
+
| {{{coords|}}}
</tr>
+
|-  
{{#if:{{{image|}}}
+
! Level Range
  |<tr><td colspan="2" style="text-align: center; padding: 0.2em;" >
+
| {{{levels|}}}
            [[Image:{{{image}}}|200px]]</td></tr>
+
|-
  <tr><td colspan="2" style="text-align: center; padding: 0.2em;" >
+
! Introduced by
{{#if:{{{img_capt|}}}|''{{{img_capt}}}''}}</td></tr>}}<!--
+
| {{{introed|}}}
-->
+
|-
<tr>
+
! Introduces
  <th colspan = "2" style="background-color: #d0d0d0; text-align: center;
+
| {{{intros|}}}
      margin: 0.5em;">Information</th>
+
|-
</tr>
+
! Enemy groups
 
+
| {{{enemies|}}}
<span style = "padding-right: 1.2em; vertical-align: top;">
+
|}</includeonly>
<tr>
+
  <th style="white-space: nowrap;">Zone</th>
+
  <td>{{{zone}}}</td>
+
</tr>
+
{{#if:{{{coords|}}}
+
  |<tr><th>[[Coordinates]]</th><td>{{{coords}}}</td></tr>
+
}}<!--
+
-->{{#if:{{{levels|}}}
+
  |<tr><th>Level Range</th><td>{{{levels}}}</td></tr>
+
}}<!--
+
-->{{#if:{{{introed|}}}
+
  |<tr><th>Introduced by</th><td>{{{introed}}}</td></tr>
+
}}
+
{{#if:{{{intros|}}}
+
  |<tr><th>Introduces</th><td>{{{intros}}}</td></tr>
+
}}<!--
+
-->{{#if:{{{enemies|}}}
+
  |<tr><th>Villian Groups</th><td>{{{enemies}}}</td></tr>
+
}}<!--
+
-->
+
</span>
+
</table></includeonly>
+
  
 
<noinclude>
 
<noinclude>

Revision as of 03:19, 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=
}}

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 />.