Difference between revisions of "Template:Gamefeature"

From Citywars Savage
Jump to navigation Jump to search
Line 1: Line 1:
 
{| style="width: 600px;" class="wikitable"
 
{| style="width: 600px;" class="wikitable"
 
| style="text-align:center;padding: 10px;width: 80px;" rowspan="4" | {{#if: {{{image|}}}|[[Image:{{{image}}}]]|[[Image:Instagram_26fbf83fb074b52bc9b5a6a4453d7656.gif]]}}
 
| style="text-align:center;padding: 10px;width: 80px;" rowspan="4" | {{#if: {{{image|}}}|[[Image:{{{image}}}]]|[[Image:Instagram_26fbf83fb074b52bc9b5a6a4453d7656.gif]]}}
! style="width: 200px;" | Building Required
+
! Title
! style="width: 100px;" | Unlock Cost
 
! style="" | Expertise Unlocked
 
 
|-
 
|-
| {{#if: {{{building_required|}}}|[[List_of_validations#{{{building_required}}}|{{{building_required}}}]]|None}}
+
| {{#if: {{{title|}}}|{{{description}}}|None}}
| {{#if: {{{unlock_cost|}}}|[[Getting_Started#Making_Money|{{{unlock_cost}}}]]|''0$''}}
 
| {{#if: {{{expertise_unlocked|}}}|[[Expertise#{{{expertise_unlocked}}}|{{{expertise_unlocked}}}]]|None}}
 
 
|-
 
|-
! colspan="3" | Description
+
! Description
 
|-  
 
|-  
 
| colspan="3"| {{#if: {{{description|}}}|{{{description}}}|''None yet...''}}
 
| colspan="3"| {{#if: {{{description|}}}|{{{description}}}|''None yet...''}}
Line 19: Line 15:
 
<pre>
 
<pre>
 
{{gamefeature
 
{{gamefeature
| texture =  
+
| image =  
| building_required =
+
| title =  
| unlock_cost =
 
| expertise_unlocked =  
 
 
| description =  
 
| description =  
 
}}
 
}}
Line 28: Line 22:
  
 
===Parameters===
 
===Parameters===
; texture : The minecraft texture id for the icon.
+
; image : The minecraft texture id for the icon.
; building_required : The building required to validate if any
+
; title: The building required to validate if any
; unlock_cost : The cost to unlock it if any
 
; expertise_unlocked : The expertise unlocked if any
 
 
; description : Description of the expertise, what is does and stuff
 
; description : Description of the expertise, what is does and stuff
  
Line 38: Line 30:
 
{{gamefeature
 
{{gamefeature
 
| image = Instagram_26fbf83fb074b52bc9b5a6a4453d7656.gif
 
| image = Instagram_26fbf83fb074b52bc9b5a6a4453d7656.gif
| building_required = Academy
+
| title = Chickens
| learn_cost = 250 000$
+
| description = You must love all those chickens
| description =  
 
 
}}
 
}}
 
</pre>
 
</pre>
Line 46: Line 37:
 
{{gamefeature
 
{{gamefeature
 
| image = Instagram_26fbf83fb074b52bc9b5a6a4453d7656.gif
 
| image = Instagram_26fbf83fb074b52bc9b5a6a4453d7656.gif
| building_required = Academy
+
| title = Chickens
| learn_cost = 250 000$
+
| description = You must love all those chickens
| description =  
 
 
}}
 
}}
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 07:24, 4 December 2019

Instagram 26fbf83fb074b52bc9b5a6a4453d7656.gif Title
None
Description
None yet...


Usage

{{gamefeature
| image = 
| title = 
| description = 
}}

Parameters

image 
The minecraft texture id for the icon.
title
The building required to validate if any
description 
Description of the expertise, what is does and stuff

Example

{{gamefeature
| image = Instagram_26fbf83fb074b52bc9b5a6a4453d7656.gif
| title = Chickens
| description = You must love all those chickens
}}
Instagram 26fbf83fb074b52bc9b5a6a4453d7656.gif Title
You must love all those chickens
Description
You must love all those chickens