Difference between revisions of "Template:Gamefeature"

From Citywars Savage
Jump to navigation Jump to search
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| style="width: 552px;" class="wikitable"
+
{| style="width: 100%;" class="wikitable gamefeature"
 
! colspan="2" | {{#if: {{{title|}}}|{{{title}}}|None}}
 
! colspan="2" | {{#if: {{{title|}}}|{{{title}}}|None}}
 
|-
 
|-
| style="text-align:center;padding: 10px;width: 80px;" | {{#if: {{{image|}}}|[[Image:{{{image}}}]]|[[Image:Instagram_26fbf83fb074b52bc9b5a6a4453d7656.gif]]}}
+
| style="text-align:center;padding: 10px;height: 256px;max-width: 256px;" | {{#if: {{{image|}}}|[[Image:{{{image}}}]]|[[Image:Instagram_26fbf83fb074b52bc9b5a6a4453d7656.gif]]}}
| style="vertical-align: top;padding: 10px;" | {{#if: {{{description|}}}|{{{description}}}|''None yet...''}}
+
| style="vertical-align: top;padding: 10px;max-width: 256px;" | {{#if: {{{description|}}}|{{{description}}}|''None yet...''}}
 
|-
 
|-
| {{#if: {{{development|}}}|Development: {{{development}}}%|Development: 0%}}
+
| {{#if: {{{development|}}}|Development: {{loading_bar
| {{#if: {{{gameplay|}}}|Gameplay: {{{gameplay}}}%|Gameplay: 0%}}
+
| width = 40%
 +
| percent = {{{development}}}
 +
}}|Development: {{loading_bar
 +
| width = 40%
 +
| percent = 0
 +
}}}}
 +
| {{#if: {{{gameplay|}}}|Gameplay: {{loading_bar
 +
| width = 40%
 +
| percent = {{{gameplay}}}
 +
}}|Gameplay: {{loading_bar
 +
| width = 40%
 +
| percent = 0
 +
}}}}
 
|}<noinclude>
 
|}<noinclude>
{{-}}
+
{{documentation}}
 
+
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
==Usage==
 
 
 
<pre>
 
{{gamefeature
 
| image =
 
| title =
 
| description =
 
| development =
 
| gameplay =
 
}}
 
</pre>
 
 
 
===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
 
; development : percentage of the decelopment
 
; gameplay : percentage of the gameplay
 
 
 
==Example==
 
<pre>
 
{{gamefeature
 
| image = Instagram_26fbf83fb074b52bc9b5a6a4453d7656.gif
 
| title = Chickens
 
| description = You must love all those chickens
 
| development = 100
 
| gameplay = 50
 
}}
 
</pre>
 
 
 
{{gamefeature
 
| image = Instagram_26fbf83fb074b52bc9b5a6a4453d7656.gif
 
| title = Chickens
 
| description = You must love all those chickens
 
| development = 100
 
| gameplay = 50
 
}}
 
 
 
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 03:26, 6 December 2019

None
Instagram 26fbf83fb074b52bc9b5a6a4453d7656.gif None yet...
Development:
Gameplay:

Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted