All The Tropes:Page Templates

Everything About Fiction You Never Wanted to Know.

In case it's not obvious, All The Tropes tries to have a consistent style across similar pages. All Works pages (and their subpages) should have the same features, all Trope pages likewise, and so on. To this end, we have a predefined set of page templates called "boilerplates" which lay out the basic structure of the various page types.

If you create a new page with the "Create New" button that appears as part of the menu that can be found at the top of most pages, the correct boilerplate will be pre-loaded for you into the page editor. (If it isn't, please let the ATT Staff know in the Tech Wishlist And Bug Reports forum.) However, if you are creating a page from scratch -- say, from clicking a Red Link, or choosing "Create this page" from a search results page that did not find what you were looking for -- you will have to select the correct boilerplate yourself before proceeding.

The boilerplate dropdown in action.

This is done very easily. Whenever you create a brand-new page, above the edit box will be a dropdown menu entitled "Select boilerplate". (See the illustration to the right.) Select the appropriate page type from the list and click the "Load" button, and the boilerplate will be loaded into the editor. You can change your mind, but be aware that changing the boilerplate will delete everything you may have already typed into the page; you will be asked if you really want leave the page and effectively open a new one when you do.

Page Categories

Most of the boilerplates come with at least two categories predefined as part of the page footer template built into it -- the base page name plus whatever type of page it is (Work, Trope, Trivia, etc.). It is your responsibility when creating the page to add any other appropriate categories.

Also, when creating entirely new works, creators and tropes, you will also need to create their categories. These will show up as Red Links in the category bar at the bottom of the page once you save it; click the link, populate the resulting new page with the Index Page boilerplate, and save the page. That's all you need to do.

Trope Workshop

When proposing a trope, use this template and not the "Tropes Page" boilerplate. Use the "Tropes Page" boilerplate only when restoring trope pages lost either to TV Tropes' censorship or during our moves between wiki farms.

Stubs

The main page types -- Works, Trope Workshop and Creators -- all come with "stub" flags on them: {{workstub}}, {{tropestub}} and {{creatorstub}}. These add a banner to the page identifying it as the "start" of a larger article, and asking for contributions. It is not mandatory to keep these. If you feel your new page is sufficiently complete, you can delete them. You won't be penalized if someone disagrees with you.

List of Boilerplates

The following boilerplates are available on All The Tropes as of October 2020:

Note that this list is alphabetized by page type. The boilerplate drop down list is organized by first main page types, followed by subpage types.

For more information about the page types, see What Page Types Mean.

  1. Included for completeness. We have not accepted new Featured Articles for several years as of this writing because of the unexpected overhead the function imposed on the wiki servers. Plus, while this will create a page with the basic form of a Featured Article blurb, be aware that saving such a page does not in fact make a new Featured Article. This is something that only the Wiki Administrators can do.
  2. Do not use this to create a new trope. New tropes start with the Trope Workshop boilerplate. Use this boilerplate only when restoring lost trope pages. Since people kept ignoring this footnote, this boilerplace now duplicates the Trope Workshop boilerplate.