Difference between revisions of "Template:Infobox mc"
From WORST WIKI EVER
Jump to navigationJump to searchNotsokodya (talk | contribs) (init commit) |
Notsokodya (talk | contribs) (Added documentation) |
||
(3 intermediate revisions 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"> |
+ | <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 36: | Line 33: | ||
{{#if: {{{previous|}}} |
{{#if: {{{previous|}}} |
||
| |
| |
||
− | <td class="infobox-data">{{{previous|Previous}}}<br/>{{{ |
+ | <td class="infobox-data">{{{previous|Previous}}}<br/>{{{previous_date|Unknown}}}</td> |
| |
| |
||
}} |
}} |
||
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 | ||
|
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