Template:Mod spotlight: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
TheOnlyZac (talk | contribs) (Created template for main page) |
TheOnlyZac (talk | contribs) (Updated to use parameters) |
||
Line 1: | Line 1: | ||
<templatestyles src="Template:Mod spotlight/styles.css"/> |
<includeonly><templatestyles src="Template:Mod spotlight/styles.css"/> |
||
<div class="featuredmod shadow-box" style="max-width: {{{width|}}}; max-height: {{{height|}}};"> |
|||
⚫ | |||
<div class="modspotlight- |
<div class="modspotlight-container"> |
||
<div class="modspotlight-header">Mod Spotlight</div> |
|||
<div class="modspotlight-title">{{{title|}}}</div> |
|||
<div class="modspotlight-creator">by {{{creator|}}}</div> |
|||
⚫ | |||
<div class="modspotlight-content">This mod adds an extra challenge to Sly 2 by having the Klaww Gang bosses patrol the map in free roam. Dimitri patrols in Ep 1 once you complete "Follow Dmitri", Rajan patrols in Ep 3 once you complete "Leading Rajan", and Jean Bison patrols in Ep 7 at all times.</div> |
|||
<div class="modspotlight-content">{{{description|}}}</div> |
|||
<div class="modspotlight-link">[[{{{article|}}}|Learn more and download this mod]]</div> |
|||
⚫ | |||
</div> |
|||
⚫ | |||
{{Documentation}} |
{{Documentation}} |
||
</noinclude> |
</noinclude> |
Revision as of 21:36, 10 November 2022
This template is for featuring mods on the Main Page and userpages.
Usage
width
and height
parameters are optional. Default behavior is to fill available width and fit height to content.
{{Mod spotlight |width=500px |title=Freecam for Sly 1 |creator=TheOnlyZac |image=File:Sly_1_Burning_Rubber_zoomout.png |description=This mod adds a free camera mode to Sly Cooper and the Thievius Raccoonus, allowing you to move the camera anywhere. |article=Sly 1:Freecam mod }}
Mod Spotlight
Freecam for Sly 1
by TheOnlyZac
File:Sly_1_Burning_Rubber_zoomout.png
This mod adds a free camera mode to Sly Cooper and the Thievius Raccoonus, allowing you to move the camera anywhere.
Template data
This is the TemplateData documentation for this template used by VisualEditor and other tools.
TemplateData for Mod spotlight
A template for displaying featured mods on the main page and user pages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
width | width | Max width for the container div
| Unknown | optional |
height | height | Max height for the container div
| Unknown | optional |
title | title | Title of the mod | String | required |
creator | creator | Name of the mod creator | String | required |
image | image | Name of image file to display | File | required |
description | description | Description text to display | String | required |
article | article | Title of the wiki article for this mod | Page name | required |