Template:Game: Difference between revisions

From MZXWiki
Jump to navigation Jump to search
m (Reverted edits by DomacElrol (Talk); changed back to last version by Wervyn)
 
m (Combine download templates to single line)
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
Here is both the code and a preview of the Game template.  Use it in MZX/ZZT game articles. For the image, just enter the filename as it appears in the wiki uploads directory. The screenshot system on the front page will soon be retooled to grab screenshots from the wiki instead of the /screens directory.
Here is both the code and a preview of the Game template.  Use it in MZX/ZZT game articles. For the image, just enter the filename as it appears in the wiki uploads directory. The download/"vault" field is for an archive ID, if applicable. The "directlink" field should only be used for special DMZX pages such as the MegaZeux downloads page.


{| style="background: transparent; float: left;"  
{| style="background: transparent; float: left;"  
|<pre>{{Game| title =  
|<pre>{{Game
|title =  
|image =  
|image =  
|creator =  
|creator =  
Line 9: Line 10:
|released =  
|released =  
|genre =  
|genre =  
|vault =
|directlink =
}}</pre>
}}</pre>
|}
|}


[[Category:Template]]
[[Category:Template]]
</noinclude>
</noinclude><includeonly>
{| class="game" style="border-spacing: 5px; padding: 5px; margin-left: 5px; margin-right: 0px; margin-top: 0px; margin-bottom: 5px; width: 25em; font-size: 90%; align: right; float: right; clear: right;"
{| class="game" style="border-spacing: 5px; padding: 5px; margin-left: 5px; margin-right: 0px; margin-top: 0px; margin-bottom: 5px; width: 25em; font-size: 90%; align: right; float: right; clear: right;"
|-
|-
| colspan="2" style="background: #00509f none; font-size: 150%; text-align: center;" | '''''{{{title}}}'''''
| colspan="2" style="background: #00509f none; font-size: 150%; text-align: center;" | '''''{{{title}}}'''''
|-
|-
| colspan="2" style="text-align: center;" | [[Image:{{{image|}}}|160px]]
| colspan="2" style="text-align: center;" | [[Image:{{{image|}}}|320px]]
|- valign="top"
|- valign="top"
| style="white-space: nowrap; background: #00509f none; padding: 5px;" | '''Author'''
| style="white-space: nowrap; background: #00509f none; padding: 5px;" | '''Author'''
Line 32: Line 34:
| style="white-space: nowrap; background: #00509f none; padding: 5px;" | '''Genre'''
| style="white-space: nowrap; background: #00509f none; padding: 5px;" | '''Genre'''
| style="width:15em; padding: 5px;" | {{{genre}}}
| style="width:15em; padding: 5px;" | {{{genre}}}
|}
|- valign="top"
 
| style="white-space: nowrap; background: #00509f none; padding: 5px;" | '''Download'''
[[Category:Games]]
| style="width:15em; padding: 5px;" | {{#if:{{{vault|}}} | <span class="plainlinks">[https://www.digitalmzx.com/show.php?id={{{vault}}} DMZX Archive]</span> | {{#if:{{{directlink|}}} | <span class="plainlinks">[https://www.digitalmzx.com/{{{directlink}}} Here]</span> | ''No link available.'' }} }}
|} [[Category:Games]]</includeonly>

Latest revision as of 17:00, 29 December 2019

Here is both the code and a preview of the Game template. Use it in MZX/ZZT game articles. For the image, just enter the filename as it appears in the wiki uploads directory. The download/"vault" field is for an archive ID, if applicable. The "directlink" field should only be used for special DMZX pages such as the MegaZeux downloads page.

{{Game
|title = 
|image = 
|creator = 
|company = 
|released = 
|genre = 
|vault = 
|directlink =
}}