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

Template talk:Contact Overview

From Paragon Wiki Archive
Revision as of 01:18, 4 April 2006 by StarGeek (Talk | contribs) (Formatting)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Formatting

This is a new version of the old Template:Contact CoH Overview, much more complicated, but much more flexible. It can be used with either City of Heroes or City of Villians contacts, contacts that are in a neighborhood as well as those that are not. If the contact has a known origin or level range, that can be added in.

It will automatically sort the contact into categories based upon Hero or Villian and Zone. It will also sort the contact into Origin, and Level range categories if those are available.

This template, due to it's complexity, uses named arguments, unlike the old version. The arguments are:

  • Name = Name of the contact.
  • City = Either an H for hero, or a V for Villain. The letter must be capitalized. Any other item will cause unexpected results (most likey a {{Template:Contact CityX}} result, in which X is whatever the mistake was).
  • HoodYN = Either a Y if the contact is located in a specific neighborhood, or an N if the contact is not in a specific neighborhood. The letter must be capitalized. Any other item will cause unexpected results.
  • Hood = Name of the neighborhood the contact is in. This data is only used if HoodYN is Y and is otherwise ignored.
  • Zone = Zone the contact is in. In the previous contact template, this needed to be a link. In this case, it must not be a link.
  • Coord = The contacts coordinates.
  • OriginYN = Either a Y if the origin is known or an N if it is unknown. The letter must be capitalized. Any other item will cause unexpected results.
  • Origin = The contact's origin. This should be one of the following: Magic, Mutation, Natural, Science, Technology. The first letter should be capitalized, but it may work if it is not. This data is only used if OriginYN is Y and is otherwise ignored.
  • Pronoun = The pronoun that describes the contact of his, her or its. It needs to be lower case.
  • LevelYN = Either a Y if the level range this contact deals with is known or an N if it is unknown. The letter must be capitalized. Any other item will cause unexpected results.
  • Level = The level range that this contact works with. It should be in the format of NumberDashNumber (no spaces).

Base Template

Here is a base template that can be cut and pasted. Everything up to Pronoun should be filled out, items after Pronoun can be left as is (but not cut) until such time as that information becomes available.

{{Contact Overview|Name=|City=|Zone=|Coord=|Pronoun=|HoodYN=N|Hood=|OriginYN=N|Origin=|LevelYN=N|Level=}}


{{{Name}}} is a City of {{Contact City{{{City}}} }} contact located in{{Contact Hood{{{HoodYN}}}|Hood={{{Hood}}} }} [[{{{Zone}}}]]. {{{Name}}}'s coordinates are ({{{Coord}}}){{Contact Origin{{{OriginYN}}}|Pronoun={{{Pronoun}}}|Origin={{{Origin}}} }}{{Contact Level{{{LevelYN}}}|Level={{{Level}}} }} [[Category:{{{Zone}}} Contacts]]