Forum:Can we make the Create Recipe Page Template extendable? (from Healthy Recipes Wiki)

The healthy recipe wiki has a great way (IMO) to create new pages. When creating a new page you can choose from three templates:
 * 1) Create Ingredient
 * 2) Create Recipe
 * 3) Create Blank Page

They (the first two) provide fields for users to fill out for the specific type of page they are creating. In the case of creating a new recipe, it directs you to specify things like recipe name, ingredients and prep time.

I wonder if it is possible to make this extension generic so that other wikis could use it for their own purpose. For example, this wiki has pages for teaching activities. It would be great to provide a template to guide users when creating a new lesson activity. I sure many wikis would find this functionality very useful.

More Info
I looked into the recipe wiki to see how they were doing it. It looks like they have a custom Extension (Recipes Template, by Maciej Brencz). I don:t know much else as I have not been able to get any google results on it.

cheers,

--boy.pockets (talk ・ my boom) 03:01, October 1, 2010 (UTC)


 * It is probably best to ask in the recipes wiki for information on how it works from the creator or the sites admins. You may be able to get them to create a generic version to use on other wikis, or tell you how to do it. - BulldozerD11 03:13, October 1, 2010 (UTC)


 * Similar functionality is available using the Semantic Forms extension, which is disabled by default but can be enabled by request. You can see some examples at the Our Brant wiki I administrate, which uses the forms in the "Contribute" menu to the left to create pages in community pages like Paris and Oakland. The cemetery data (e.g., Fairfield cemetery and others) is entered and queried using the semantic extensions too. Mistydemeo 15:48, October 1, 2010 (UTC)


 * Having looked a bit more the creator looks like one of wikia's developers/ or a mediawiki develper whoese extensions have been incorporated int Wikia's version of mediaWiki. So it may be that it is a new extension they are trying out on that wiki. There are a number of different ways of creating new pages using a 'std' template. As recipes wiki is probably more of a structured database based wiki it may be based on the semantic wiki as Mistydemo uses on the Brant wiki, or a Forms type extension.
 * Note: to use the Semantic wiki extension you need to use special:contact and ask for it to be enabled by staff.


 * You can use a function called preload that utilises a template holding a page outline for a 'std' page called by using the  function, which displays a box to enter a page name in with a button at the side.

width=30 bgcolor=#f5faff buttonlabel=Add Company editintro=MediaWiki:AddCompanyMessage preload=Template:Company Template

which gives;


 * The 'editintro' puts an instruction list/message up as a header above the page outline. The preload item calls a template that is in effect substituted in an open edit window for the user to fill in.


 * There are several other similar way of adding a 'standard' page - BulldozerD11 17:13, October 1, 2010 (UTC)