Wikia

GTA Wiki

Changes: Template:Infobox mission

Edit

Back to page

(Undo revision 384157 by ExtremoMania (talk))
m (Reverted edits by Idradm (talk | block) to last version by Smurfynz)
 
(42 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{| class="infobox" style="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"
{{pipe}}- style="margin:0;"
+
|-
!colspan="2" style="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}} 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="text-align:right;"{{pipe}}Game:
+
!style="background: #000000; color:lightgray; text-align:center;"{{pipe}}Game:
|{{#ifeq: {{{game|}}} | IV| [[Grand Theft Auto IV]]}}{{#ifeq: {{{game|}}} | VCS | [[Grand Theft Auto: Vice City Stories]]}}{{#ifeq: {{{game|}}} | LCS | [[Grand Theft Auto: Liberty City Stories]]}}{{#ifeq: {{{game|}}} | A | [[Grand Theft Auto Advance]]}}{{#ifeq: {{{game|}}} | SA | [[Grand Theft Auto: San Andreas]]}}{{#ifeq: {{{game|}}} | VC | [[Grand Theft Auto: Vice City]]}}{{#ifeq: {{{game|}}} | III | [[Grand Theft Auto III]]}}{{#ifeq: {{{game|}}} | 2 | [[Grand Theft Auto 2]]}}{{#ifeq: {{{game|}}} | L1961 | [[Grand Theft Auto: London 1961]]}}{{#ifeq: {{{game|}}} | L1969 | [[Grand Theft Auto: London 1969]]}}{{#ifeq: {{{game|}}} | GTA1 | [[Grand Theft Auto 1]]}}{{#ifeq: {{{game|}}} | TLAD| [[The Lost and Damned]]}}{{#ifeq: {{{game|}}} | CW | [[Grand Theft Auto: Chinatown Wars]]|}} {{#ifeq: {{{game|}}} | TBOGT| [[The Ballad of Gay Tony]]}}{{#ifeq: {{{game|}}} | V | [[Grand Theft Auto V]]}}
+
|{{#ifeq: style="background: #656565; text-align:left; color: white;"{{pipe}}{{{game|}}} | NO | ''dummy section - do not use!''}}{{#ifeq: {{{game|}}} | IV | ''[[Grand Theft Auto IV]]''}}{{#ifeq: {{{game|}}} | VCS | ''[[Grand Theft Auto: Vice City Stories]]''}}{{#ifeq: {{{game|}}} | LCS | ''[[Grand Theft Auto: Liberty City Stories]]''}}{{#ifeq: {{{game|}}} | A | ''[[Grand Theft Auto Advance]]''}}{{#ifeq: {{{game|}}} | SA | ''[[Grand Theft Auto: San Andreas]]''}}{{#ifeq: {{{game|}}} | VC | ''[[Grand Theft Auto: Vice City]]''}}{{#ifeq: {{{game|}}} | III | ''[[Grand Theft Auto III]]''}}{{#ifeq: {{{game|}}} | 2 | ''[[Grand Theft Auto 2]]''}}{{#ifeq: {{{game|}}} | L1961 | ''[[Grand Theft Auto: London 1961]]''}}{{#ifeq: {{{game|}}} | L1969 | ''[[Grand Theft Auto: London 1969]]''}}{{#ifeq: {{{game|}}} | GTA1 | ''[[Grand Theft Auto 1]]''}}{{#ifeq: {{{game|}}} | TLAD| ''[[The Lost and Damned]]''}}{{#ifeq: {{{game|}}} | CW | ''[[Grand Theft Auto: Chinatown Wars]]''|}} {{#ifeq: {{{game|}}} | TBOGT| ''[[The Ballad of Gay Tony]]''}}{{#ifeq: {{{game|}}} | V | ''[[Grand Theft Auto V]]''}}{{#ifeq: {{{game|}}} | O | ''[[Grand Theft Auto Online]]''}}
 
{{#if: {{{for|}}}|
 
{{#if: {{{for|}}}|
 
{{pipe}}-
 
{{pipe}}-
!style="text-align:right;"{{pipe}}For:
+
!style="background: #000000; color:lightgray; text-align:center;"{{pipe}}For:
{{pipe}}{{{for|}}}|
+
{{pipe}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{for|}}}|
 
{{pipe}}-
 
{{pipe}}-
 
}}
 
}}
 
{{#if: {{{location|}}}|
 
{{#if: {{{location|}}}|
 
{{pipe}}-
 
{{pipe}}-
!style="text-align:right;"{{pipe}}Location:
+
!style="background: #000000; color:lightgray; text-align:center;"{{pipe}}Location:
{{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}}-
!style="text-align:right;"{{pipe}}Target:
+
!style="background: #000000; color:lightgray; text-align:center;"{{pipe}}Target:
{{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}}-
  +
}}
  +
{{#if: {{{todo|}}}|
  +
{{pipe}}-
  +
!style="background: #000000; color:lightgray; text-align:center;" colspan="2"{{pipe}}Mission Objectives:
  +
{{pipe}}-
  +
{{pipe}}style="background: #656565; text-align:left; color: white;" colspan="2"{{pipe}}{{{todo|}}}|
 
{{pipe}}-
 
{{pipe}}-
 
}}
 
}}
 
{{#if: {{{fail|}}}|
 
{{#if: {{{fail|}}}|
 
{{pipe}}-
 
{{pipe}}-
!style="text-align:right;"{{pipe}}Conditions of mission failure:
+
!style="background: #000000; color:lightgray; text-align:center;" colspan="2"{{pipe}}Conditions of mission failure:
{{pipe}}{{{fail|}}}|
+
{{pipe}}-
  +
{{pipe}}style="background: #656565; text-align:left; color: white;" colspan="2"{{pipe}}{{{fail|}}}|
 
{{pipe}}-
 
{{pipe}}-
 
}}
 
}}
 
{{#if: {{{reward|}}}|
 
{{#if: {{{reward|}}}|
 
{{pipe}}-
 
{{pipe}}-
!style="text-align:right;"{{pipe}}Reward:
+
!style="background: #000000; color:lightgray; text-align:center;" colspan="2"{{pipe}}Reward(s):
{{pipe}}{{{reward|}}}|
+
{{pipe}}-
  +
{{pipe}}style="background: #656565; text-align:left; color: white;" colspan="2"{{pipe}}{{{reward|}}}|
 
{{pipe}}-
 
{{pipe}}-
 
}}
 
}}
 
{{#if: {{{unlocks|}}}|
 
{{#if: {{{unlocks|}}}|
 
{{pipe}}-
 
{{pipe}}-
!style="text-align:right;"{{pipe}}Unlocks:
+
!style="background: #000000; color:lightgray; text-align:center;"{{pipe}}Unlocks:
{{pipe}}{{{unlocks|}}}|
+
{{pipe}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{unlocks|}}}|
 
{{pipe}}-
 
{{pipe}}-
 
}}
 
}}
 
{{#if: {{{unlockedby|}}}|
 
{{#if: {{{unlockedby|}}}|
 
{{pipe}}-
 
{{pipe}}-
!style="text-align:right;"{{pipe}}Unlocked by:
+
!style="background: #000000; color:lightgray; text-align:center;"{{pipe}}Unlocked by:
{{pipe}}{{{unlockedby|}}}|
+
{{pipe}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{unlockedby|}}}|
 
{{pipe}}-
 
{{pipe}}-
 
}}
 
}}
 
|}<noinclude>
 
|}<noinclude>
 
:'''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 [[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, 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 62: Line 64:
 
<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 69: Line 74:
 
|for=Vincenzo Cilli
 
|for=Vincenzo Cilli
 
|target=Leones dealer
 
|target=Leones dealer
  +
|maxkillcount = 5
  +
|todo={{BP}}Go to Leone dealer
  +
{{BP}}Go to Chinatown
 
|location=Atlantic Quays; St Marks; Chinatown
 
|location=Atlantic Quays; St Marks; Chinatown
|fail=Player Character Death
+
|fail={{BP}}Player Character Death
  +
{{BP}}Go to Chinatown
 
|reward=$100
 
|reward=$100
  +
|cost=$1
  +
|first=[[Leone Dealer (GTA LCS)|Unnamed Leone Dealer]]
  +
|last=[[Leone Dealer (GTA LCS)|Unnamed Leone Dealer]]
 
|unlocks=[[Dealing Revenge]]
 
|unlocks=[[Dealing Revenge]]
 
|unlockedby=N/A
 
|unlockedby=N/A
Line 84: Line 95:
 
|caption=Vincenzo Cilli
 
|caption=Vincenzo Cilli
 
|for=Vincenzo Cilli
 
|for=Vincenzo Cilli
|target=Leones dealer
+
|target= Leones dealer
  +
|maxkillcount = 5
  +
|todo={{BP}}Go to Leone dealer
  +
{{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]]
  +
|last=[[Leone Dealer (GTA LCS)|Unnamed Leone Dealer]]
 
|unlocks=[[Dealing Revenge]]
 
|unlocks=[[Dealing Revenge]]
 
|unlockedby=N/A
 
|unlockedby=N/A
|fail=Player Character Death}}
+
|fail= {{BP}}Player Character Death
  +
{{BP}}Leone dealer dies}}
 
</noinclude><noinclude>
 
</noinclude><noinclude>
 
[[category:infoboxes]]
 
[[category:infoboxes]]

Latest revision as of 12:43, May 21, 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:
• ­Go to Leone dealer

• ­Go to Chinatown

Conditions of mission failure:
• ­Player Character Death

• ­Leone dealer dies

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

Around Wikia's network

Random Wiki