Template:Game: Difference between revisions

From MZXWiki
Jump to navigation Jump to search
m (Add "directlink" field for special DMZX download pages)
m (Combine download templates to single line)
 
(One intermediate revision by the same user not shown)
Line 36: Line 36:
|- valign="top"
|- valign="top"
| style="white-space: nowrap; background: #00509f none; padding: 5px;" | '''Download'''
| style="white-space: nowrap; background: #00509f none; padding: 5px;" | '''Download'''
| style="width:15em; padding: 5px;" |
| 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.'' }} }}
  {{#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>
|} [[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 =
}}