Difference between revisions of "Template:Building"
		
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
		
		
		
		
		
		
	
Speedybrain (talk | contribs)  | 
				Speedybrain (talk | contribs)   | 
				||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude>  | <noinclude>  | ||
| − | <  | + | <templatedata>  | 
| − | {{Building  | + | {  | 
| − | + |     "description": "Template for buildings.",  | |
| − | + |     "params": {  | |
| − | }}  | + |         "Tier": {  | 
| − | </  | + |             "label": "Building max tier",  | 
| + |             "type": "number",  | ||
| + |             "required": true  | ||
| + |         },  | ||
| + | "ConversionRate": {  | ||
| + |             "label": "Building conversion rate",  | ||
| + |             "type": "number",  | ||
| + |             "required": true  | ||
| + |         },  | ||
| + | "Image": {  | ||
| + |             "label": "Image of building",  | ||
| + |             "type": "wiki-file-name",  | ||
| + |             "required": true  | ||
| + |         },  | ||
| + | "Color": {  | ||
| + |             "label": "Building color",  | ||
| + |             "type": "string",  | ||
| + |             "required": true  | ||
| + |         },  | ||
| + | "ColorCode": {  | ||
| + |             "label": "color code",  | ||
| + |             "type": "string",  | ||
| + |             "required": false  | ||
| + |         }  | ||
| + |     }  | ||
| + | }  | ||
| + | </templatedata>  | ||
</noinclude>  | </noinclude>  | ||
<includeonly>  | <includeonly>  | ||
| − | {| class="wikitable" style="  | + | {| class="wikitable" style="float:right"  | 
!colspan="2"|<span>{{PAGENAME}}</span>  | !colspan="2"|<span>{{PAGENAME}}</span>  | ||
|-  | |-  | ||
| Line 17: | Line 43: | ||
|-  | |-  | ||
! Conversion rate  | ! Conversion rate  | ||
| − | | {{{ConversionRate}}}  | + | | {{{ConversionRate}}}:1  | 
|-  | |-  | ||
! Color theme  | ! Color theme  | ||
| − | | {{{Color}}}  | + | | <span style="font-weight:bold;color:{{{ColorCode}}}">{{{Color}}}</span>  | 
|-  | |-  | ||
|}  | |}  | ||
Latest revision as of 22:56, 12 November 2019
Template for buildings.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Building max tier | Tier | no description  | Number | required | 
| Building conversion rate | ConversionRate | no description  | Number | required | 
| Image of building | Image | no description  | File | required | 
| Building color | Color | no description  | String | required | 
| color code | ColorCode | no description  | String | optional |