Difference between revisions of "Template:Gamefeature"

From Citywars Savage
Jump to navigation Jump to search
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| style="" 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}}}
<noinclude>
+
}}|Development: {{loading_bar
{{-}}
+
| width = 40%
 
+
| percent = 0
==Usage==
+
}}}}
 
+
| {{#if: {{{gameplay|}}}|Gameplay: {{loading_bar
<pre>
+
| width = 40%
{{gamefeature
+
| percent = {{{gameplay}}}
| image =  
+
}}|Gameplay: {{loading_bar
| title =  
+
| width = 40%
| description =
+
| percent = 0
| development =
+
}}}}
| gameplay =
+
|}<noinclude>
}}
+
{{documentation}}
</pre>
+
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
 
 
===Parameters===
 
; image : The animated image of the feature. Must be 256x256.
 
; title: The title of the feature
 
; description : Description of the feature
 
; 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