FANDOM


Templates are used to provide a quick way of linking to a large amount of information. All templates are surrounded by a double pair of curly braces, like this: {{Cleanup}}.

This page will list the major editing templates in use. General-purpose templates are listed on the List of templates page. The full list can be seen on the Category:Templates page.

Page creation

Templates in this section are used when creating new pages page.

Template Description Output
subst:Page Used to substitute a page with a starting template. "Page" can be any of the other templates listed below. (This is a basic function of the wiki system, so an example cannot be provided.)
Sandbox Adds the Sandbox message. Refer to the Template:Sandbox page for details.
Welcome Adds the standard Welcome message. Added automatically to their User Talk page the first time someone makes an edit. Refer to the Template:Welcome page for details.
WelcomeIP Adds the standard Welcome message for anonymous IP editors. Added automatically to their User Talk page the first time someone makes an edit. Refer to the Template:WelcomeIP page for details.

Page editing

Templates in this section are used to control the appearance of a page.

Template Description Output
Border-radius Used as part of a Style command to make the corners of a table rounded. See the Template:Border-radius page for instructions on use.
ClearAll Causes the text that follows it to appear below any objects like tables and images floating on the left and right sides. Duplicate of the clr template.
Perry trapped - SD
Perry trapped - SD

If this text is long enough, it should appear underneath both pictures. This long and rambly extra sentence should ensure that it is, but just in case it doesn't here's a few more words.

ClearLeft Causes the text that follows it to appear below any objects like tables and images floating on the left side only. Duplicate of the clrl template.
Perry trapped - SD
Perry trapped - SD
If this text is long enough, it should wrap underneath the left picture only. This extra sentence should ensure that it is, but just in case it doesn't here's a few more words.
ClearRight Causes the text that follows it to appear below any objects like tables and images floating on the right side only. Duplicate of the clrr template.
Perry trapped - SD
Perry trapped - SD
If this text is long enough, it should wrap underneath the right picture only. This extra sentence should ensure that it is, but just in case it doesn't here's a few more words.
DEFAULTSORT:Lastname, Firstname Used to override the automatic sorting created based the page name. Not displayed except in the page list of a category. An example of its usage is:

{{DEFAULTSORT:Flynn, Phineas}}

HeadingA|text Creates a header box and adds it to the Table of Contents.

Heading A example.

HeadingB|text Same as HeadingA but with a more distinct border.

Heading B example.

HeadingC|text Creates a header box with a lighter background.

Heading C example.

HeadingD|text Creates a header box with Christmas colors.

Heading D example.

The next two templates can affect multiple pages. For example, if NOTOC was placed on a page such as "Rollercoaster", then the the Table of Contents would be suppressed. If someone were to then transclude "Rollercoaster" into another page by way of {{Rollercoaster}}, then the Table of Contents would be suppressed on that page as well.
__NOTOC__ Prevents the Table of Contents from automatically being created. (Example not provided.)
__NOEDITSECTION__ Prevents editing of individual sections on a page. (The whole page will have to be edited.) (Example not provided.)
Tocright Causes the Table of Contents that is automatically created to appear on the right side of the screen. (This template should be used only as needed. The Table of Contents will begin exactly where you place this command on the page, not just at the top, which can cause the text to wrap around it in a manner that is not desired.)

Infoboxes

Infoboxes provide a basic framework and color scheme for information. They appear on the right side of the page and are usually the first item on the page. Any fields that currently do not have any information in them should not be deleted in case information does become available in the future.

