FANDOM


Line 23: Line 23:
 
<data source="reward"/>
 
<data source="reward"/>
 
</group>
 
</group>
<data source="unlocks"><label>Unlocks</label></data>
 
 
<data source="unlockedby"><label>Unlocked by</label></data>
 
<data source="unlockedby"><label>Unlocked by</label></data>
</infobox><noinclude>
+
<data source="unlocks"><label>Unlocks</label></data>
  +
</infobox>
  +
<noinclude>
 
:'''Warning:''' This template uses new [[Help:PortableInfoboxes|infobox markup]]. If you spot any problems with it please leave a message on [http://community.wikia.com/wiki/Thread:841717 this forum thread].
 
:'''Warning:''' This template uses new [[Help:PortableInfoboxes|infobox markup]]. If you spot any problems with it please leave a message on [http://community.wikia.com/wiki/Thread:841717 this forum thread].
   
Usage - example here is [[Slacker]].
+
==Usage==
  +
Below is an example of the mission "[[Slacker]]."<br><br>
   
Games IDs are: <code>GTA1, GTA2, L1969, L1961, III, VC, SA, A, LCS, VCS, IV, TLAD, CW, TBOGT, V, O</code>. Add your own links for target, for, location, reward and unlocks as necessary.
+
===Parameter Field Input===
 
'''Each instance of this infobox MUST have the game specified'''
 
 
<pre>
 
<pre>
 
{{infobox mission
 
{{infobox mission
|sidemission = y (only use this when using the template for side missions)
+
|name = Slacker
|cutscene = y (only use this when using the template for cutscene-only "missions")
+
|game = LCS
|freaks = y (only use this when using the template for strangers and freaks)
+
|image = Slacker-GTALCS.png
|name=Slacker
+
|size = 180px
|game=LCS
+
|caption = [[Toni Cipriani]] meeting with the [[Leone Dealer (GTA LCS)|Leone drug dealer]].
|image=VincenzoCilliGTALCS.jpg
+
|for = [[Vincenzo Cilli]]
|size=180px
+
|target = [[Leone Dealer (GTA LCS)|Leone dealer]]
|caption=Vincenzo Cilli
+
|maxkillcount = (number)
|for=Vincenzo Cilli
+
|todo = Pick up Vincenzo's dealer from St. Mark's district<br>Take the dealer to work
|target=Leones dealer
+
|location = [[Vincenzo Cilli's Warehouse]], [[Atlantic Quays]]
|maxkillcount = 5
+
|cost = (requirement info)
|todo={{BP}}Go to Leone dealer
+
|fail = [[Wasted]]<br>[[Busted]]<br>Leone dealer dies
{{BP}}Go to Chinatown
+
|reward = [[Money|$100]]
|location=Atlantic Quays; St Marks; Chinatown
+
|first = [[Leone Dealer (GTA LCS)|Leone dealer]]
|fail={{BP}}Player Character Death
+
|last = [[Leone Dealer (GTA LCS)|Leone dealer]]
{{BP}}Go to Chinatown
+
|unlockedby = [[Home Sweet Home]]
|reward=$100
+
|unlocks = [[Dealing Revenge]]
|cost=$1
+
|sidemission = (only use this when using the template for side missions)
|first=[[Leone Dealer (GTA LCS)|Unnamed Leone Dealer]]
+
|cutscene = (only use this when using the template for cutscene-only missions)
|last=[[Leone Dealer (GTA LCS)|Unnamed Leone Dealer]]
+
|freaks = (only use this when using the template for Strangers and Freaks)
|unlocks=[[Dealing Revenge]]
 
|unlockedby=N/A
 
 
}}
 
}}
</pre>
+
</pre><br>
produces:
+
  +
===Output===
 
{{infobox mission
 
{{infobox mission
|name=Slacker
+
|name = Slacker
|game=LCS
+
|game = LCS
|image=VincenzoCilli-GTALCS.jpg
+
|image = Slacker-GTALCS.png
|size=180px
+
|size = 180px
|caption=Vincenzo Cilli
+
|caption = [[Toni Cipriani]] meeting with the [[Leone Dealer (GTA LCS)|Leone drug dealer]].
|for=Vincenzo Cilli
+
|for = [[Vincenzo Cilli]]
|target= Leones dealer
+
|target = [[Leone Dealer (GTA LCS)|Leone dealer]]
|maxkillcount = 5
+
|maxkillcount = (number)
|todo={{BP}}Go to Leone dealer
+
|todo = Pick up Vincenzo's dealer from St. Mark's district<br>Take the dealer to work
{{BP}}Go to Chinatown
+
|location = [[Vincenzo Cilli's Warehouse]], [[Atlantic Quays]]
|location=Atlantic Quays; St Marks; Chinatown
+
|cost = (requirement info)
|cost=$1
+
|fail = [[Wasted]]<br>[[Busted]]<br>Leone dealer dies
|reward=$100
+
|reward = [[Money|$100]]
|first=[[Leone Dealer (GTA LCS)|Unnamed Leone Dealer]]
+
|first = [[Leone Dealer (GTA LCS)|Leone dealer]]
|last=[[Leone Dealer (GTA LCS)|Unnamed Leone Dealer]]
+
|last = [[Leone Dealer (GTA LCS)|Leone dealer]]
|unlocks=[[Dealing Revenge]]
+
|unlockedby = [[Home Sweet Home]]
|unlockedby=N/A
+
|unlocks = [[Dealing Revenge]]
|fail= {{BP}}Player Character Death
+
}}
{{BP}}Leone dealer dies}}
+
{{Clr}}
</noinclude><noinclude>
+
=="<i>game</i>" Parameter IDs==
[[category:infoboxes]]
+
Below are the game ID's that should be used in the "<i>game</i>" parameter field.<br>
[[Category:Templates|{{PAGENAME}}]]</noinclude>
+
<code>
  +
GTA1 &nbsp;([[Grand Theft Auto 1]])<br>
  +
2 &nbsp;&nbsp;&nbsp;&nbsp;([[Grand Theft Auto 2]])<br>
  +
L1961 ([[Grand Theft Auto: London 1961]])<br>
  +
L1969 ([[Grand Theft Auto: London 1969]])<br>
  +
III &nbsp;&nbsp;([[Grand Theft Auto III]])<br>
  +
VC &nbsp;&nbsp;&nbsp;([[Grand Theft Auto: Vice City]])<br>
  +
SA &nbsp;&nbsp;&nbsp;([[Grand Theft Auto: San Andreas]])<br>
  +
A &nbsp;&nbsp;&nbsp;&nbsp;([[Grand Theft Auto Advance]])<br>
  +
LCS &nbsp;&nbsp;([[Grand Theft Auto: Liberty City Stories]])<br>
  +
VCS &nbsp;&nbsp;([[Grand Theft Auto: Vice City Stories]])<br>
  +
IV &nbsp;&nbsp;&nbsp;([[Grand Theft Auto IV]])<br>
  +
TLAD &nbsp;([[The Lost and Damned]])<br>
  +
TBOGT ([[The Ballad of Gay Tony]])<br>
  +
CW &nbsp;&nbsp;&nbsp;([[Grand Theft Auto: Chinatown Wars]])<br>
  +
V &nbsp;&nbsp;&nbsp;&nbsp;([[Grand Theft Auto V]])<br>
  +
O &nbsp;&nbsp;&nbsp;&nbsp;([[Grand Theft Auto Online]])
  +
</code>
  +
[[Category:Infoboxes]]
  +
[[Category:Templates|{{PAGENAME}}]]
  +
</noinclude>

Revision as of 19:18, July 14, 2016

Warning: This template uses new infobox markup. If you spot any problems with it please leave a message on this forum thread.

Usage

Below is an example of the mission "Slacker."

Parameter Field Input

{{infobox mission
|name         = Slacker
|game         = LCS
|image        = Slacker-GTALCS.png
|size         = 180px
|caption      = [[Toni Cipriani]] meeting with the [[Leone Dealer (GTA LCS)|Leone drug dealer]].
|for          = [[Vincenzo Cilli]]
|target       = [[Leone Dealer (GTA LCS)|Leone dealer]]
|maxkillcount = (number)
|todo         = Pick up Vincenzo's dealer from St. Mark's district<br>Take the dealer to work
|location     = [[Vincenzo Cilli's Warehouse]], [[Atlantic Quays]]
|cost         = (requirement info)
|fail         = [[Wasted]]<br>[[Busted]]<br>Leone dealer dies
|reward       = [[Money|$100]]
|first        = [[Leone Dealer (GTA LCS)|Leone dealer]]
|last         = [[Leone Dealer (GTA LCS)|Leone dealer]]
|unlockedby   = [[Home Sweet Home]]
|unlocks      = [[Dealing Revenge]]
|sidemission  = (only use this when using the template for side missions)
|cutscene     = (only use this when using the template for cutscene-only missions)
|freaks       = (only use this when using the template for Strangers and Freaks)
}}

Output

"game" Parameter IDs

Below are the game ID's that should be used in the "game" parameter field.
GTA1  (Grand Theft Auto 1)
2     (Grand Theft Auto 2)
L1961 (Grand Theft Auto: London 1961)
L1969 (Grand Theft Auto: London 1969)
III   (Grand Theft Auto III)
VC    (Grand Theft Auto: Vice City)
SA    (Grand Theft Auto: San Andreas)
A     (Grand Theft Auto Advance)
LCS   (Grand Theft Auto: Liberty City Stories)
VCS   (Grand Theft Auto: Vice City Stories)
IV    (Grand Theft Auto IV)
TLAD  (The Lost and Damned)
TBOGT (The Ballad of Gay Tony)
CW    (Grand Theft Auto: Chinatown Wars)
V     (Grand Theft Auto V)
O     (Grand Theft Auto Online)

Community content is available under CC-BY-SA unless otherwise noted.