Wikia

GTA Wiki

Changes: Template:Infobox mission

Edit

Back to page

(Undo revision 384157 by ExtremoMania (talk))
 
(16 intermediate revisions by 7 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>MISSION</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|}}}|200px}}|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:
+
!width="10%" 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:
+
!width="10%" style="background: #000000; color:lightgray; text-align:center;"{{pipe}}Location:
{{pipe}}{{{location|}}}|
+
{{pipe}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{location|}}}|
 
{{pipe}}-
 
{{pipe}}-
 
}}
 
}}
 
{{#if: {{{target|}}}|
 
{{#if: {{{target|}}}|
 
{{pipe}}-
 
{{pipe}}-
!style="text-align:right;"{{pipe}}Target:
+
!width="10%" style="background: #000000; color:lightgray; text-align:center;"{{pipe}}Target:
{{pipe}}{{{target|}}}|
+
{{pipe}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{target|}}}|
 
{{pipe}}-
 
{{pipe}}-
 
}}
 
}}
 
{{#if: {{{fail|}}}|
 
{{#if: {{{fail|}}}|
 
{{pipe}}-
 
{{pipe}}-
!style="text-align:right;"{{pipe}}Conditions of mission failure:
+
!width="10%" style="background: #000000; color:lightgray; text-align:center;"{{pipe}}Conditions of mission failure:
{{pipe}}{{{fail|}}}|
+
{{pipe}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{fail|}}}|
 
{{pipe}}-
 
{{pipe}}-
 
}}
 
}}
 
{{#if: {{{reward|}}}|
 
{{#if: {{{reward|}}}|
 
{{pipe}}-
 
{{pipe}}-
!style="text-align:right;"{{pipe}}Reward:
+
!width="10%" style="background: #000000; color:lightgray; text-align:center;"{{pipe}}Reward:
{{pipe}}{{{reward|}}}|
+
{{pipe}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{reward|}}}|
  +
{{pipe}}-
  +
}}
  +
{{#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}}-
!style="text-align:right;"{{pipe}}Unlocks:
+
!width="10%" 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:
+
!width="10%" 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}}-
 
}}
 
}}
Line 55: Line 55:
 
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</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 72: Line 72:
 
|fail=Player Character Death
 
|fail=Player Character Death
 
|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
Line 87: Line 89:
 
|location=Atlantic Quays; St Marks; Chinatown
 
|location=Atlantic Quays; St Marks; Chinatown
 
|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

Latest revision as of 16:14, December 9, 2014

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.

Usage - example here is Slacker.

Games IDs are: GTA1, GTA2, L1969, L1961, III, VC, SA, A, LCS, VCS, IV, TLAD, CW, TBOGT, V. 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
|name=Slacker
|game=LCS
|image=VincenzoCilliGTALCS.jpg
|size=180px
|caption=Vincenzo Cilli
|for=Vincenzo Cilli
|target=Leones dealer
|location=Atlantic Quays; St Marks; Chinatown
|fail=Player Character Death
|reward=$100
|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
Target: Leones dealer
Conditions of mission failure: Player Character Death
Reward: $100
Unlocks: Dealing Revenge
Unlocked by: N/A

Around Wikia's network

Random Wiki