Hilfe:Tutorial/8

Aus Budopedia
Wechseln zu: Navigation, Suche

Magic Words

Word Example Explanation
{{CURRENTDAY}} 23 Displays the current day in numeric form.
{{CURRENTDAY2}} 23 [MW1.6+] Same as {{CURRENTDAY}}, but with leading zero (01 .. 31).
{{CURRENTDAYNAME}} Dienstag Name of the day in the language of the project or English.
{{CURRENTDOW}} 2 Same as {{CURRENTDAYNAME}}, but as a number (0=Sunday, 1=Monday...).
{{CURRENTMONTH}} 01 The number 01 .. 12 of the month.
{{CURRENTMONTHABBREV}} Jan. [MW1.5+] Same as {{CURRENTMONTH}}, but in abbreviated form (Jan .. Dec).
{{CURRENTMONTHNAME}} Januar Same as {{CURRENTMONTH}}, but in named form (January .. December).
{{CURRENTTIME}} 17:33 The current time (00:00 .. 23:59).
{{CURRENTHOUR}} 17 The current hour (00 .. 23).
{{CURRENTWEEK}} 4 Number of the current week (1-53) according to ISO 8601 with no leading zero.
{{CURRENTYEAR}} 2018 Returns the current year.
{{CURRENTTIMESTAMP}} 20180123173342 [MW1.7+] ISO 8601 time stamp.


Local time


The time depending on the local timezone of the wiki (not depending on the timezone in the user's preference settings). (All words [MW1.8+] )

Word Example Explanation
{{LOCALDAY}} 23 Displays the local day of the month in numeric form.
{{LOCALDAY2}} 23 Same as {{LOCALDAY}}, but with a leading zero (01 .. 31).
{{LOCALDAYNAME}} Dienstag Name of the day in the language of the project or English.
{{LOCALDOW}} 2 Same as {{LOCALDAYNAME}}, but as a number (0=Sunday, 1=Monday...).
{{LOCALMONTH}} 01 The number 01 .. 12 of the month.
{{LOCALMONTHABBREV}} Jan. Same as {{LOCALMONTH}}, but in abbreviated form as Jan .. Dec.
{{LOCALMONTHNAME}} Januar Same as {{LOCALMONTH}}, but in named form as January .. December.
{{LOCALTIME}} 18:33 The local time (00:00 .. 23:59).
{{LOCALHOUR}} 18 The local hour (00 .. 23).
{{LOCALWEEK}} 4 Number of the local week (1-53) according to ISO 8601 with no leading zero.
{{LOCALYEAR}} 2018 Returns the local year.
{{LOCALTIMESTAMP}} 20180123183342 ISO 8601 time stamp.


Pagename und Info

Word Example Explanation
This page "User:Anonymous user/sandbox/my page" page
"User talk:Anonymous user/sandbox/my page" page
{{PAGENAME}} Tutorial/8 Anonymous user/sandbox/my page Returns the name of the current page, including all levels (Title/Subtitle). This does not include the name of the namespace.
{{PAGENAMEE}} Tutorial/8 Anonymous_user/sandbox/my_page More URL-friendly percent encoded special characters (To use an articlename in an external link).
{{BASEPAGENAME}}
{{BASEPAGENAMEE}}
Tutorial
Tutorial
Anonymous user/sandbox
Anonymous_user/sandbox
[MW1.7+] The basename of a subpage ("Title/Other" on "Title/Other/Subtitle"), see Help:Link.
{{SUBPAGENAME}}
{{SUBPAGENAMEE}}
8
8
my page
my_page
[MW1.6+] Name of the current page, excluding parent pages ("Subtitle" on "Title/Other/Subtitle") in namespaces supporting subpages, see Help:Link.
{{NAMESPACE}}
{{NAMESPACEE}}
Hilfe
Hilfe
Benutzer
Benutzer
Returns the name of the namespace the current page resides in. Note that this returns an empty string for the main (article) space.
Benutzer Diskussion
Benutzer_Diskussion
{{FULLPAGENAME}}
{{FULLPAGENAMEE}}
Hilfe:Tutorial/8
Hilfe:Tutorial/8
Benutzer:Anonymous user/sandbox/my page
Benutzer:Anonymous_user/sandbox/my_page
[MW1.6+] Shorthands for NAMESPACE+PAGENAME
Benutzer Diskussion:Anonymous user/sandbox/my page
Benutzer_Diskussion:Anonymous_user/sandbox/my_page
{{TALKSPACE}}
{{TALKSPACEE}}
Hilfe Diskussion
Hilfe_Diskussion
Benutzer Diskussion
Benutzer_Diskussion
[MW1.7+] Name of next odd namespace (e.g. 4 => 5)
{{SUBJECTSPACE}}
{{SUBJECTSPACEE}}
Hilfe
Hilfe
Benutzer
Benutzer
[MW1.7+] Name of last even namespace (e.g. 5 => 4)
{{ARTICLESPACE}}
{{ARTICLESPACEE}}
Hilfe
Hilfe
Benutzer
Benutzer
[MW1.7+] An alias for SUBJECTSPACE(E)
{{TALKPAGENAME}}
{{TALKPAGENAMEE}}
Hilfe Diskussion:Tutorial/8
Hilfe_Diskussion:Tutorial/8
Benutzer Diskussion:Anonymous user/sandbox/my page
Benutzer_Diskussion:Anonymous_user/sandbox/my_page
[MW1.7+] FULLPAGENAME in its TALKSPACE
{{SUBJECTPAGENAME}}
{{SUBJECTPAGENAMEE}}
Hilfe:Tutorial/8
Hilfe:Tutorial/8
Benutzer:Anonymous user/sandbox/my page
Benutzer:Anonymous_user/sandbox/my_page
[MW1.7+] FULLPAGENAME in its SUBJECTSPACE
{{ARTICLEPAGENAME}}
{{ARTICLEPAGENAMEE}}
Hilfe:Tutorial/8
Hilfe:Tutorial/8
Benutzer:Anonymous user/sandbox/my page
Benutzer:Anonymous_user/sandbox/my_page
[MW1.7+] An alias for SUBJECTPAGENAME(E)
{{REVISIONID}} 8196 N/A [MW1.5+] The unique identifying number of a page, see Help:Diff. Note that when editing a page, this value is null.
{{REVISIONDAY}} 4 N/A [MW1.8+] The day on which the page was last modified.
{{REVISIONDAY2}} 04 N/A [MW1.8+] The day on which the page was last modified, but with a leading zero (01 .. 31).
{{REVISIONMONTH}} 07 N/A [MW1.8+] The month in which the page was last modified.
{{REVISIONYEAR}} 2010 N/A [MW1.8+] The year in which the page was last modified.
{{REVISIONTIMESTAMP}} 20100704140858 N/A [MW1.8+] ISO 8601 time stamp, indicating when the page was last modified.
{{SITENAME}} Budopedia
{{SERVER}} http://www.budopedia.de
{{SCRIPTPATH}} [MW1.5+]
{{SERVERNAME}} www.budopedia.de [MW1.51+]
Weiter zum nächsten Kapitel