Template:Infobox mod: Difference between revisions

From Modding Haven
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 3: Line 3:
|-
|-
{{#if: {{{logo|}}} |
{{#if: {{{logo|}}} |
{{!}} colspan="2" style="text-align:center;" {{!}} {{{image}}}
{{!}} colspan="2" style="text-align:center;" {{!}} <div class="logoimage-holder">{{{logo}}}<div>
{{!}}-
{{!}}-
| }}
| }}
{{#if: {{{logocaption|}}} |
{{#if: {{{logocaption|}}} |
{{!}} colspan="2" style="text-align:center;" {{!}} {{{imagecaption}}}
{{!}} colspan="2" style="text-align:center;" {{!}} {{{logocaption}}}
{{!}}- style="border-top:1px dashed #ccc;"
{{!}}- style="border-top:1px dashed #ccc;"
| }}
| }}
Line 18: Line 18:
{{#if: {{{version|}}} |
{{#if: {{{version|}}} |
! Latest version
! Latest version
{{!}} {{{platform}}}
{{!}} {{{version}}}
{{!}}-
{{!}}-
| }}
| }}
Line 43: Line 43:
: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.
: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.
;<code>logo</code></code>
;<code>logo</code></code>
:Used to put mod's logo in. Optional but recommended.
:Used to put mod's logo in. For logos please keep your images under 320x320px. Optional but recommended.
;<code>logocaption</code>
;<code>logocaption</code>
:Used to put a caption in. Optional.
:Used to put a caption in. Optional.
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>

Latest revision as of 05:42, 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[edit source]

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)