Difference between revisions of "Template:GameTile"

From Nexus Mods Wiki
Jump to: navigation, search
m
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><div style="position:relative;max-width:{{{width}}};overflow:hidden;z-index:2; display:inline-block;text-align:left;">[[{{{image}}} | {{{width}}} |link={{{link}}}|{{{name}}}]]<div style="max-width:{{{width}}};color:#fff;font-size: 1em; position:absolute;bottom:0px;left:0px;z-index:3;padding:10px;line-height:1.2em;display:inline-flex;font-weight:800;background-color:rgba(0, 0, 0, 0.5); width: 100%;">[[{{{link}}}|{{{name}}}]]</div></div></includeonly>
+
<includeonly><div style="position:relative;max-width:{{{width}}};overflow:hidden;z-index:2; display:inline-block;text-align:left;">[[{{{image}}} | {{{width}}} |link={{{link}}}|{{{name}}}]]<div style="max-width:{{{width}}};color:#fff;font-size: 1em; position:absolute;bottom:0px;left:0px;z-index:3;padding:10px 5px;line-height:1.2em;display:inline-flex;font-weight:800;background-color:rgba(0, 0, 0, 0.5); width: 100%; height: 2em;">[[{{{link}}}|{{{name}}}]]</div></div></includeonly>
 
<noinclude>== Usage ==
 
<noinclude>== Usage ==
 
Display game tile in a block.
 
Display game tile in a block.

Latest revision as of 19:01, 22 August 2019

Usage

Display game tile in a block.

Settings

  • width = display width (recommend 250px)
  • image = File as reference by wiki e.g. File:KCD-Cover.jpg
  • link = internal wikipage name
  • name = name of the game.