NBITTRPG Wiki:Template Showcase: Difference between revisions
No edit summary |
mNo edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
If you would like to experiment with templates somewhere, go to your '''User Page''' and go to the URL. Add "/sandbox" to the end of it and create a page there. You can edit this page however you wish. | If you would like to experiment with templates somewhere, go to your '''User Page''' and go to the URL. Add "/sandbox" to the end of it and create a page there. You can edit this page however you wish. | ||
== Infobox Example == | == Infobox Example == | ||
This wiki uses the [https://www.mediawiki.org/wiki/Extension:PortableInfobox Portable Infoboxes] extension, which is a port of an extension used on Fandom to create the infoboxes used for NPC pages and the like. While it's possible to create infoboxes purely in CSS, this is a more simplified way of doing so. Regardless, there are ways to customize infoboxes so that they're the color or style you like. | |||
{{NPC | {{NPC | ||
| image= | | image= | ||
| Line 25: | Line 20: | ||
}} | }} | ||
== Quotes == | |||
For now, we have {{t|Quote}}, which results in something like this: | |||
{{Quote|That’s how we rock. And roll. | |||
|[[Vaela]] in [[Spring of Rebirth]] | |||
|margin=1}} | |||
This may be later improved to contain more information. | |||
== Extended Dialogue == | |||
If you need to write out a long set of dialogue for any reason, {{t|dialogue}} can be used to help format it. | |||
{{dialogue | |||
|a=ALF | |||
|e=ELLUNA | |||
|a|It’s settled then, we shall find my father and deal with the portal! Missus Elluna, could you pass me a sandwich?! | |||
|e|Sure, child. | |||
|action|ELLUNA rips a sandwich in half and gives it to the boy. | |||
|a|These portions aren’t as generous as I anticipated. | |||
|e|Like Iroanis said, food clears the mind. And right now, I’m more than just a bit irate about this thief we have here. | |||
|a|My, I’d say so. Are we safe with this fellow still around? Perhaps it’s best you leave us, Fiend. We’re looking for someone, and I can’t say it’s anyone like you.|mood6=Looking at PHRIL | |||
|cite = [[When Everything Ante Tried Had Inspired Anarchy]] | |||
}} | |||
== Userbox Example == | == Userbox Example == | ||
There's a very good userbox template on the wiki. It can be customized immensely, as seen here. | There's a very good userbox template on the wiki. It can be customized immensely, as seen here. | ||
| Line 55: | Line 69: | ||
| usercategory = <!--user category (optional)--> | | usercategory = <!--user category (optional)--> | ||
}} | }} | ||
== Spotify Embeds == | == Spotify Embeds == | ||
Latest revision as of 22:59, 21 September 2026
The purpose of this article is to showcase templates in a way that can be inspected using the Edit Source feature. Many of these templates can be customized or used for personal pages. This should act as a reference for how templates can be used and/or changed. For specific information on what templates are used on what articles, see NBITTRPG Wiki:Manual of Style/Templates.
If you would like to experiment with templates somewhere, go to your User Page and go to the URL. Add "/sandbox" to the end of it and create a page there. You can edit this page however you wish.
Infobox Example
[edit source]This wiki uses the Portable Infoboxes extension, which is a port of an extension used on Fandom to create the infoboxes used for NPC pages and the like. While it's possible to create infoboxes purely in CSS, this is a more simplified way of doing so. Regardless, there are ways to customize infoboxes so that they're the color or style you like. Template:NPC
Quotes
[edit source]For now, we have {{Quote}}, which results in something like this:
| “ | That’s how we rock. And roll. | „ |
| — Vaela in Spring of Rebirth |
This may be later improved to contain more information.
Extended Dialogue
[edit source]If you need to write out a long set of dialogue for any reason, {{dialogue}} can be used to help format it.
- ALF
It’s settled then, we shall find my father and deal with the portal! Missus Elluna, could you pass me a sandwich?!
- ELLUNA
Sure, child.
- [ELLUNA rips a sandwich in half and gives it to the boy.]
- ALF
These portions aren’t as generous as I anticipated.
- ELLUNA
Like Iroanis said, food clears the mind. And right now, I’m more than just a bit irate about this thief we have here.
- ALF (Looking at PHRIL)
My, I’d say so. Are we safe with this fellow still around? Perhaps it’s best you leave us, Fiend. We’re looking for someone, and I can’t say it’s anyone like you.
— When Everything Ante Tried Had Inspired Anarchy
Userbox Example
[edit source]There's a very good userbox template on the wiki. It can be customized immensely, as seen here.
| id | info |
|---|
| This user is normal about Gadger. |
Spotify Embeds
[edit source]Want to embed a playlist or song onto your userpage? Need to embed a playlist for a Renova page? There is an extension that allows for this. It should be self explanatory on how to use this, and you can embed playlist, album, and/or track.
You may want to use a smaller box for single tracks. Use the {{Spotify small}} template for this special case.

