Difference between revisions of "Template:Gamefeature"

From Citywars Savage
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="row wikitable">
+
{| style="width: 100%;" class="wikitable gamefeature"
<div class="col-12">{{#if: {{{title|}}}|{{{title}}}|None}}</div>
+
! colspan="2" | {{#if: {{{title|}}}|{{{title}}}|None}}
</div>
+
|-
<div class="row wikitable">
+
| style="text-align:center;padding: 10px;height: 256px;max-width: 256px;" | {{#if: {{{image|}}}|[[Image:{{{image}}}]]|[[Image:Instagram_26fbf83fb074b52bc9b5a6a4453d7656.gif]]}}
<div class="col-12 col-md-6">{{#if: {{{image|}}}|[[Image:{{{image}}}]]|[[Image:Instagram_26fbf83fb074b52bc9b5a6a4453d7656.gif]]}}</div>
+
| style="vertical-align: top;padding: 10px;max-width: 256px;" | {{#if: {{{description|}}}|{{{description}}}|''None yet...''}}
<div class="col-12 col-md-6">{{#if: {{{description|}}}|{{{description}}}|''None yet...''}}</div>
+
|-
</div>
+
| {{#if: {{{development|}}}|Development: {{loading_bar
<div class="row wikitable">
+
| width = 40%
<div class="col-12 col-md-6">{{#if: {{{development|}}}|Development: {{{development}}}%|Development: 0%}}</div>
+
| percent = {{{development}}}
<div class="col-12 col-md-6">{{#if: {{{gameplay|}}}|Gameplay: {{{gameplay}}}%|Gameplay: 0%}}</div>
+
}}|Development: {{loading_bar
</div>
+
| width = 40%
<noinclude>
+
| percent = 0
{{-}}
+
}}}}
 
+
| {{#if: {{{gameplay|}}}|Gameplay: {{loading_bar
==Usage==
+
| width = 40%
 
+
| percent = {{{gameplay}}}
<pre>
+
}}|Gameplay: {{loading_bar
{{gamefeature
+
| width = 40%
| image =  
+
| percent = 0
| title =  
+
}}}}
| description =
+
|}<noinclude>
| development =
+
{{documentation}}
| gameplay =
+
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
}}
 
</pre>
 
 
 
===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