User:Horst Frank~commonswiki/Workbench

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

This is my workbench, the testingarea:

Constant, only depending on the project and parameters

[edit]
{{ns:-2}} or {{ns:Media}} Media
{{ns:-1}} or {{ns:Special}} Special
{{ns:1}} or {{ns:Talk}} Talk
{{ns:2}} or {{ns:User}} User
{{ns:3}} or {{ns:User_talk}} User talk
{{ns:4}} or {{ns:Project}} Commons
{{ns:5}} or {{ns:Project_talk}} Commons talk
{{ns:6}} or {{ns:Image}} File
{{ns:7}} or {{ns:Image_talk}} File talk
{{ns:8}} or {{ns:MediaWiki}} MediaWiki
{{ns:9}} or {{ns:MediaWiki_talk}} MediaWiki talk
{{ns:10}} or {{ns:Template}} Template
{{ns:11}} or {{ns:Template_talk}} Template talk
{{ns:12}} or {{ns:Help}} Help
{{ns:13}} or {{ns:Help_talk}} Help talk
{{ns:14}} or {{ns:Category}} Category
{{ns:15}} or {{ns:Category_talk}} Category talk
(depending on custom namespaces)
{{ns:100}} Creator
{{ns:121}}
{{SITENAME}} Wikimedia Commons
{{SERVER}} //commons.wikimedia.org
{{localurl:pagename}} /wiki/Pagename
{{localurl:pagename|query string}} /w/index.php?title=Pagename&query string
{{int:fromwikipedia}} ⧼fromwikipedia⧽

"INT:" is used to get text from wfMsg, such as messages in the LanguageXx.php file (see example over). It is short for "internal".

Varying with time

[edit]
{{CURRENTMONTH}} 07
{{CURRENTMONTHNAME}} July
{{CURRENTMONTHNAMEGEN}} July
{{CURRENTDAY}} 15
{{CURRENTDAYNAME}} Monday
{{CURRENTYEAR}} 2024
{{CURRENTTIME}} 06:21
{{NUMBEROFARTICLES}} 103,343,416

NUMBEROFARTICLES: number of pages in the main namespace which contain a link and are not a redirect, i.e. number of articles, stubs containing a link, and disambiguation pages.

This depends on system variable $wgUseCommaCount If true, article count will only include those with commas (","). If false, will only count those with links ("[["). The default set in DefaultSettings.php is false, this can be changed in LocalSettings.php.

CURRENTMONTHNAMEGEN: is the genitive grammatical form of the month name (used in Finnish).

Depending on page

[edit]
{{NAMESPACE}} User
{{PAGENAME}} Horst Frank~commonswiki/Workbench
{{PAGENAMEE}} Horst_Frank~commonswiki/Workbench

PAGENAMEE displays the page title in the form that is used in URLs, i.e. with underscores for spaces, and escape codes for special characters, and is therefore used for constructing URLs. For example, on a page called "Another test", PAGENAMEE would produce "Another_test" rather than "Another test". See also Variables {{PAGENAME}} and {{PAGENAMEE}}

When used in a template, these three variables refer to the page in which the template is included, not to the template page.

Examples of combinations

[edit]
{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAMEE}}|action=edit}} //commons.wikimedia.org/w/index.php?title=User:Horst_Frank~commonswiki/Workbench&action=edit
{{SERVER}}{{localurl:Special:Whatlinkshere|target={{NAMESPACE}}:{{PAGENAMEE}}}}//commons.wikimedia.org/w/index.php?title=Special:Whatlinkshere&target=User:Horst_Frank~commonswiki/Workbench
[[{{NAMESPACE}}:{{PAGENAMEE}}_1]] User:Horst_Frank~commonswiki/Workbench_1
{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAMEE}}_1}} //commons.wikimedia.org/wiki/User:Horst_Frank~commonswiki/Workbench_1

See also m:Template:UTC.

In a template, for a link to a page which depends on a template parameter, the external link style is used even for internal links, to avoid that the system links to the edit page even if the page exists. To construct the external link, variables can also be useful.

See also

[edit]

{{GFDL}}


   * 15:46, 15 Nov 2004 (hist) M Commons:Upload log (uploaded "Fes.jpg": Fes)  (top)
   * 15:46, 15 Nov 2004 (hist) Image:Fes.jpg (Fes) (New)
   * 15:46, 15 Nov 2004 (hist) Image:Haselnuss Gr 99.jpg (Haselnuss) (New)
   * 15:45, 15 Nov 2004 (hist) Image:Mandel Gr 99.jpg (Mandel) (New)
   * 15:44, 15 Nov 2004 (hist) Image:W Nuss Gr 99.jpg (Walnuss) (New)
  • 15:42, 15 Nov 2004 (hist) Image:Tasse Kl 99.jpg (Tasse mit Untertasse) (New)


My Workbench

--Horst Frank <-- en

--Horst Frank <-- de

This Illustration is one part of Moonillu1, Moonillu2, Moonillu3, like in the german Article Mondphase


{{PD}}