Help:Creating a page on the fly

From Meta, a Wikimedia project coordination wiki

Reasons for creating a page on the fly, instead of viewing a stored page include:

  • there are many potential versions
  • the page has to be up-to-date

For these reasons, special pages are created on the fly. For ordinary pages the second aspect is taken care of: each time a page is viewed, the latest version of the templates and images is used, and the existence detection of linked pages is also up-to-date. If necessary, "action=purge" can update the page.

However, there may be many potential versions of a page, with a small change in the wikitext making the page rendering sufficiently different to be separately of interest. It may be impractical or even impossible to store them all. In that case the preview function can be used, not as a check in preparation of storing the page, but as page creation feature by itself.

The small change with a large effect can be a change in image parameters, or a change in a template call: a change in the name or in the parameters.

Applications:

  • Changing a parser function call, e.g., making a change in a computation. Thus, the wikitext {{#expr:11/7}} may well be preferable over 1.5714285714286. The expression not only gives insight in how the number was computed, but allows easy change of a parameter in the computation. Creating a page on the fly allows what-if analysis of the expression: "What happens to the result if we make a particular change to a parameter?". If the change of a parameter is small, this is also called sensitivity analysis: "How sensitive is the result to a small change of a parameter?".
  • showing an image in a desired size
    • e.g., [[File:Netherlands pol87.jpg|100px]] gives , change the "100" to show it enlarged, if desired even larger than the original (the maximum is browser-dependent; some browsers also allow enlargement independent of the wikitext and HTML; however, if the image is originally put on the page in reduced size, enlarging that with the browser gives less quality than embedding the image in the page in a less reduced size)
  • showing the existence of a list of pages, e.g., to check the existence of pages with the numbers 2000-2099, on the English Wikipedia, with w:Template:L2d, one can use {{l2d|20}}; for another 100 numbers, change the "20".
  • providing a list of links, e.g.,:
    • {{Table of Wikimedia projects|Special:Allpages&from=&namespace=10}}; this gives for all projects a link to the page with a list of all templates; change the "10" to get links to all pages in another namespace. (To try it out, remove the first set of nowiki tags, not the second.)
    • Names in the language itself and in Dutch:

{{List of Languages|lang=nl}} gives:

+/-

  • Afrikaans (Afrikaans)
  • العربية (Arabisch)
  • azərbaycanca (Azerbeidzjaans)
  • български (Bulgaars)
  • brezhoneg (Bretons)
  • čeština (Tsjechisch)
  • dansk (Deens)
  • Deutsch (Duits)
  • Ελληνικά (Grieks)
  • English (Engels)
  • español (Spaans)
  • Esperanto (Esperanto)
  • فارسی (Perzisch)
  • français (Frans)
  • گیلکی (Gilaki)
  • עברית (Hebreeuws)
  • italiano (Italiaans)
  • 日本語 (Japans)
  • қазақша (Kazachs)
  • 한국어 (Koreaans)
  • kurdî (Koerdisch)
  • مازِرونی (Mazanderani)
  • Nederlands (Nederlands)
  • norsk (Noors)
  • polski (Pools)
  • português (Portugees)
  • русский (Russisch)
  • српски / srpski (Servisch)
  • svenska (Zweeds)
  • українська (Oekraïens)
  • 中文 (Chinees)
  • अवधी (Awadhi)

Change the language code for another list (as far as data are available).


Unfortunately, when linking to a template instead of embedding it, transfer of parameters is not possible. Also, special input boxes cannot be created. Therefore, although the template hides most wikitext from the "previewer" (viewer/"semi-editor"), they have to deal with the template tag itself.

Links to other help pages

Help contents
Meta · Wikinews · Wikipedia · Wikiquote · Wiktionary · Commons: · Wikidata · MediaWiki · Wikibooks · Wikisource · MediaWiki: Manual · Google
Versions of this help page (for other languages see further)
What links here on Meta or from Meta · Wikipedia · MediaWiki
Reading
Go · Search · Namespace · Page name · Section · Backlinks · Redirect · Category · Image page · Special pages · Printable version
Tracking changes
Recent changes (enhanced) | Related changes · Watching pages · Diff · Page history · Edit summary · User contributions · Minor edit · Patrolled edit
Logging in and preferences
Logging in · Preferences
Editing
Starting a new page · Advanced editing · Editing FAQ · Export · Import · Shortcuts · Edit conflict · Page size
Referencing
Links · URL · Piped links · Interwiki linking · Footnotes
Style and formatting
Wikitext examples · CSS · Reference card · HTML in wikitext · Formula · Lists · Table · Sorting · Colors · Images and file uploads
Fixing mistakes
Show preview · Reverting edits
Advanced functioning
Expansion · Template · Advanced templates · Parser function · Parameter default · Magic words · System message · Substitution · Array · Calculation · Transclusion
Others
Special characters · Renaming (moving) a page · Preparing a page for translation · Talk page · Signatures · Sandbox · Legal issues for editors
Other languages: