Community Central
Community Central
Preload

Preloaded templates in action

Preloaded templates can pre-populate a new page with instructions, page structure, or content. This may be easier for new users to understand than an empty edit box, and can help them create pages that meet the community's style guidelines.

This is an advanced method for managing page creation. For simpler methods, see Help:New page.

Step by step

Let's assume you want to create a new article page called "Bobby". You want that page to include an infobox and a few section headers, because you've decided that all of your character pages should begin this way. You also want to set things up so that other editors can start new character pages the same way, too.

Here's how you can do that with preloaded templates.

Create the template

  • Create a new page on your wikia in the Template namespace. In our example, you can call this page Template:Character page.
  • Edit this template to include the content you want to appear when you create a new page. For example, if you're including an infobox and a few headings, you might want to enter the following:
{{Infobox
|Box title = Character name
|Row 1 title = Hair color|Row 1 info = <!--insert hair color here-->
|Row 2 title = Eye color|Row 2 info = <!--insert eye color here-->
|Row 3 title = Height|Row 3 info = <!--insert height here-->
}}

==Overview==

==Background==

==Important Events==
* ...
  • Save your template.

Create the page creation tool

There are two common ways to approach this part:

Method one: input boxes

This method creates a form that lets users generate a new page with the correct format.

  • On the page where you'd like to invite users to create a new article, enter the following code to create the following input box:
Type this: To make this:
 <createbox>
  preload=Template:Character page
  width=25
 </createbox>
<createbox>
   preload=Template:Character page
  width=25
  </createbox>
Tip: you can add editintro=pagename as an extra line to this code, and replace "pagename" with a page that has a few lines of welcome text. This welcome text will be displayed at the top of your new page instead of the text of MediaWiki:Newarticletext.
  • Save your page and try out creating a new page called "Bobby" using that text box.

Method two: intro links

This method adds a link to the top of the edit screen, allowing a user to generate the correct format after they've started the page creation process.

  • Go to MediaWiki:Newarticletext on your wikia and open it for editing.
  • Add the following code:
[{{fullurl:{{FULLPAGENAMEE}}|action=edit&preload=Template:Character page}} Character page]
  • Add some explanation text before this link, explaining that users should only click it if they're creating a character page.
  • Save your work.
  • Create a new page on your wikia the normal way, and see your new welcome text with the link!

See also

Further help and feedback