GTA Wiki
Register
GTA Wiki
19,748
pages
(this will have to do for now)
Idradm (talk | contribs)
m (Reverted edits by Idradm (talk | block) to last version by Smurfynz)
(16 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{| class="infobox bordered vcard" style="background: #656565; border: solid white 2px; width:22em; font-size:90%; text-align:left;" cellspacing="2"
 
{| class="infobox bordered vcard" style="background: #656565; border: solid white 2px; width:22em; font-size:90%; text-align:left;" cellspacing="2"
 
|-
 
|-
!colspan="2" style="background: #3c3c3c; color: white; text-align: center;"{{pipe}}<small>MISSION</small><br /><span class="fn" style="font-size:18px;">{{{name|{{PAGENAME}}}}}</span>
+
!colspan="2" style="background: #3c3c3c; color: white; text-align: center;"{{pipe}}<small>{{#ifeq: {{{sidemission|}}} | y | SIDE }} {{#if:{{#ifeq: {{{freaks|}}} | y | STRANGERS AND FREAKS }}|{{#ifeq: {{{freaks|}}} | y | STRANGERS AND FREAKS }}|MISSION}} {{#ifeq: {{{cutscene|}}} | y | CUTSCENE }}</small><br /><span class="fn" style="font-size:18px;">{{{name|{{PAGENAME}}}}}</span>
 
{{#if:{{{image|}}}|
 
{{#if:{{{image|}}}|
 
{{pipe}}-
 
{{pipe}}-
{{pipe}} style="background: #000000; color:lightgray;" colspan="2" align="center"{{pipe}}[[Image:{{{image}}}|{{#if:{{{size|}}}|{{{size|}}}|200px}}|center]]{{#if:{{{caption|}}}|<div style="line-height:1.25em;">{{{caption}}}</div>|}}|}}
+
{{pipe}} style="background: #000000; color:lightgray;" colspan="2" align="center"{{pipe}}[[Image:{{{image}}}|{{#if:{{{size|}}}|{{{size|}}}|300px}}|center]]{{#if:{{{caption|}}}|<div style="line-height:1.25em;">{{{caption}}}</div>|}}|}}
 
{{pipe}}- valign="top"
 
{{pipe}}- valign="top"
 
!style="background: #000000; color:lightgray; text-align:center;"{{pipe}}Game:
 
!style="background: #000000; color:lightgray; text-align:center;"{{pipe}}Game:
Line 10: Line 10:
 
{{#if: {{{for|}}}|
 
{{#if: {{{for|}}}|
 
{{pipe}}-
 
{{pipe}}-
!width="10%" style="background: #000000; color:lightgray; text-align:center;"{{pipe}}For:
+
!style="background: #000000; color:lightgray; text-align:center;"{{pipe}}For:
 
{{pipe}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{for|}}}|
 
{{pipe}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{for|}}}|
 
{{pipe}}-
 
{{pipe}}-
Line 16: Line 16:
 
{{#if: {{{location|}}}|
 
{{#if: {{{location|}}}|
 
{{pipe}}-
 
{{pipe}}-
!width="10%" style="background: #000000; color:lightgray; text-align:center;"{{pipe}}Location:
+
!style="background: #000000; color:lightgray; text-align:center;"{{pipe}}Location:
 
{{pipe}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{location|}}}|
 
{{pipe}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{location|}}}|
 
{{pipe}}-
 
}}
 
{{#if: {{{protagonists|}}}|
  +
{{pipe}}-
 
!style="background: #000000; color:lightgray; text-align:center;"{{pipe}}Protagonist(s):
 
{{pipe}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{protagonists|}}}|
  +
{{pipe}}-
  +
}}
  +
{{#if: {{{cost|}}}|
  +
{{pipe}}-
 
!style="background: #000000; color:lightgray; text-align:center;"{{pipe}}Set-up cost:
 
{{pipe}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{cost|}}}|
 
{{pipe}}-
 
{{pipe}}-
 
}}
 
}}
 
{{#if: {{{target|}}}|
 
{{#if: {{{target|}}}|
 
{{pipe}}-
 
{{pipe}}-
!width="10%" style="background: #000000; color:lightgray; text-align:center;"{{pipe}}Target:
+
!style="background: #000000; color:lightgray; text-align:center;"{{pipe}}Target:
 
{{pipe}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{target|}}}|
 
{{pipe}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{target|}}}|
  +
{{pipe}}-
  +
}}
  +
{{#if: {{{maxkillcount|}}}|
  +
{{pipe}}-
  +
!style="background: #000000; color:lightgray; text-align:center;"{{pipe}}Maximum number of enemies to kill:
 
{{pipe}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{maxkillcount|}}}|
 
{{pipe}}-
 
{{pipe}}-
 
}}
 
}}
 
{{#if: {{{todo|}}}|
 
{{#if: {{{todo|}}}|
 
{{pipe}}-
 
{{pipe}}-
!width="10%" style="background: #000000; color:lightgray; text-align:center;"{{pipe}}Mission Objectives:
+
!style="background: #000000; color:lightgray; text-align:center;" colspan="2"{{pipe}}Mission Objectives:
  +
{{pipe}}-
{{pipe}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{todo|}}}|
 
  +
{{pipe}}style="background: #656565; text-align:left; color: white;" colspan="2"{{pipe}}{{{todo|}}}|
 
{{pipe}}-
 
{{pipe}}-
 
}}
 
}}
 
{{#if: {{{fail|}}}|
 
{{#if: {{{fail|}}}|
 
{{pipe}}-
 
{{pipe}}-
!width="10%" style="background: #000000; color:lightgray; text-align:center;"{{pipe}}Conditions of mission failure:
+
!style="background: #000000; color:lightgray; text-align:center;" colspan="2"{{pipe}}Conditions of mission failure:
  +
{{pipe}}-
{{pipe}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{fail|}}}|
 
  +
{{pipe}}style="background: #656565; text-align:left; color: white;" colspan="2"{{pipe}}{{{fail|}}}|
 
{{pipe}}-
 
{{pipe}}-
 
}}
 
}}
 
{{#if: {{{reward|}}}|
 
{{#if: {{{reward|}}}|
 
{{pipe}}-
 
{{pipe}}-
!width="10%" style="background: #000000; color:lightgray; text-align:center;"{{pipe}}Reward:
+
!style="background: #000000; color:lightgray; text-align:center;" colspan="2"{{pipe}}Reward(s):
{{pipe}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{reward|}}}|
 
 
{{pipe}}-
 
{{pipe}}-
  +
{{pipe}}style="background: #656565; text-align:left; color: white;" colspan="2"{{pipe}}{{{reward|}}}|
}}
 
{{#if: {{{protagonists|}}}|
 
{{pipe}}-
 
!width="10%" style="background: #000000; color:lightgray; text-align:center;"{{pipe}}Protagonist(s):
 
{{pipe}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{protagonists|}}}|
 
 
{{pipe}}-
 
{{pipe}}-
 
}}
 
}}
 
{{#if: {{{unlocks|}}}|
 
{{#if: {{{unlocks|}}}|
 
{{pipe}}-
 
{{pipe}}-
!width="10%" style="background: #000000; color:lightgray; text-align:center;"{{pipe}}Unlocks:
+
!style="background: #000000; color:lightgray; text-align:center;"{{pipe}}Unlocks:
 
{{pipe}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{unlocks|}}}|
 
{{pipe}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{unlocks|}}}|
 
{{pipe}}-
 
{{pipe}}-
Line 58: Line 73:
 
{{#if: {{{unlockedby|}}}|
 
{{#if: {{{unlockedby|}}}|
 
{{pipe}}-
 
{{pipe}}-
!width="10%" style="background: #000000; color:lightgray; text-align:center;"{{pipe}}Unlocked by:
+
!style="background: #000000; color:lightgray; text-align:center;"{{pipe}}Unlocked by:
 
{{pipe}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{unlockedby|}}}|
 
{{pipe}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{unlockedby|}}}|
 
{{pipe}}-
 
{{pipe}}-
Line 65: Line 80:
 
:'''Warning:''' There is a problem with this template. We have fixed the problem with HTML not working inside parserfunctions (IF statements) by using wikimarkup for the table, and using [[Template:Pipe]] instead of the pipe marker | for those tables (so that it is not mistaken to be the elseif), so we do not need to use Tidy (which breaks half the site). We're still working on a couple of aesthetic issues but these should be eliminated shortly.
 
:'''Warning:''' There is a problem with this template. We have fixed the problem with HTML not working inside parserfunctions (IF statements) by using wikimarkup for the table, and using [[Template:Pipe]] instead of the pipe marker | for those tables (so that it is not mistaken to be the elseif), so we do not need to use Tidy (which breaks half the site). We're still working on a couple of aesthetic issues but these should be eliminated shortly.
   
:There are also issues with using * to make bullet points, so use &bull ; (without the spaces) for now.
+
:There are also issues with using * to make bullet points, so use [[Template:BP]] for now.
   
 
Usage - example here is [[Slacker]].
 
Usage - example here is [[Slacker]].
   
Games IDs are: <code>GTA1, GTA2, L1969, L1961, III, VC, SA, A, LCS, VCS, IV, TLAD, CW, TBOGT, V</code>. Add your own links for target, for, location, reward and unlocks as necessary.
+
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.
   
 
Image size will default to 200x200px, but if the image you use is smaller than this, you should specify its natural width. Do NOT allow images to be expanded.
 
Image size will default to 200x200px, but if the image you use is smaller than this, you should specify its natural width. Do NOT allow images to be expanded.
Line 76: Line 91:
 
<pre>
 
<pre>
 
{{infobox mission
 
{{infobox mission
  +
|sidemission = y (only use this when using the template for side missions)
  +
|cutscene = y (only use this when using the template for cutscene-only "missions")
  +
|freaks = y (only use this when using the template for strangers and freaks)
 
|name=Slacker
 
|name=Slacker
 
|game=LCS
 
|game=LCS
Line 83: Line 101:
 
|for=Vincenzo Cilli
 
|for=Vincenzo Cilli
 
|target=Leones dealer
 
|target=Leones dealer
  +
|maxkillcount = 5
|todo=&bull ; Go to Leone dealer
+
|todo={{BP}}Go to Leone dealer
&bull ; Go to Chinatown
+
{{BP}}Go to Chinatown
 
|location=Atlantic Quays; St Marks; Chinatown
 
|location=Atlantic Quays; St Marks; Chinatown
|fail=&bull ;Player Character Death
+
|fail={{BP}}Player Character Death
&bull ; Go to Chinatown
+
{{BP}}Go to Chinatown
 
|reward=$100
 
|reward=$100
  +
|cost=$1
 
|first=[[Leone Dealer (GTA LCS)|Unnamed Leone Dealer]]
 
|first=[[Leone Dealer (GTA LCS)|Unnamed Leone Dealer]]
 
|last=[[Leone Dealer (GTA LCS)|Unnamed Leone Dealer]]
 
|last=[[Leone Dealer (GTA LCS)|Unnamed Leone Dealer]]
Line 104: Line 124:
 
|for=Vincenzo Cilli
 
|for=Vincenzo Cilli
 
|target= Leones dealer
 
|target= Leones dealer
  +
|maxkillcount = 5
|todo=&bull; Go to Leone dealer
+
|todo={{BP}}Go to Leone dealer
&bull; Go to Chinatown
+
{{BP}}Go to Chinatown
 
|location=Atlantic Quays; St Marks; Chinatown
 
|location=Atlantic Quays; St Marks; Chinatown
  +
|cost=$1
 
|reward=$100
 
|reward=$100
 
|first=[[Leone Dealer (GTA LCS)|Unnamed Leone Dealer]]
 
|first=[[Leone Dealer (GTA LCS)|Unnamed Leone Dealer]]
Line 112: Line 134:
 
|unlocks=[[Dealing Revenge]]
 
|unlocks=[[Dealing Revenge]]
 
|unlockedby=N/A
 
|unlockedby=N/A
|fail= &bull; Player Character Death
+
|fail= {{BP}}Player Character Death
&bull; Leone dealer dies}}
+
{{BP}}Leone dealer dies}}
 
</noinclude><noinclude>
 
</noinclude><noinclude>
 
[[category:infoboxes]]
 
[[category:infoboxes]]

Revision as of 12:43, 21 May 2015

MISSION
Infobox mission
Game:
Warning: There is a problem with this template. We have fixed the problem with HTML not working inside parserfunctions (IF statements) by using wikimarkup for the table, and using Template:Pipe instead of the pipe marker | for those tables (so that it is not mistaken to be the elseif), so we do not need to use Tidy (which breaks half the site). We're still working on a couple of aesthetic issues but these should be eliminated shortly.
There are also issues with using * to make bullet points, so use Template:BP for now.

Usage - example here is Slacker.

Games IDs are: GTA1, GTA2, L1969, L1961, III, VC, SA, A, LCS, VCS, IV, TLAD, CW, TBOGT, V, O. Add your own links for target, for, location, reward and unlocks as necessary.

Image size will default to 200x200px, but if the image you use is smaller than this, you should specify its natural width. Do NOT allow images to be expanded.

Each instance of this infobox MUST have the game specified

{{infobox mission
|sidemission = y (only use this when using the template for side missions)
|cutscene = y (only use this when using the template for cutscene-only "missions")
|freaks = y (only use this when using the template for strangers and freaks)
|name=Slacker
|game=LCS
|image=VincenzoCilliGTALCS.jpg
|size=180px
|caption=Vincenzo Cilli
|for=Vincenzo Cilli
|target=Leones dealer
|maxkillcount = 5
|todo={{BP}}Go to Leone dealer
{{BP}}Go to Chinatown
|location=Atlantic Quays; St Marks; Chinatown
|fail={{BP}}Player Character Death
{{BP}}Go to Chinatown
|reward=$100
|cost=$1
|first=[[Leone Dealer (GTA LCS)|Unnamed Leone Dealer]]
|last=[[Leone Dealer (GTA LCS)|Unnamed Leone Dealer]]
|unlocks=[[Dealing Revenge]]
|unlockedby=N/A
}}

produces:

MISSION
Slacker
VincenzoCilli-GTALCS
Vincenzo Cilli
Game: Grand Theft Auto: Liberty City Stories
For: Vincenzo Cilli
Location: Atlantic Quays; St Marks; Chinatown
Set-up cost: $1
Target: Leones dealer
Maximum number of enemies to kill: 5
Mission Objectives:
Template:BPGo to Leone dealer

Template:BPGo to Chinatown

Conditions of mission failure:
Template:BPPlayer Character Death

Template:BPLeone dealer dies

Reward(s):
$100
Unlocks: Dealing Revenge
Unlocked by: N/A