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
(retry on whitespace fix)
 
(22 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly>{{Infobox
{| class="infobox" style="width: 20em; text-align: left; font-size: 90%; border: 1px solid #aaaaaa;"
+
|name        = Infobox Contact
|-
+
|above        = {{{name|}}}
| colspan="2" style="text-align:center; font-size: large;" | '''{{{name}}}'''
+
|abovestyle  = font-size: large;
|-
+
| colspan="2" style="text-align:center;" | [[Image:{{{image|}}}|100px| ]]<br>{{{img_capt|}}}
+
|-
+
! Zone
+
| {{{zone}}}
+
|-
+
! [[Coordinates]]
+
| {{{coords|}}}
+
|-
+
! Level Range
+
| {{{levels|}}}
+
{{#if: {{{introed|}}} | {{!}}-
+
{{!}} '''Introduced by'''
+
{{!}} {{{introed|}}} }}
+
{{#if: {{{intros|}}} | {{!}}-
+
{{!}} '''Introduces'''
+
{{!}} {{{intros|}}} }}
+
{{#if: {{{enemies|}}} | {{!}}-
+
{{!}} '''Enemy groups'''
+
{{!}} {{{enemies|}}} }}
+
{{#if: {{{badges|}}} | {{!}}-
+
{{!}} '''Badges'''
+
{{!}} {{{badges|}}} }}
+
|}</includeonly>
+
  
<noinclude>
+
|image        = {{#if: {{{image|}}} | [[Image:{{{image|}}}|100px|]]}}
== Usage ==
+
|caption      = {{{img_capt|}}}
This infobox may be added by pasting the template as shown below into an article.
+
<div style="width:250px; background:#ddd; border:1px solid black; padding:0.5em 1em 0.5em 1em;">
+
<pre>{{Infobox Contact
+
|name=
+
|image=
+
|img_capt=
+
|zone=
+
|coords=
+
|levels=
+
|introed=
+
|intros=
+
|enemies=
+
|badges=
+
}}</pre>
+
</div>
+
  
===Parameters===
+
|header1  =  
Note: * denotes required fields.
+
|label1  = Zone
 +
|data1    = {{{zone|}}}
 +
|header2  =  
 +
|label2  = [[Coordinates]]
 +
|data2    = {{#if: {{{x|}}} | {{coords|{{{x}}}|{{{y}}}|{{{z}}}}} }}
 +
|header3  =
 +
|label3  = Zone
 +
|data3    = {{{zone2|}}}
 +
|header4  =
 +
|label4  = Coordinates
 +
|data4    = {{#if: {{{x2|}}} | {{coords|{{{x2}}}|{{{y2}}}|{{{z2}}}}} }}
 +
|header5  =
 +
|label5  = Level Range
 +
|data5    = {{{levels|}}}
 +
|header6  =
 +
|label6  = [[Merit Rewards|Merits]]
 +
|data6    = {{{merits|}}}
 +
|header7  =
 +
|label7  = Introduced By
 +
|data7    = {{{introed|}}}
 +
|header8  =
 +
|label8  = Introduces
 +
|data8    = {{{intros|}}}
 +
|header9  =
 +
|label9  = Enemy Groups
 +
|data9    = {{#if: {{{enemies|}}} | {{nowrap|{{{enemies}}}}} }}
 +
|header10  =
 +
|label10  = Badges
 +
|data10    = {{{badges|}}}
  
{| class="wikitable"
+
|below = {{#if:{{{sub|}}} | {{req sub}}<br /> }}{{#if:{{{FW|}}} | {{req FirstWard}}<br /> }}{{#if:{{{GR|}}} | {{req GR}}<br /> }}{{#if:{{{SSA|}}} | {{req SSA}}<br /> }}
! style="text-align: left" | Parameter
+
}}</includeonly>
! style="text-align: left" | Explanation
+
<noinclude>{{Documentation}}<!-- Add any documentation to the /doc page, not this page --></noinclude>
|-
+
| '''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 <nowiki><br /></nowiki>.
+
|-
+
| '''intros'''
+
| Insert the contact(s) that are introduced by this contact, with appropriate wikilinking.  Separate multiples with <nowiki><br /></nowiki>.
+
|-
+
| '''enemies'''
+
| 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]]
+
</noinclude>
+

Latest revision as of 13:21, 23 October 2011

[edit] [purge] Documentation

The 'Infobox Contact' is used to provide quick and concise tabular information about a contact.

Usage

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

{{Infobox Contact
|name=
|image=
|img_capt=
|zone=
|x=
|y=
|z=
|zone2=
|x2=
|y2=
|z2=
|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.
x, y, z Insert the x, y, and z coordinates at which the contact appears. (If unknown, use question marks to emphasize that the information is needed: "?". If not applicable (for example, if the contact has been removed from the game), omit and the line won't appear.
zone2 Insert the second zone the contact appears in. Used only for contacts that appear in multiple zones.
x, y, z Insert the x, y, and z coordinates at which the contact appears in their second zone. (If unknown, use question marks to emphasize that the information is needed: "?". If not applicable (for example, if the contact has been removed from the game), omit and the line won't appear. Used only for contacts that appear in multiple zones.
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.

Examples

Here is a dummy example that shows where each parameter is displayed.

name
Icon clue generic.png
img_capt
Zone zone
Coordinates (x, y, z)
Zone zone2
Coordinates (x2, y2, z2)
Level Range levels
Introduced By introed
Introduces intros
Enemy Groups enemies
Badges badges
v  d  e
{{Infobox Contact
|name=name
|image=Icon clue generic.png
|img_capt=img_capt
|zone=zone
|x=x
|y=y
|z=z
|zone2=zone2
|x2=x2
|y2=y2
|z2=z2
|levels=levels
|introed=introed
|intros=intros
|enemies=enemies
|badges=badges
}}


Here is a more realistic example from the Borea article.

Borea
Borea.jpg
Co-Leader of the Vanguard Shield Division
Zone Rikti War Zone
Coordinates (328, -1188, -2397.5)
Level Range 35-50
Introduced By == Level 35-50 ==
Levantera
Introduces None
Enemy Groups

V badge ArachnosBadge.png Arachnos
Badge villain crey.png Crey
Badge villain malta.png Malta Operatives
Badge villain nemesis.png Nemesis

Badge villain new rikti.png Rikti
v  d  e
{{Infobox Contact
|name=Borea
|image=Borea.jpg
|img_capt=Co-Leader of the Vanguard Shield Division
|zone=[[Rikti War Zone]]
|x=328|y=-1188|z=-2397.5
|levels=35-50
|introed='''== Level 35-50 =='''<br />[[Levantera]]
|intros=None
|enemies={{Enemy Arachnos}}
{{Enemy Crey}}
{{Enemy Malta Operatives}}
{{Enemy Nemesis}}
{{Enemy Rikti}}
}}


See Also