Template:Infobox mission: Difference between revisions

no edit summary
mNo edit summary
No edit summary
Line 1: Line 1:
<table class="infobox" style="width:{{{box_width|22em}}}; font-size:90%; text-align:left;" cellspacing="2">
<table class="infobox" style="width:{{{box_width|22em}}}; font-size:90%; text-align:left;" cellspacing="2"><tr><th colspan="2" style="text-align: center;"><big class="fn">{{{name|{{PAGENAME}}}}}</big></th></tr>{{#if:{{{image|}}}|<tr><td colspan="2" align="center">[[Image:{{{image}}}|180x180px|center]]{{#if:{{{caption|}}}|<div style="line-height:1.25em;">{{{caption}}}</div>|}}</td></tr>|}}{{#if:{{{game|}}}|<tr valign="top"><th style="text-align:right;">Game</th><td>{{#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]]}}</td></tr>|}}{{#if:{{{for|}}}|<tr valign="top"><th style="text-align:right;">For</th><td>[[{{{for}}}]]</td></tr>}}{{#if: {{reward|}}}|<tr valign="top"><th style="text-align:right;">Reward</th><td>{{{reward}}}</td></tr>}}{{#if:{{{unlocks|}}}|<tr valign="top"><th style="text-align:right;">Unlocks</th><td>{{{unlocks}}}</td></tr>}}</table><noinclude>
 
<tr><th colspan="2" style="text-align: center;">
<big class="fn">{{{name|{{PAGENAME}}}}}</big>
</th></tr>
{{#if:{{{game|}}}|<tr valign="top"><th style="text-align:right;">Game</th><td>{{#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]]}}</td></tr>
|}}
{{#if:{{{for|}}}|<tr valign="top"><th style="text-align:right;">For</th><td>[[{{{for}}}]]</td></tr>
}}
{{#if:{{{reward|}}}|<tr valign="top"><th style="text-align:right;">Reward</th><td>{{{reward}}}</td></tr>
}}
{{#if:{{{unlocks|}}}|<tr valign="top"><th style="text-align:right;">Unlocks</th><td>{{{unlocks}}}</td></tr>
}}
</table><noinclude>
Usage - example is [[Slacker]].
Usage - example is [[Slacker]].