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:Mission Briefing"

From Paragon Wiki Archive
Jump to: navigation, search
(using {{linkifexists}})
(adding parameter to overide default image name, and provide a size for it, in the case that it is not the correct size)
Line 1: Line 1:
<div style="float: left; width: 60px; text-align: center;">{{#ifexist:Image:Contact Small {{{Contact}}}.jpg|[[Image:Contact Small {{{Contact}}}.jpg|48px]]|[[Image:Badge question mark.png]]}}<br /><small>{{linkifexists|{{{Contact}}}}}</small></div>
+
<div style="float: left; width: 60px; text-align: center;">{{#if:{{{Image|}}}|[[[Image:{{{Image}}}|{{{Size|48px}}}]]|{{#ifexist:Image:Contact Small {{{Contact}}}.jpg|[[Image:Contact Small {{{Contact}}}.jpg|48px]]|[[Image:Badge question mark.png]]}}}}<br /><small>{{linkifexists|{{{Contact}}}}}</small></div>
 
<div style="margin-left: 70px;">
 
<div style="margin-left: 70px;">
 
{{#if:{{{Text|}}}|'''{{{Type|Briefing}}}'''
 
{{#if:{{{Text|}}}|'''{{{Type|Briefing}}}'''
Line 32: Line 32:
 
* '''Solicit''' is the information a contact gives you if you solicit them after mission acceptance and before completion.
 
* '''Solicit''' is the information a contact gives you if you solicit them after mission acceptance and before completion.
 
* '''Debrief''' is the information a contact gives you after mission completion.
 
* '''Debrief''' is the information a contact gives you after mission completion.
 
+
* '''Image''' is an option that allows an editor to specify an image name that may not match the name of the contact.
 +
* '''Size''' alters the size of the image used with '''Image''' (above).  This parameter has no effect if '''Image''' is not used.
 
Example:
 
Example:
 
  <nowiki>{{Mission Briefing|Type=Briefing|Contact=Scirocco|Text=Greetings.  There is much work to be done.}}</nowiki>
 
  <nowiki>{{Mission Briefing|Type=Briefing|Contact=Scirocco|Text=Greetings.  There is much work to be done.}}</nowiki>

Revision as of 11:30, 30 July 2012

Badge question mark.png
{{{Contact}}}


Documentation

Format Option 1: {{Mission Briefing|Type=|Contact=|Text=}}

Format Option 2: {{Mission Briefing|Contact=|Brief=|Accept=|TeamReq=|Solicit=}}

Format Option 3: {{Mission Briefing|Contact=|Debrief=}}

  • Type is the the type of information communicated (Briefing/Debriefing/Threat of DOOOMM!!!1!). This option can be left out, and will default to "Briefing" if the Text parameter is in use.
  • Contact is the contact that gives the info
  • Text is the information the contact delivers. This was originally the only text parameter in the template, but can now be replaced with a combination of the following options.
  • Brief is the information a contact gives you prior to accepting the mission.
  • Accept is the information a contact gives you immediately following mission acceptance.
  • TeamReq is the information a contact gives you concerning any team restrictions (i.e. when a TF/SF contact tells you that all members of your team must be in the zone before you may begin or one or more team members are not a high enough level.)
  • Solicit is the information a contact gives you if you solicit them after mission acceptance and before completion.
  • Debrief is the information a contact gives you after mission completion.
  • Image is an option that allows an editor to specify an image name that may not match the name of the contact.
  • Size alters the size of the image used with Image (above). This parameter has no effect if Image is not used.

Example:

{{Mission Briefing|Type=Briefing|Contact=Scirocco|Text=Greetings.  There is much work to be done.}}

Briefing

Greetings. There is much work to be done.