Difference between revisions of "Template:Building"

From Kerbal Space Program Wiki
Jump to: navigation, search
m
m
 
Line 14: Line 14:
 
|AdministrationBuilding=Administration_Facility.jpg
 
|AdministrationBuilding=Administration_Facility.jpg
 
}}{{#if:{{{4|}}}|{{!}}{{{4}}}px|}}{{#ifeq:{{{5|}}}|thumb|{{!}}thumb{{#if:{{{comment|}}}|{{!}}{{{comment}}}|}}|{{#ifeq:{{{5|}}}|true|{{!}}thumb{{#if:{{{comment|}}}|{{!}}{{{comment}}}|}}|}}}}]]}}<noinclude>
 
}}{{#if:{{{4|}}}|{{!}}{{{4}}}px|}}{{#ifeq:{{{5|}}}|thumb|{{!}}thumb{{#if:{{{comment|}}}|{{!}}{{{comment}}}|}}|{{#ifeq:{{{5|}}}|true|{{!}}thumb{{#if:{{{comment|}}}|{{!}}{{{comment}}}|}}|}}}}]]}}<noinclude>
 +
{{Box|This template causes problems due to the current [[Kerbal_Space_Program_Wiki:Migration_problems|migration problems]].}}
 
=== Parameters ===
 
=== Parameters ===
 
{{Parameter table|parameters=
 
{{Parameter table|parameters=
Line 21: Line 22:
 
{{Parameter row|4|Picture size in pixels.|default picture size|Yes}}
 
{{Parameter row|4|Picture size in pixels.|default picture size|Yes}}
 
{{Parameter row|5|Is the picture a thumbnail ? If yes, set to <tt>thumb</tt> or <tt>true</tt>|Not thumb|Yes}}
 
{{Parameter row|5|Is the picture a thumbnail ? If yes, set to <tt>thumb</tt> or <tt>true</tt>|Not thumb|Yes}}
{{Parameter row|comment|Comment below the thumbnail. (requires to be a thumbnail)|No comment|Yes}}
+
{{Parameter row|comment|Comment below the thumbnail. (requires to be a thumbnail)|No comment|Yes}}}}
}}
 
==== Example ====
 
<pre>{{building|SPH|2|interior|400}}</pre> gives {{building|SPH|2|interior|400}}
 

Latest revision as of 13:36, 14 June 2015

Image does not exist !

This template causes problems due to the current migration problems.

Parameters

# Optional Description Default
1 No Building name/short name (see the list below).
2 Yes Building level. level 1
3 Yes Is the picture the level interior ? If yes, set to interior. No
4 Yes Picture size in pixels. default picture size
5 Yes Is the picture a thumbnail ? If yes, set to thumb or true Not thumb
comment Yes Comment below the thumbnail. (requires to be a thumbnail) No comment