Difference between revisions of "Template:Infobox mc"

From WORST WIKI EVER
Jump to navigationJump to search
(since my decision to make "next_date" and "date_previous" was fucking bullshit i decided to change "date_previous" to "previous_date")
(Added documentation)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
  +
<onlyinclude>
 
<templatestyles src="Template:Infobox/styles.css"/>
 
<templatestyles src="Template:Infobox/styles.css"/>
 
<table class="infobox minecraft">
 
<table class="infobox minecraft">
Line 19: Line 20:
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<th scope="row" class="infobox-label">Startup</th>
+
<th scope="row" class="infobox-label">Date</th>
<td class="infobox-data">{{{date}}}</td>
+
<td class="infobox-data">{{{date}}} - {{{date_close|Now}}}</td>
</tr>
 
<tr>
 
<th scope="row" class="infobox-label">Close date</th>
 
<td class="infobox-data">{{{date_close}}}</td>
 
 
</tr>
 
</tr>
   
Line 50: Line 47:
 
</tr>
 
</tr>
 
</table>
 
</table>
  +
</onlyinclude>
  +
== Usage ==
  +
<nowiki>{{Infobox mc}}</nowiki> is template for creating infoboxes for Minecraft server events.
  +
  +
== Parameters ==
  +
* '''title''': Title of the infobox (optional, in case if it wasn't provided will be replaced with page name)
  +
* '''image''': Name of image file (optional)
  +
* '''version''': Version of the Minecraft server. If it was modded, provide ModLoader name as well.
  +
* '''date''': The launch date
  +
* '''date_close''': The closure date
  +
* '''previous''': The link and name of previous Minecraft server
  +
* '''previous_date''': The date of launch previous Minecraft server
  +
* '''next''': The link and name of next Minecraft server
  +
* '''next_date''': The date of launch next Minecraft server

Latest revision as of 09:19, 12 April 2025

Infobox mc
Details
Version Umm you forgor the version..
Date {{{date}}} - Now
Minecraft Servers chronology
Infobox mc
{{{date}}}

Usage

{{Infobox mc}} is template for creating infoboxes for Minecraft server events.

Parameters

  • title: Title of the infobox (optional, in case if it wasn't provided will be replaced with page name)
  • image: Name of image file (optional)
  • version: Version of the Minecraft server. If it was modded, provide ModLoader name as well.
  • date: The launch date
  • date_close: The closure date
  • previous: The link and name of previous Minecraft server
  • previous_date: The date of launch previous Minecraft server
  • next: The link and name of next Minecraft server
  • next_date: The date of launch next Minecraft server