×
Create a new article
Write your page title here:
We currently have 179 articles on NBITTRPG Wiki. Type your article name above or click on one of the titles below and start writing!



NBITTRPG Wiki

NBITTRPG Wiki:Manual of Style/Templates: Difference between revisions

No edit summary
m format fix we have {{t}} now
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{MoSNavBox}}
{{MoSNavBox}}
This is a page for specific information on template categorization and language used to describe them on this wiki.
This is a page for specific information on template categorization and language used to describe them on this wiki. It's also an instructional page on how to use existing templates. To make your own template, go to the URL and after the ".xyz/", type Template:[Template Name]. This will bring you to an entirely new page that you can then create a template on.


== Template Types ==
== Template Types ==
Line 8: Line 8:
When making and naming infobox templates, please try and integrate "infobox" somewhere into the name of the template. This helps avoid confusion on what templates do what, as many templates may have similar names.
When making and naming infobox templates, please try and integrate "infobox" somewhere into the name of the template. This helps avoid confusion on what templates do what, as many templates may have similar names.
=== Navigation Boxes ===
=== Navigation Boxes ===
Navigation Boxes are a type of template that users can use to navigate between related or similar articles. For example, the session navigation box at the bottom of session pages allow users to click between sessions within a campaign without relying on the session infobox to go in chronological order.
Navigation Boxes are a type of template that users can use to navigate between related or similar articles. For example, the session navigation box at the bottom of session pages allows users to click between sessions within a campaign without relying on the session infobox to go in chronological order.


When making and naming navigation boxes, please try and integrate "navbox" somewhere into the name of the template. This helps avoid confusion on what templates do what, as many templates may have similar names.
When making and naming navigation boxes, please try and integrate "navbox" somewhere into the name of the template. This helps avoid confusion on what templates do what, as many templates may have similar names.
=== Message Templates ===
=== Message Templates ===
Message templates inform users regarding information contained on a page. These are the templates like the [[Template:Stub|Stub]] or [[Template:Spoilers|Spoilers]] template.
Message templates inform users regarding information contained on a page. These are the templates like {{t|Stub}} or {{t|Spoilers}}.


There are no special rules in regard to naming these upon creation, just that they're kept short, and singular. This is to prevent confusion over categories, which are usually written in plural.
There are no special rules in regard to naming these upon creation, just that they're kept short, and singular. This is to prevent confusion over categories, which are usually written in plural.
Line 26: Line 26:
For other types of navigational boxes, they should be placed at the '''top''' like an infobox. An example would be the navigational box on the [[{{SITENAME}}:Manual of Style]].
For other types of navigational boxes, they should be placed at the '''top''' like an infobox. An example would be the navigational box on the [[{{SITENAME}}:Manual of Style]].
=== Message Templates ===
=== Message Templates ===
<syntaxhighlight lang="tea">{{Stub}}</syntaxhighlight>
{{t|Stub}} is used for incomplete or pages with a lot of incorrect information. This is placed on top of the page above all other templates. Please be liberal with your usage of this template and add it to anything that's not finished. It helps people find pages to work on.  
The '''Stub''' template above is used for incomplete or pages with a lot of incorrect information. This is placed on top of the page, above all other templates. Please be liberal with your usage of this template and add it to anything that's not finished. It helps people find pages to work on.  


If you need to specify a reason for marking something as a stub, write: <syntaxhighlight>{{Stub|Reason}}</syntaxhighlight> ...and replace "Reason" with a sentence explaining why.
:: If you need to specify a reason for marking something as a stub, write {{t|Stub|Reason}} and replace <Reason> with a sentence explaining why.


<syntaxhighlight lang="tea">{{Spoilers}}</syntaxhighlight>
{{t|Spoilers}} is used for pages that have content that may spoil major plot points in their related campaign. This may be used for deaths, identity reveals, and much more if applicable. You may also be liberal with usage of this template. This also does not need to be listed at the top of the page and can be moved downwards. Doing this, however, may make it look ugly, so you might as well put it at the top.
The '''Spoilers''' template above is used for pages that have content that may spoil major plot points in their related campaign. This may be used for deaths, identity reveals, and much more if applicable. You may also be liberal with usage of this template. This also does not need to be listed at the top of the page and can be moved downwards. Doing this, however, may make it look ugly.


