Template:Infobox Tip/doc: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Sekoia
No edit summary
imported>Sekoia
No edit summary
Line 2: Line 2:
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
==Usage==
==Usage==
Copy and paste to use:
<pre>{{Infobox Tip
|type=
|place=
|available=
|levelfrom=
|levelto=
|choice=
}}</pre>
Explanation of parameters:
; type=
: The type of tip mission. This must be one of the following:
:* '''alignment''', for an alignment mission
:* '''morality''', for a morality mission
:* '''event''', for an event mission
; place=
: The place where the tip drops. Possible options:
:* '''Paragon City''', required for alignment and morality missions in Paragon City
:* '''Rogue Isles''', required for alignment and morality missions in the Rogue Isles
:* '''Anywhere''', recommended for tips that can drop anywhere (such as event tips)
; available=
: Specifies who the tip is available to. That is, who the tip will drop for. This must be one of the following:
:* '''hero''', for Heroes
:* '''vill''', for Villains
:* '''rog''', for Rogues
:* '''vig''', for Vigilantes
:* '''herovig''', for Heroes and Vigilantes
:* '''villrog''', for Villains and Rogues
:* '''herovigrog''', for Heroes, Vigilantes, and Rogues
:* '''villrogvig''', for Villains, Rogues, and Vigilantes
:* '''all4''', for Heroes, Vigilantes, Villains, and Rogues
:* '''everyone''', for Everyone
; levelfrom=
; levelto=
: Together, these two parameters specify the level range, with levelfrom= being the lower bound and levelto= being the upper bound.
; choice=
: Specifies what alignment/morality choice is available in the mission. This must be one of the following:
:* '''hero''', for Heroes
:* '''vill''', for Villains
:* '''rog''', for Rogues
:* '''vig''', for Vigilantes
:* '''herovig''', for Heroes and Vigilantes
:* '''villrog''', for Villains and Rogues
; demo=
: (Not shown in the copy-and-paste above.) This enables demo mode. The Infobox will be forcibly shown. The categories will be forcibly suppressed.


==Examples==
==Examples==

Revision as of 21:57, 22 December 2011

This is a documentation subpage for Template:Infobox Tip (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

Usage

Copy and paste to use:

{{Infobox Tip
|type=
|place=
|available=
|levelfrom=
|levelto=
|choice=
}}

Explanation of parameters:

type=
The type of tip mission. This must be one of the following:
  • alignment, for an alignment mission
  • morality, for a morality mission
  • event, for an event mission
place=
The place where the tip drops. Possible options:
  • Paragon City, required for alignment and morality missions in Paragon City
  • Rogue Isles, required for alignment and morality missions in the Rogue Isles
  • Anywhere, recommended for tips that can drop anywhere (such as event tips)
available=
Specifies who the tip is available to. That is, who the tip will drop for. This must be one of the following:
  • hero, for Heroes
  • vill, for Villains
  • rog, for Rogues
  • vig, for Vigilantes
  • herovig, for Heroes and Vigilantes
  • villrog, for Villains and Rogues
  • herovigrog, for Heroes, Vigilantes, and Rogues
  • villrogvig, for Villains, Rogues, and Vigilantes
  • all4, for Heroes, Vigilantes, Villains, and Rogues
  • everyone, for Everyone
levelfrom=
levelto=
Together, these two parameters specify the level range, with levelfrom= being the lower bound and levelto= being the upper bound.
choice=
Specifies what alignment/morality choice is available in the mission. This must be one of the following:
  • hero, for Heroes
  • vill, for Villains
  • rog, for Rogues
  • vig, for Vigilantes
  • herovig, for Heroes and Vigilantes
  • villrog, for Villains and Rogues
demo=
(Not shown in the copy-and-paste above.) This enables demo mode. The Infobox will be forcibly shown. The categories will be forcibly suppressed.

Examples

x Tip/doc
Salvage TipIcon.png
Type Tip
Level range ?–?
v  d  e
{{Infobox Tip
|demo=1
|type=
|place=
|available=
|levelfrom=
|levelto=
|choice=
}}


x Tip/doc
Alignment Mission
Salvage TipIcon.png
Type Alignment Tip
Place Paragon City
Available to Heroes and Vigilantes
Level range 20–29
Choice Hero or Vigilante
v  d  e
{{Infobox Tip
|demo=1
|type=alignment
|place=Paragon City
|available=herovig
|levelfrom=20
|levelto=29
|choice=herovig
}}


x Tip/doc
Morality Mission
Salvage TipIcon.png
Type Morality Tip
Place Rogue Isles
Available to Heroes, Vigilantes, and Rogues
Level range 40–50
Choice Hero
v  d  e
{{Infobox Tip
|demo=1
|type=morality
|place=Rogue Isles
|available=herovigrog
|levelfrom=40
|levelto=50
|choice=hero
}}


x Tip/doc
Event Mission
Salvage TipIcon.png
Type Event Tip
Place Anywhere
Available to Heroes, Vigilantes, Villains, and Rogues
Level range 20–50
v  d  e
{{Infobox Tip
|demo=1
|type=event
|place=Anywhere
|available=all4
|levelfrom=20
|levelto=50
|choice=
}}


See also