Wiki contribution guide/Templates

From RetroMC
Revision as of 13:09, 17 October 2024 by Ast3risk0ps (talk | contribs) (fix page templates title)
Jump to navigation Jump to search
Wiki contribution guideNavigation

This page documents all the fun templates you can use on the wiki not covered in the style guide.

Infoboxes

These are different boxes with information that appear on the side of the page.

The basic Infobox (taken from Wikipedia) looks like this:

ℹ️ Notice: Wikitext and HTML are supported in all manual Infoboxes.

Infobox example
RetroMC logo.
Header label
OwnerScout
Established2014
Addresshttps://retromc.org
 {{Infobox
  | abovestyle = background:#cfc;
  | above = Infobox example
  | image    = [[File:Retromcnew.png|150px]]
  | caption1 = [[RetroMC (server)|RetroMC]] logo.
 
  | headerstyle = background:#ccf; 
  | header1  = Header label
  | labelstyle = background:#cfc;
 
  | label2 = Owner
  | data2 = [[Scout]]
 
  | label3 = Established
  | data3  = 2014
 
  | label4 = Address
  | data4  = https://retromc.org
  }}
 

Town Infoboxes

You can make cool infoboxes for your towns like this (it will use the page title as the infobox title):


Wiki contribution guide/Templates
Noggisoggi's avatar
Owner
16.png Noggisoggi
Town Members
16.png Noggisoggi
Assistants
16.png Noggisoggi
General information
Established:July 30 2023
Status:Active or Inactive
Part of UIP:No


 {{Infobox Town
  | image = [[File:Noggisoggi-bust.png]]
  | caption = Noggisoggi's avatar
  | owner = {{user|Noggisoggi}}
  | members = {{user|Noggisoggi}}
  | assistants = {{user|Noggisoggi}}
  | established = July 30 2023
  | status = Active or Inactive
  | uip = No
  }}
 

ℹ️ Notice: The first (or only) image set here will be your town page's og:image used in embeds and page previews.


You can abuse the Infobox and list multiple images, but this is not recommended.

 | image = [[File:overview1.png|200px|alt=Cactus sky overview 1|Cactus sky overview 1]] [[File:overview2.png|200px|alt=Cactus sky overview 2|Cactus sky overview 2]] [[File:overview3.png|200px|alt=Cactus sky overview 3|Cactus sky overview 3]] [[File:overview4.png|200px|alt=Cactus sky overview 4|Cactus sky overview 4]]

You can list multiple members/assistants as well:

| assistants = 
 *{{user|jcheese7}}
 *{{user|Pittofer}}
 *{{user|Krissofer}}
 *{{user|witorudo}}
 *{{user|Grassboii}}
 *{{user|Endeermaan}}
 *{{user|Vyrvin}}

User Infoboxes

ℹ️ Notice: This template is automatic. It accepts one or two variables and handles everything else for you.

To create a user infobox, use ProfileInfoboxUpdater. It will query your JStats profile and pull the relevant information.

Ast3risk0ps
Ast3risk0ps.png
Player Bust
Username Ast3risk0ps
Rank [Wanderer]
UUID 3b026dd6-285b-4d28-aa12-bd5215e52eb6
Balance 19.34
Miscellaneous Stats
Join Count 19
Trust Level 0
Player Kills 0
Mob Kills 1
Deaths 0
Blocks Traveled 31458
Blocks Placed 141
Items Dropped 149
Blocks Broken 383
{{ProfileInfoboxUpdater|YourUsername}}

Election Infoboxes

Uhhh...
Location This page
Type Example usage
Party Party 1 The 2nd Party Party 3rd Party the 4th The Party, the 5th one 6th Party Party of the 7th Party 8th Party 9 Party 10
Nominees 16.png Noggisoggi 16.png CruxyMC 16.png JohnyMuffin 16.png cakedon 16.png thecow275 16.png notsui BetaLands RetroMC 16.png 1blckhrt 16.png Ade1ie


ℹ️ Notice: Not all options here have to be used.

 {{Infobox Election
 | image1 = [[File:Noggisoggi-bust.png|50px]]
 | image2 = [[File:CruxyMC-bust.png|50px]]
 | image3 = [[File:JohnyMuffin-bust.png|50px]]
 | image4 = [[File:cakedon-bust.png|50px]]
 | image5 = [[File:thecow275-bust.png|50px]]
 | image6 = [[File:notsui-bust.png|50px]]
 | image7 = [[File:BetaLands.png|50px]]
 | image8 = [[File:Retromcnew.png|50px]]
 | image9 = [[File:1blckhrt-bust.png|50px]]
 | image10 = [[File:Ade1ie-bust.png|50px]]

 | election = Uhhh...
 | location = This page
 | type = Example usage

 | party1 = Party 1
 | party2 = The 2nd Party
 | party3 = Party 3rd
 | party4 = Party the 4th
 | party5 = The Party, the 5th one
 | party6 = 6th Party
 | party7 = Party of the 7th
 | party8 = Party 8th
 | party9 = Party 9
 | party10 = Party 10

 | nominee1 = {{user|Noggisoggi}}
 | nominee2 = {{user|CruxyMC}}
 | nominee3 = {{user|JohnyMuffin}}
 | nominee4 = {{user|cakedon}}
 | nominee5 = {{user|thecow275}}
 | nominee6 = {{user-nonwiki|notsui}}
 | nominee7 = [[BetaLands]]
 | nominee8 = [[RetroMC (server)|RetroMC]]
 | nominee9 = {{user-nonwiki|1blckhrt}}
 | nominee10 = {{user-nonwiki|Ade1ie}}

 }}
 

Other components

Admonitions

ℹ️ Notice: Minecraft is cool. Wikitext and HTML is supported here.

{{Notice|Your Message}}


⚠️ Warning: TNT is dangerous! Wikitext and HTML is supported here.

{{Warning|Your Dangerous Message}}