WildBrick142 (talk | contribs) No edit summary |
WildBrick142 (talk | contribs) (setting default size to 300px) Tag: sourceedit |
||
(26 intermediate revisions by 3 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|}}}| |
+ | {{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: |
||
− | |{{#ifeq: style="background: #656565; text-align:left; color: white;"{{pipe}}{{{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]]''}} |
+ | |{{#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="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 20: | Line 20: | ||
{{pipe}}- |
{{pipe}}- |
||
}} |
}} |
||
− | {{#if: {{{ |
+ | {{#if: {{{protagonists|}}}| |
{{pipe}}- |
{{pipe}}- |
||
− | ! |
+ | !style="background: #000000; color:lightgray; text-align:center;"{{pipe}}Protagonist(s): |
− | {{pipe}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{ |
+ | {{pipe}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{protagonists|}}}| |
{{pipe}}- |
{{pipe}}- |
||
}} |
}} |
||
− | {{#if: {{{ |
+ | {{#if: {{{cost|}}}| |
{{pipe}}- |
{{pipe}}- |
||
− | ! |
+ | !style="background: #000000; color:lightgray; text-align:center;"{{pipe}}Set-up cost: |
− | {{pipe}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{ |
+ | {{pipe}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{cost|}}}| |
{{pipe}}- |
{{pipe}}- |
||
}} |
}} |
||
− | {{#if: {{{ |
+ | {{#if: {{{target|}}}| |
{{pipe}}- |
{{pipe}}- |
||
− | ! |
+ | !style="background: #000000; color:lightgray; text-align:center;"{{pipe}}Target: |
− | {{pipe}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{ |
+ | {{pipe}} style="background: #656565; text-align:left; color: white;"{{pipe}}{{{target|}}}| |
{{pipe}}- |
{{pipe}}- |
||
}} |
}} |
||
− | {{#if: {{{ |
+ | {{#if: {{{todo|}}}| |
{{pipe}}- |
{{pipe}}- |
||
− | ! |
+ | !style="background: #000000; color:lightgray; text-align:center;" colspan="2"{{pipe}}Mission Objectives: |
+ | {{pipe}}- |
||
− | {{pipe}} |
+ | {{pipe}}style="background: #656565; text-align:left; color: white;" colspan="2"{{pipe}}{{{todo|}}}| |
{{pipe}}- |
{{pipe}}- |
||
}} |
}} |
||
− | {{#if: {{{ |
+ | {{#if: {{{fail|}}}| |
{{pipe}}- |
{{pipe}}- |
||
− | ! |
+ | !style="background: #000000; color:lightgray; text-align:center;" colspan="2"{{pipe}}Conditions of mission failure: |
+ | {{pipe}}- |
||
− | {{pipe}} |
+ | {{pipe}}style="background: #656565; text-align:left; color: white;" colspan="2"{{pipe}}{{{fail|}}}| |
{{pipe}}- |
{{pipe}}- |
||
}} |
}} |
||
− | {{#if: {{{ |
+ | {{#if: {{{reward|}}}| |
+ | {{pipe}}- |
||
⚫ | |||
{{pipe}}- |
{{pipe}}- |
||
− | + | {{pipe}}style="background: #656565; text-align:left; color: white;" colspan="2"{{pipe}}{{{reward|}}}| |
|
⚫ | |||
{{pipe}}- |
{{pipe}}- |
||
}} |
}} |
||
{{#if: {{{unlocks|}}}| |
{{#if: {{{unlocks|}}}| |
||
{{pipe}}- |
{{pipe}}- |
||
− | ! |
+ | !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 64: | Line 67: | ||
{{#if: {{{unlockedby|}}}| |
{{#if: {{{unlockedby|}}}| |
||
{{pipe}}- |
{{pipe}}- |
||
− | ! |
+ | !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 70: | Line 73: | ||
|}<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 80: | Line 85: | ||
<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 87: | Line 95: | ||
|for=Vincenzo Cilli |
|for=Vincenzo Cilli |
||
|target=Leones dealer |
|target=Leones dealer |
||
+ | |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]] |
|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 116: | ||
|caption=Vincenzo Cilli |
|caption=Vincenzo Cilli |
||
|for=Vincenzo Cilli |
|for=Vincenzo Cilli |
||
− | |target=Leones dealer |
+ | |target= Leones dealer |
+ | |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]] |
|first=[[Leone Dealer (GTA LCS)|Unnamed Leone Dealer]] |
||
Line 111: | Line 126: | ||
|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]] |
Revision as of 13:23, 3 April 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 |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 | |
---|---|
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 |
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 |