Template:Infobox mod: Difference between revisions

From Modding Haven
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
|-
|-
{{#if: {{{logo|}}} |
{{#if: {{{logo|}}} |
{{!}} colspan="2" style="text-align:center; max-width: 320px; max-height: 320px;" {{!}} {{{logo}}}
{{!}} colspan="2" style="text-align:center;" {{!}} <div max-width: 320px; max-height: 320px;">{{{logo}}}</div>
{{!}}-
{{!}}-
| }}
| }}
Line 54: Line 54:
;<code>blank</code>
;<code>blank</code>
:A spacer to put between parameters  Optional. <br> start by adding "blank = " and then use the code " < span style= "color: #ECECEC"  >blank < /span > " (remember to remove the spaces in the code or it wont work)
:A spacer to put between parameters  Optional. <br> start by adding "blank = " and then use the code " < span style= "color: #ECECEC"  >blank < /span > " (remember to remove the spaces in the code or it wont work)
[[Category:General wiki templates]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>

Revision as of 05:28, 22 February 2024

Infobox mod


Infobox mod

An infobox for game pages. Based on the improved Infobox mod template, using a design closely modelled from Wikipedia with our own tweaks. Most parameters are optional but are explained below.

Parameters

The order of this list of parameters is meant to match the order they are displayed in the box. You can technically place each parameter in any order you want (as opposed to first, second, third, etc.) in the markup, but it can get confusing as the template is designed to have the values show up only one way.

title
The name of the mod. If no value is given, it will default to the name of the page instead, so it's highly recommended to set the parameter yourself.
logo
Used to put mod's logo in. For logos please keep your images under 320x320px. Optional but recommended.
logocaption
Used to put a caption in. Optional.
developer
Who's made the mod? Optional but recommended.
version
Latest version of the mod. Optional but recommended.
release
The release date of the mod. Optional but recommended.
blank
A spacer to put between parameters Optional.
start by adding "blank = " and then use the code " < span style= "color: #ECECEC" >blank < /span > " (remember to remove the spaces in the code or it wont work)