Wiki contribution guide/Templates: Difference between revisions
Ast3risk0ps (talk | contribs) m (Fix arrow in nav) |
Noggisoggi (talk | contribs) m (→Blockquotes: Added additional info) |
||
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{WikiContribNavbar}} | |||
<hr> | <hr> | ||
[[Category:Guides]] | [[Category:Guides]] | ||
This page documents all the fun templates you can use on the wiki not covered in the [[Wiki_contribution_guide#Cheatsheet|style guide]]. | |||
This page documents all the fun templates you can use on the wiki not covered in the style guide. | |||
== Infoboxes == | == Infoboxes == | ||
These are different boxes with information that appear on the side of the page. | These are different boxes with information that appear on the side of the page. | ||
The basic infobox ([https://en.wikipedia.org/wiki/Template:Infobox taken from Wikipedia]) looks like this: | |||
The basic | |||
{{Notice|Wikitext and HTML are supported in all manual Infoboxes.}} | {{Notice|Wikitext and HTML are supported in all manual Infoboxes.}} | ||
{{Infobox | {{Infobox | ||
| abovestyle = background:#cfc; | | abovestyle = background:#cfc; | ||
Line 34: | Line 25: | ||
| label4 = Address | | label4 = Address | ||
| data4 = https://retromc.org | | data4 = https://retromc.org | ||
}} | |||
<nowiki> | <nowiki> | ||
{{Infobox | {{Infobox | ||
Line 55: | Line 45: | ||
| label4 = Address | | label4 = Address | ||
| data4 = https://retromc.org | | data4 = https://retromc.org | ||
}} | }}</nowiki> | ||
=== Town infoboxes === | |||
You can make cool [[Template:Infobox Town|infoboxes for your towns]] like this (it will use the page title as the infobox title): | |||
=== Town | |||
You can make cool infoboxes for your towns like this (it will use the page title as the infobox title): | |||
{{Infobox Town | {{Infobox Town | ||
Line 71: | Line 58: | ||
| status = Active or Inactive | | status = Active or Inactive | ||
| uip = No | | uip = No | ||
}} | |||
<nowiki> | <nowiki> | ||
{{Infobox Town | {{Infobox Town | ||
Line 83: | Line 69: | ||
| status = Active or Inactive | | status = Active or Inactive | ||
| uip = No | | uip = No | ||
}}</nowiki> | |||
{{Notice|The first (or only) image set here will be your town page's <code>og:image</code> used in embeds and page previews.}} | {{Notice|The first (or only) image set here will be your town page's <code>og:image</code> used in embeds and page previews.}} | ||
You ''can'' abuse the Infobox and list multiple images, but this is not recommended. | You ''can'' abuse the Infobox and list multiple images, but this is not recommended. | ||
<nowiki> | 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]]</nowiki> | <nowiki> | 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]]</nowiki> | ||
Line 103: | Line 85: | ||
*{{user|Vyrvin}}</nowiki> | *{{user|Vyrvin}}</nowiki> | ||
=== User | === User infoboxes === | ||
To create a user infobox, you can use <code><nowiki>ProfileInfoboxUpdater</nowiki></code>. It will query the [[API|RetroMC API]] and pull the relevant information. | |||
To create a user infobox, use <code><nowiki>ProfileInfoboxUpdater</nowiki></code>. It will query | |||
{{ProfileInfoboxUpdater|Ast3risk0ps}} | {{ProfileInfoboxUpdater|Ast3risk0ps}} | ||
<nowiki>{{ProfileInfoboxUpdater|YourUsernameHere}}</nowiki> | |||
<nowiki>{{ | There's another (albeit older) [[Template:Infobox User|infobox template]]: | ||
{{Infobox_User | |||
| nickname = Ast3risk0ps | |||
| rank = {{rank|wanderer}} | |||
| rankcolor = background:#ccf; | |||
| joined = October 14 2024 | |||
| status = Active | |||
| uip = Yes | |||
}} | |||
<nowiki>{{Infobox_User | |||
| nickname = Ast3risk0ps | |||
| rank = {{rank|wanderer}} | |||
| rankcolor = background:#ccf; | |||
| joined = October 14 2024 | |||
| status = Active | |||
| uip = Yes | |||
}}</nowiki> | |||
=== Election Infoboxes === | === Election Infoboxes === | ||
Line 200: | Line 194: | ||
== Other components == | == Other components == | ||
=== Blockquotes === | |||
Since wikitext and HTML are supported, you can use <code><nowiki><blockquote></nowiki></code>. | |||
<blockquote> | |||
test toast | |||
</blockquote> | |||
<nowiki><blockquote> | |||
test toast | |||
</blockquote></nowiki> | |||
Alternatively, you can use a [[Template:Blockquote|styled blockquote template]]. | |||
{{Blockquote|blockquote text here}} | |||
<nowiki>{{Blockquote|blockquote text here}}</nowiki> | |||
=== Admonitions === | === Admonitions === | ||
Wikitext and HTML is supported. You can use these admonitions in guides and such. | |||
{{Notice| | {{Notice|''Minecraft'' is cool.}} | ||
<nowiki>{{Notice| | <nowiki>{{Notice|''Minecraft'' is cool.}}</nowiki> | ||
<br> | <br> | ||
{{Warning|TNT is dangerous! | {{Warning|<u>TNT is dangerous!</u>}} | ||
<nowiki>{{Warning| | <nowiki>{{Warning|<u>TNT is dangerous!</u>}}</nowiki> | ||
<br> | <br> | ||
=== Humor Warning === | === Humor Warning === | ||
This should be used on pages that are made for fun and shouldn't be taken seriously, like [[User:Noggisoggi/RetroMC_Inc|<span style="color:#55FF55;">Retro<span style="color:#55FFFF;">MC</span></span>™ Inc.]] | This should be used on [[:Category:Lore|pages that are made for fun]] and shouldn't be taken seriously, like [[User:Noggisoggi/RetroMC_Inc.|<span style="color:#55FF55;">Retro<span style="color:#55FFFF;">MC</span></span>™ Inc.]] | ||
{{Lore}} | {{Lore}} | ||
<nowiki>{{Lore}}</nowiki> | <nowiki>{{Lore}}</nowiki> | ||
=== Citizen Warning === | |||
The [https://www.mediawiki.org/wiki/Skin:Citizen Citizen skin] implements a more modern and dynamic style (i.e. bullet points changing based on text color properly) that your page may look better with.<br> | |||
If you feel Vector makes your page look terrible, add this warning to the top of the page. | |||
{{CitizenWarning}} | |||
<nowiki>{{CitizenWarning}}</nowiki> | |||
== Page Examples == | == Page Examples == | ||
=== User Page === | === User Page === | ||
You can follow this template for [[Special:MyPage|your userpage]] (if you have an account). | You can follow this template for [[Special:MyPage|your userpage]] (if you have an account). | ||
Do keep in mind that this is merely a template; you don't exactly have to follow the format verbatim. | Do keep in mind that this is merely a template; you don't exactly have to follow the format verbatim.<br> | ||
Click the '''Edit''' button at the top of the page to edit your userpage. | Click the '''Edit''' button at the top of the page to edit your userpage.<br> | ||
For more info, see: [[Wiki contribution guide/User page template]] | |||
<nowiki> | <nowiki> | ||
{{ProfileInfoboxUpdater|YourUsernameHere}} | {{ProfileInfoboxUpdater|YourUsernameHere}} | ||
Describe yourself here – what you are, what you do on the server, and stuff, including a link to your | Describe yourself here – what you are, what you do on the server, and stuff, including a link to your J-Stats page. | ||
== Backstory/history == | == Backstory/history == | ||
Line 242: | Line 255: | ||
I work on [[ObsidianCore]], but sadly, [[Lexicon|the forces of reality]] call me too often these days, so I'm unable to work on it as often as I used to. | I work on [[ObsidianCore]], but sadly, [[Lexicon|the forces of reality]] call me too often these days, so I'm unable to work on it as often as I used to. | ||
</nowiki> | |||
<hr> | <hr> | ||
Insert anything else you wanna mention. [[Server rules#Wiki rules|'''<i>Please use common sense though.</i>''']] | |||
Latest revision as of 21:40, 4 November 2024
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 | |
---|---|
Header label | |
Owner | Scout |
Established | 2014 |
Address | https://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 | |||
---|---|---|---|
Owner | |||
Noggisoggi | |||
Town Members | |||
Noggisoggi | |||
Assistants | |||
Noggisoggi | |||
General information | |||
| |||
| |||
|
{{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
To create a user infobox, you can use ProfileInfoboxUpdater
. It will query the RetroMC API and pull the relevant information.
Ast3risk0ps | |
---|---|
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|YourUsernameHere}}
There's another (albeit older) infobox template:
[Wanderer] | |||
---|---|---|---|
Join Date | |||
October 14 2024 | |||
General information | |||
| |||
|
{{Infobox_User | nickname = Ast3risk0ps | rank = {{rank|wanderer}} | rankcolor = background:#ccf; | joined = October 14 2024 | status = Active | uip = Yes }}
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 | Noggisoggi | CruxyMC | JohnyMuffin | cakedon | thecow275 | notsui | BetaLands | RetroMC | 1blckhrt | 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
Blockquotes
Since wikitext and HTML are supported, you can use <blockquote>
.
test toast
<blockquote> test toast </blockquote>
Alternatively, you can use a styled blockquote template.
blockquote text here
{{Blockquote|blockquote text here}}
Admonitions
Wikitext and HTML is supported. You can use these admonitions in guides and such.
ℹ️ Notice: Minecraft is cool.
{{Notice|''Minecraft'' is cool.}}
⚠️ Warning: TNT is dangerous!
{{Warning|<u>TNT is dangerous!</u>}}
Humor Warning
This should be used on pages that are made for fun and shouldn't be taken seriously, like RetroMC™ Inc.
Notice: This page was made for humorous purposes, and as such, the following info shouldn't be taken seriously.
{{Lore}}
Citizen Warning
The Citizen skin implements a more modern and dynamic style (i.e. bullet points changing based on text color properly) that your page may look better with.
If you feel Vector makes your page look terrible, add this warning to the top of the page.
This page was designed for the Citizen skin. Load with Citizen
{{CitizenWarning}}
Page Examples
User Page
You can follow this template for your userpage (if you have an account).
Do keep in mind that this is merely a template; you don't exactly have to follow the format verbatim.
Click the Edit button at the top of the page to edit your userpage.
For more info, see: Wiki contribution guide/User page template
{{ProfileInfoboxUpdater|YourUsernameHere}} Describe yourself here – what you are, what you do on the server, and stuff, including a link to your J-Stats page. == Backstory/history == Describe your experience on RetroMC here and anything related prior to you joining. As an... example: I was bored once. But then I joined the greatest minecrap server on the galaxy named RetroMC and I was initially contacted by one of the [[UIP]] members or something and suddenly I'm now writing this very article on this wiki thing, so there's that, and uhhhhhhhhhhhhhhhhhh yeah I'm now one of the greatest wiki editors on this very wiki fr fr This is what happens when you start taking [[crystallitis]] in excessive dosages. Brain-rot-inducing-quote aside, here's a ''competent'' example: I joined [[RetroMC (server)|RetroMC]] on August 16, 2022, and after reading through the signs at the <code>intro</code> warp, I ran <code>/wild</code> and explored till I found a desert near the world's border, and I settled here. == Projects == Describe what projects you're taking on (complete, in-progress, cancelled, etc.) Example: I work as one of the members in the Board of Directors at [[User:Noggisoggi/RetroMC Inc.|RetroMC Inc.]], providing ideas to rapidiously conceptualize the compelling bandwidth of new customers utilizing our Services™. We progressively customize our server for performance and offer 24/365 support and we– Enough corporate nonsense; here's a competent example: I work on [[ObsidianCore]], but sadly, [[Lexicon|the forces of reality]] call me too often these days, so I'm unable to work on it as often as I used to.
Insert anything else you wanna mention. Please use common sense though.