Difference between revisions of "Template:Infobox mission"

From Grand Theft Wiki
Jump to: navigation, search
m (fix)
 
(3 intermediate revisions by 2 users not shown)
Line 11: Line 11:
 
|abovestyle = font-size: 150%;
 
|abovestyle = font-size: 150%;
  
|image        = {{#if:{{{image|}}}|[[File:{{{image}}}|{{#if:{{{size|}}}|{{{size|}}}|170px}}|center|{{{caption}}}]][[Image::File:{{{image}}}| ]]}}
+
|image        = {{#if:{{{image|}}}|[[File:{{{image}}}|{{#if:{{{size|}}}|{{{size|}}}|170px}}|center|{{{caption}}}]]}}
 
|imagestyle  = {{{imagestyle|}}}
 
|imagestyle  = {{{imagestyle|}}}
 
|caption      = {{{caption|}}}
 
|caption      = {{{caption|}}}
Line 25: Line 25:
 
|data1  = {{gameselect|{{{game|}}}}}{{#IFEXIST: {{game|{{{game|}}}}} | [[Category:Missions in {{game|{{{game|}}}}}]] | [[Category:Fix Games]]}}
 
|data1  = {{gameselect|{{{game|}}}}}{{#IFEXIST: {{game|{{{game|}}}}} | [[Category:Missions in {{game|{{{game|}}}}}]] | [[Category:Fix Games]]}}
  
|label2  = For
+
|label2  = Protagonist
|data2  = {{{for|}}}
+
|data2  = {{{protagonist|}}}
  
|label3  = Target
+
|label3  = For
|data3  = {{{target|}}}
+
|data3  = {{{for|}}}
  
|label4  = Location
+
|label4  = Objective
|data4   = {{{location|}}}
+
|data4 = {{{objective|}}}
  
|label5  = Fail
+
|label5  = Target
|data5  = {{{fail|}}}
+
|data5  = {{{target|}}}
  
|label6  = Reward
+
|label6  = Location
|data6  = {{{reward|}}}
+
|data6  = {{{location|}}}
  
|label7  = Unlocks
+
|label7  = Fail
|data7  = {{{unlocks|}}}
+
|data7   = {{{fail|}}}
 +
 
 +
|label8  = Reward
 +
|data8  = {{{reward|}}}
 +
 
 +
|label9  = Unlocks
 +
|data9   = {{{unlocks|}}}
 +
 
 +
|label10  = Unlocked by
 +
|data10  = {{{unlockedby|}}}
 +
 
 +
|label11  = Time Limit
 +
|data11  = {{{timelimit|}}}
 +
 
 +
|label12  = Achievements
 +
|data12  = {{{achievements|}}}
 +
 
 +
|label13  = Special Vehicles
 +
|data13  = {{{vehicles|}}}
 +
 
 +
|label14  = Deaths
 +
|data14  = {{{deaths|}}}
  
|label8  = Unlocked by
 
|data8  = {{{unlockedby|}}}
 
 
}}</includeonly><noinclude>{{doc}}
 
}}</includeonly><noinclude>{{doc}}
 
[[Category:Infobox Templates]]
 
[[Category:Infobox Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 20:18, 2 July 2014

This documentation is imported from Template:Infobox mission/doc

This is an infobox to go at the top of every mission article.

This code should be placed at the very top of the page.

As well as displaying data, it also sets some semantic properties and also automatically sets the category 'Missions in [game]"

Make sure every possible field is filled in:

{{infobox mission
| image = Image-Name-Only.jpg
| caption = Caption for image
| name = Name of Mission
| game = VC
| protagonist = Which GTA V protagonist is this for?
| for = [[Victor Vance|Vic Vance]]
| objective = A short description of the objective
| target = [[Vice City Mall]]
| location = [[Starfish Island]]
| fail = Death
| reward = $20,000
| unlocks = [[VCPD Cheetah]]<br>[[Keep Your Friends Close...]]
| unlockedby = [[Cap the Collector]]
| timelimit = 5 minutes
| achievements = 
| vehicles = List of special vehicles involved in the mission
| deaths = List of named characters that die or ''can die'' in the mission
}}