|
|
(35 intermediate revisions by 7 users not shown) |
Line 1: |
Line 1: |
| {| class="infobox" style="width:22em; font-size:90%; text-align:left;" cellspacing="2" | | <includeonly>{{infobox |
| {{pipe}}- style="margin:0;"
| | |name = |
| !colspan="2" style="text-align: center;"{{pipe}}<small>MISSION</small><br /><span class="fn" style="font-size:18px;">{{{name|{{PAGENAME}}}}}</span>
| | |bodystyle = background-color: #F0F0FA; |
| | |title = Mission |
| | |titlestyle = font-size: 90%; |
| | text-transform: uppercase; |
| | background-color: #EEE; |
| | border: 1px solid #AAA; |
| | border-bottom: none; |
| | |above = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} |
| | |abovestyle = font-size: 150%; |
|
| |
|
| {{#if:{{{image|}}}| | | |image = {{#if:{{{image|}}}|[[File:{{{image}}}|{{#if:{{{size|}}}|{{{size|}}}|170px}}|center|{{{caption}}}]]}} |
|
| | |imagestyle = {{{imagestyle|}}} |
| {{pipe}}-
| | |caption = {{{caption|}}} |
| {{pipe}} colspan="2" align="center"{{pipe}}[[Image:{{{image}}}|{{#if:{{{size|}}}|{{{size|}}}|200px}}|center]]{{#if:{{{caption|}}}|<div style="line-height:1.25em;">{{{caption}}}</div>|}}|}}
| | |captionstyle = {{{captionstyle|}}} |
| {{pipe}}- valign="top"
| |
| ! style="text-align:right;"{{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|}}} | SA | [[Grand Theft Auto: San Andreas]]}}{{#ifeq: {{{game|}}} | VC | [[Grand Theft Auto: Vice City]]}}{{#ifeq: {{{game|}}} | III | [[Grand Theft Auto III]]}}{{#ifeq: {{{game|}}} | GTA2 | [[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]]}}
| |
| {{#if: {{{for|}}}|
| |
| {{pipe}}-
| |
| !style="text-align:right;"{{pipe}}For:
| |
| {{pipe}}{{{for|}}}|}} | |
| {{#if: {{{location|}}}|
| |
| {{pipe}}-
| |
| !style="text-align:right;"{{pipe}}Location:
| |
| {{pipe}}{{{location|}}}|}} | |
| {{#if: {{{target|}}}|
| |
| {{pipe}}-
| |
| !style="text-align:right;"{{pipe}}Target:
| |
| {{pipe}}{{{target|}}}|}}
| |
| {{#if: {{{reward|}}}|
| |
| {{pipe}}-
| |
| !style="text-align:right;"{{pipe}}Reward:
| |
| {{pipe}}{{{reward|}}}|}}
| |
| {{#if: {{{unlocks|}}}|
| |
| {{pipe}}-
| |
| !style="text-align:right;"{{pipe}}Unlocks:
| |
| {{pipe}}{{{unlocks|}}}|}}
| |
| {{#if: {{{unlockedby|}}}|
| |
| {{pipe}}-
| |
| !style="text-align:right;"{{pipe}}Unlocked By:
| |
| {{pipe}}{{{unlockedby|}}}|}}
| |
| {{#if: {{{fail|}}}|
| |
| {{pipe}}-
| |
| !style="text-align:right;"{{pipe}}Fail Conditions:
| |
| {{pipe}}{{{fail|}}}|}}
| |
| |}<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. | | |headerstyle = background:#444; color: #fff; |
| | |labelstyle = background:#ddd; |
| | |datastyle = |
|
| |
|
| | |header1 = |
|
| |
|
| Usage - example here is [[Slacker]].
| | |label1 = Game |
| | |data1 = {{gameselect|{{{game|}}}}}{{#IFEXIST: {{game|{{{game|}}}}} | [[Category:Missions in {{game|{{{game|}}}}}]] | [[Category:Fix Games]]}} |
|
| |
|
| Games IDs are: <code>GTA1, GTA2, L1969, L1961, III, VC, SA, LCS, VCS, IV</code>. Add your own links for target, for, location, reward and unlocks as necessary.
| | |label2 = Protagonist |
| | |data2 = {{{protagonist|}}} |
|
| |
|
| 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.
| | |label3 = For |
| | |data3 = {{{for|}}} |
|
| |
|
| '''Each instance of this infobox MUST have the game specified'''
| | |label4 = Objective |
| | |data4 = {{{objective|}}} |
|
| |
|
| <pre>
| | |label5 = Target |
| {{infobox mission | | |data5 = {{{target|}}} |
| |name=Slacker | | |
| |game=LCS | | |label6 = Location |
| |image=Cilli.gif | | |data6 = {{{location|}}} |
| |size=180px | | |
| |caption=Vincenzo Cilli | | |label7 = Fail |
| |for=Vincenzo Cilli | | |data7 = {{{fail|}}} |
| |target=Leones dealer | | |
| |location=Atlantic Quays; St Marks; Chinatown | | |label8 = Reward |
| |reward=$100 | | |data8 = {{{reward|}}} |
| |unlocks=[[Dealing Revenge]] | | |
| |unlockedby=N/A
| | |label9 = Unlocks |
| |fail=Player Character Death | | |data9 = {{{unlocks|}}} |
| }} | | |
| </pre>
| | |label10 = Unlocked by |
| produces:
| | |data10 = {{{unlockedby|}}} |
| {{infobox mission | | |
| |name=Slacker
| | |label11 = Time Limit |
| |game=LCS | | |data11 = {{{timelimit|}}} |
| |image=Cilli.gif | | |
| |size=180px | | |label12 = Achievements |
| |caption=Vincenzo Cilli
| | |data12 = {{{achievements|}}} |
| |for=Vincenzo Cilli | | |
| |target=Leones dealer | | |label13 = Special Vehicles |
| |location=Atlantic Quays; St Marks; Chinatown | | |data13 = {{{vehicles|}}} |
| |reward=$100
| | |
| |unlocks=[[Dealing Revenge]] | | |label14 = Deaths |
| |unlockedby=N/A | | |data14 = {{{deaths|}}} |
| |fail=Player Character Death}} | | |
| </noinclude><noinclude> | | }}</includeonly><noinclude>{{doc}} |
| [[category:infoboxes]]
| | [[Category:Infobox Templates]] |
| [[Category:Templates|{{PAGENAME}}]]</noinclude> | | </noinclude> |