Template Description
Infobox album For albums (CD, vinyl albums, digital download albums, etc.) that are seen in-show or are available in the real world.
Infobox band For musical bands that appear in-show or exist in the real world.
Infobox book For books.
Infobox book series For series of books.
Infobox channel For TV networks and their affiliated networks.
Infobox character For the characters of the show. The "color" field is used to designate the color scheme: Kid = Light Orange, Teen = Orange, Adult = Red, Animal = Dark Brown, Robot = Light Gray, Alien = Forest Green
Infobox city Geographical and political information relating to cities. See also Infobox place and Location infobox below.
Infobox company For companies that appear inside the show.
Infobox DVD For information about a DVD that has been released.
Infobox episode Starting point for episodes.
Infobox event Event Infoboxes are for special broadcasts, such as the Cliptastic Countdown.
Infobox company For companies that appear inside the show.
Infobox game An infobox traditional and video games that have been released in the real world.
Infobox location For narrowing the focus on a particular area.
Infobox marathon For marathons of episodes that are broadcast.
Infobox organization For organizations appearing on the show, such as the Fireside Girls.
Infobox PFP Used to designate a Project undertaken by members of this wiki.
Infobox place General-purpose Infobox for places. See also Infobox city and Infobox location above.
Infobox plan An infobox that can be used for a Big Idea or a Scheme and Invention.
Infobox series Infobox for information on TV series. At the moment, this is unused since there is only one real-world series in progress (Phineas and Ferb itself).
Infobox ship For sailing vessels appearing in the show.
Infobox song For the songs that appear inside the show.

Infoboxes marked with have a "user" version available without the categories, preventing the user's page from automatically being added to the regular categories. (Example: Infobox user character)

Links

Standard links are described here. Template links are listed below.

Template Description Output
IMDb-link|page= PageNumber|name= NameToDisplay Creates a link to the Internet Movie Database with the IMDb logo. IMDb logo Phineas and Ferb at IMDb_logo.png
If you add |type=title, the link becomes italicized: Phineas and Ferb at IMDb_logo.png
wikipedia-link If the page you are editing has the exact same name as a Wikipedia page, you can link to it with this template. If the names are not the same, the link will not work. (No example provided because this page name does not have a matching name on Wikipedia.)
wikipedia|exact page name
(lowercase W at beginning)
Used to show that information was copied directly from Wikipedia.
This page uses Creative Commons Licensed content from Wikipedia (view authors). Smallwikipedialogo
Wikipedia-deleted| exact page name
(Uppercase W at beginning)
Used to show that information was copied directly from Wikipedia, but the Wikipedia page has since been deleted. (No example provided to avoid creating a dead link.)
YouTube| VideoNumber| description Creates a link to a YouTube video with the YouTube logo. Youtube-symbol
Youtube-symbol
Watch A-G-L-E-T
YouTube search| search expression| description Creates a link to YouTube that will search for the video specified.
Search Youtube-symbol for Out to Launch
Picture
(see template page for parameters)
Allows a picture that has been uploaded to the wiki to be aligned on the page, with or without a border, and with an optional caption. The [[File:x]] command has limitations on which of those three can be used together.
Ferb's inspirational speech
Ferb's inspirational speech
Video-wiki
(see template page for parameters)
Allows a video that has been uploaded to the wiki to be aligned on the page, with or without a border, and with an optional caption. The [[File:x]] command has limitations on which of those three can be used together.
Not So Bad a Dad

Not So Bad a Dad

Not So Bad a Dad After All
Video-youtube
(see template page for parameters)
Adds border and captioning to the standard <youtube> command. The full command must still be specified with height and width inside the template. Example:
<youtube width=250 height=200>P0QAu5oaw7I </youtube>
Rollercoaster rollercoaster for RCT3

Rollercoaster rollercoaster for RCT3

The Rollercoaster rollercoaster

Quotations

This section provides examples of how to include quotations.

Template Description Output
cquote|sentence|[[Person]] Displays the quotation with oversized quotation marks. Specifying the person is optional.
Aw, nuts.
Dialogue|quotation Draws a red box around the quote and highlights it in yellow. Preferred template for Memorable Quotes since it allows for any kind of formatting needed.
Aw, nuts.
quote|quotation|person|episode it was said in Expanded version of Dialogue that adds quotation marks. Person who said it is required (and can be a link if needed), but the episode is optional.

"Aw, nuts."
Adyson[source]

Community content is available under CC-BY-SA unless otherwise noted.