Template:Infobox structure: Difference between revisions

(Added data field for mission appearances; reduced game count to 10; added underscore between "game" and game number (Following Category:Fix Games))
(Undo revision 393383 by Alleypuppy (talk))
Line 16: Line 16:
|datastyle    =  
|datastyle    =  
|header1  =  
|header1  =  
|label1  = Game appearances:
|label1  = Appearance(s):
|data1    = {{gameselect|{{{game_1|{{{game|}}}}}}|{{{game_2|}}}|{{{game_3|}}}|{{{game_4|}}}|{{{game_5|}}}|{{{game_6|}}}|{{{game_7|}}}|{{{game_8|}}}|{{{game_9|}}}|{{{game_10|}}}}}{{#ifexist: {{games|}} | [[Appearance::{{game|{{{games|}}}}}]] [[Category:Fix Games]]}}
|data1    = {{gameselect|{{{game1|{{{game|}}}}}}|{{{game2|}}}|{{{game3|}}}|{{{game4|}}}|{{{game5|}}}|{{{game6|}}}|{{{game7|}}}|{{{game8|}}}|{{{game9|}}}|{{{game10|}}}|{{{game11|}}}|{{{game12|}}}|{{{game13|}}}|{{{game14|}}}|{{{game15|}}}|{{{game16|}}}|{{{game17|}}}|{{{game18|}}}|{{{game19|}}}|{{{game20|}}}}}{{#ifexist: {{games|}} | [[Appearance::{{game|{{{games|}}}}}]] [[Category:Fix Games]]}}
|header2  =  
|header2  =  
|label2  = Location:
|label2  = Location:
Line 30: Line 30:
|label5  = Design style:
|label5  = Design style:
|data5    = {{#if: {{{designstyle|}}}|{{{designstyle|}}}|}}
|data5    = {{#if: {{{designstyle|}}}|{{{designstyle|}}}|}}
|header6  =
|label6  = Mission appearances:
|data6    = {{missionselect|{{{mission_1|}}}|{{{mission_2|}}}|{{{mission_3|}}}}}
}}[[Category:Structures]] </includeonly><noinclude>{{doc}}[[Category:Infobox Templates]]
}}[[Category:Structures]] </includeonly><noinclude>{{doc}}[[Category:Infobox Templates]]
</noinclude>
</noinclude>

Revision as of 20:38, 29 December 2013

This documentation is imported from Template:Infobox structure/doc

This infobox is used for structures and buildings:

{{infobox structure
|name = <name of structure>
|image = <image of structure>
|caption = <image caption>
|game_1 = <game in which structure appears (up to game_10)>
|location = <location of structure>
|use = <structure's use in-game>
|height = <height of structure>
|designstyle = <structure's design style>
}}