Jump to content
Gov  路  Market  路  Community  路  Policies  路  Funding  路  Open Call  路  Get started

Template:UseThisModel

From WikiDeal
This is the latest revision of this page; it has no approved revision.

Use this model. Users can copy a neutral contract model and then start editing their own copy freely: the original model page stays intact. MediaWiki offers a native way to do this: open an address of the form https://wikideal.net/w/index.php?title=TITLE-OF-YOUR-COPY&action=edit&preload=Template:UseThisModel. Replace TITLE-OF-YOUR-COPY with the exact title of the new page you want to create; a clear, specific title (for example the type of deal and a date) makes the copy easy to find later. The preload value must be the exact title of the model page to copy, for example Markets/en/Portal:Babysitting/Contract-Model:Babysitting; on a model page, this box already shows that page's title. The editor then opens pre-filled with the model, ready to be adapted. When copying a model, you also need to determine in which portal your contract belongs (transportation, housing, personal services, and so on); the categories for this classification remain to be created and are part of the questions of the open call on URL naming and structure.

Documentation

This template displays a compact "Use this model" box on contract model pages. It explains how to copy a neutral contract model with the native MediaWiki preload mechanism.

Usage:

  • {{UseThisModel}} on a contract model page: the preload address is filled in automatically with the title of the current page.
  • {{UseThisModel|Some-Page-Title}} anywhere else: the first parameter sets the preload title (a placeholder such as TITLE-OF-THE-MODEL-PAGE can be used on explanatory pages).