Template:Infobox TF: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Sekoia
mNo edit summary
m (more relevant alt text for icon "Task Force")
 
(15 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| class="infobox" style="width: 20em; text-align: left; font-size: 90%; border: 1px solid #aaaaaa;"
<includeonly>
|-
{{Infobox
| colspan="2" style="text-align:center; font-size: 120%;" | '''{{{name|{{{PAGENAME}}}}}}'''
|name        = Infobox TF
|-
|above        = [[File:Map task force.png|link=|Task Force]]<br>{{{name|}}}
! Contact
 
| {{{contact}}}
|image        = {{{image|}}}
|-
 
! Zone
|header1  =
| {{{zone}}}
|label1  = Contact
|-
|data1    = {{{contact|}}}
! Minimum Size
|header2  =
| {{{size}}} players
|label2  = Zone
|-
|data2    = {{{zone|}}}
{{#if: {{{x|}}} | ! [[Coordinates]]
|header3  =
{{!}} {{coords|{{{x}}}|{{{y}}}|{{{z}}}}} }}
|label3  = Suggested Team Size
|-
|data3    = {{#if:{{{size|}}} | {{{size}}} {{#ifeq:{{{size|}}}|1|player|players}} }}
! Level Range
|header4  =
| {{{levels|}}}
|label4  = [[Coordinates]]
|-
|data4    = {{#if: {{{x|}}} | {{coords|{{{x}}}|{{{y}}}|{{{z}}}}} }}
{{#if: {{{badge|}}} | ! Badge
|header5  =
{{!}} {{{badge}}} }}
|label5  = Level Range
|-
|data5    = {{{levels|}}}
{{#if: {{{enemies|}}} | ! nowrap {{!}} Enemy Groups
|header6  =
{{!}} {{{enemies}}} }}
|label6  = [[Merit Rewards|Merits]]
|}
|data6    = {{{merits|}}}
|header7  =
|label7  = [[Incarnate Shard Component|Shards]]
|data7    = {{{shards|}}}
|header8  =
|label8  = [[Incarnate Thread Component|Threads]]
|data8    = {{{threads|}}}
|header9  =
|label9  = [[Astral Merit|Astrals]]
|data9    = {{{astrals|}}}
|header10  =
|label10  = Badge
|data10    = {{{badge|}}}
|header11  =
|label11  = Enemy Groups
|data11    = {{#if: {{{enemies|}}} | {{nowrap|{{{enemies}}}}} }}
}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 08:49, 17 October 2022

[edit] [purge] Documentation


Infobox TF, Infobox SF, and Infobox Trial are used to provide quick and concise tabular information about a Task Force, Strike Force, or Trial.

At present, Infobox SF and Infobox Trial merely redirect to Infobox TF. However, when using for a Strike Force please use {{Infobox SF}} and when using for a Trial please use {{Infobox Trial}} in case any changes ever get made to differentiate the templates.

Usage

For ease of use, the following may be copied and pasted into an article:

{{Infobox TF
|name=
|image=
|contact=
|zone=
|x=
|y=
|z=
|size=
|levels=
|merits=
|shards=
|threads=
|astrals=
|enemies=
|badge=
}}

Parameters

Parameter Explanation
name The name of TF, SF, or trial.
image An image to be used. Must be a full link, for example: [[Image:Example.jpg|100px]]
contact The contact that starts the TF, SF, or trial.
zone 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.
size The pre-Homecoming minimum number of players required to start the TF, SF, or trial.
levels Insert the level range for the TF, SF, or trial.
merits Insert the number of merits the TF, SF, or trial rewards.
shards Insert the number of Incarnate Shard Components the TF, SF, or trial rewards. If it does not reward any, leave blank or omit.
threads Insert the number of Incarnate Thread Components the TF, SF, or trial rewards. If it does not reward any, leave blank or omit.
astrals Insert the number of Astral Merits the TF, SF, or trial rewards. If it does not reward any, leave blank or omit.
enemies Insert the Villian/Hero groups featured in missions assigned by this contact, using the appropriate Enemy templates.
badge Insert the badge(s) rewarded by this TF, SF, or trial, with appropriate wikilinking. Separate multiples with <br />.

Examples

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

Task Force
name
image
Contact contact
Zone zone
Suggested Team Size size players
Coordinates (x, y, z)[Copy]
Level Range levels
Merits merits
Shards shards
Threads threads
Badge badge
Enemy Groups enemies
v  d  e
{{Infobox TF
|name=name
|image=image
|contact=contact
|zone=zone
|x=x
|y=y
|z=z
|size=size
|levels=levels
|merits=merits
|shards=shards
|enemies=enemies
|badge=badge
}}


Here is a more realistic example from the Katie Hannon Task Force article.

Task Force
A Tangled Plot
Katie Hannon.jpg
Contact Katie Hannon
Zone Croatoa
Suggested Team Size 6 players
Coordinates (1095, 108, -1095)[Copy]
Level Range 30-34
Merits 9
Badge Badge croatoa cabalist.png Cabalist
Enemy Groups
v  d  e
{{Infobox TF
|name=A Tangled Plot
|image=[[File:KatieHannon1.jpg|100px]]
|contact=[[Katie Hannon]]
|zone=[[Croatoa]]
|x=1095|y=108|z=-1095
|size=6
|levels=30-34
|merits=9
|enemies={{Enemy The Cabal}}{{Enemy Red Caps}}
|badge=[[File:Badge croatoa cabalist.png|22px]] [[Cabalist Badge|Cabalist]]
}}