<syntaxhighlight lang="tea">{{Delete}}</syntaxhighlight>
{{t|Delete}} is used for pages that are unnecessary or have been made on accident. This is to make sure the people with permissions to delete the page can see it and can be useful for allowing discussion before it's deleted.
The '''Delete''' template above is used for pages that are unnecessary or have been made on accident. This is to make sure the people with permissions to delete the page can see it and can be useful for allowing discussion before it's deleted.


<syntaxhighlight lang="tea">{{Cite}}</syntaxhighlight>
{{t|Cite}} is used for passages or claims that you believe require a citation. Can be used however you wish for added comedic effect, even.
The '''Cite''' template above is used for passages or claims that you believe require a citation. Can be used however you wish for added comedic effect, even.
__NOEDITSECTION__
__NOEDITSECTION__

Latest revision as of 10:30, 17 March 2025

This is a page for specific information on template categorization and language used to describe them on this wiki. It's also an instructional page on how to use existing templates. To make your own template, go to the URL and after the ".xyz/", type Template:[Template Name]. This will bring you to an entirely new page that you can then create a template on.

Template Types

Infoboxes

Infoboxes are a type of template that displays information in a box. This is usually a two-column table with a label on the left and page-specific data on the right. We have session infoboxes and character infoboxes as an example of these.

When making and naming infobox templates, please try and integrate "infobox" somewhere into the name of the template. This helps avoid confusion on what templates do what, as many templates may have similar names.

Navigation Boxes

Navigation Boxes are a type of template that users can use to navigate between related or similar articles. For example, the session navigation box at the bottom of session pages allows users to click between sessions within a campaign without relying on the session infobox to go in chronological order.

When making and naming navigation boxes, please try and integrate "navbox" somewhere into the name of the template. This helps avoid confusion on what templates do what, as many templates may have similar names.

Message Templates

Message templates inform users regarding information contained on a page. These are the templates like {{Stub}} or {{Spoilers}}.

There are no special rules in regard to naming these upon creation, just that they're kept short, and singular. This is to prevent confusion over categories, which are usually written in plural.

Other Templates

There may be other template types made to ensure most articles with similar information can be updated at the same time. If you have an idea for a template but don't know how to make one, you can ask CStatic to make one.

How To Use This Wiki's Templates

There are certain templates that this wiki uses. Below is a guide on how to use them.

Infoboxes

Because not every page uses infoboxes the same way, more information on how these should be filled out can be found on the page on page formatting.

Navigation Boxes

For sessions, navigation boxes are placed at the bottom of the page, but above magic words. An example of this can be found on The Fifth Leader.

For other types of navigational boxes, they should be placed at the top like an infobox. An example would be the navigational box on the NBITTRPG Wiki:Manual of Style.

Message Templates

{{Stub}} is used for incomplete or pages with a lot of incorrect information. This is placed on top of the page above all other templates. Please be liberal with your usage of this template and add it to anything that's not finished. It helps people find pages to work on.

If you need to specify a reason for marking something as a stub, write {{Stub|<Reason>}} and replace <Reason> with a sentence explaining why.

{{Spoilers}} is used for pages that have content that may spoil major plot points in their related campaign. This may be used for deaths, identity reveals, and much more if applicable. You may also be liberal with usage of this template. This also does not need to be listed at the top of the page and can be moved downwards. Doing this, however, may make it look ugly, so you might as well put it at the top.

{{Delete}} is used for pages that are unnecessary or have been made on accident. This is to make sure the people with permissions to delete the page can see it and can be useful for allowing discussion before it's deleted.

{{Cite}} is used for passages or claims that you believe require a citation. Can be used however you wish for added comedic effect, even.

Recent changes

  • Zaptrap • Friday at 22:20
  • Zaptrap • Friday at 22:18
  • Zaptrap • Friday at 22:15
  • Ember • Friday at 22:03
  • AndrewFBR • Friday at 00:24
  • AndrewFBR • Friday at 00:24
  • AndrewFBR • Friday at 00:24
  • AndrewFBR • Friday at 00:24