Editing Help:Magic words
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 325: | Line 325: | ||
===Other=== | ===Other=== | ||
+ | {| class="wikitable" | ||
+ | ! Code | ||
+ | ! Notes | ||
+ | |- | ||
+ | | <code> {{((}}#babel:''code1''{{pipe}}''code2''{{pipe}}...{{))}} </code> | ||
+ | | {{tl|Babel}} template replacement (see [[mw:Extension:Babel#Usage|Extension:Babel]]). | ||
+ | |- | ||
+ | | <code> {{((}}#coordinates:''arg1''{{pipe}}''arg2''{{pipe}}...{{))}} </code> | ||
+ | | GeoData coordinates function (see [[mw:Extension:GeoData|Extension:GeoData]]). | ||
+ | |- | ||
+ | | <code> {{((}}#invoke:''mod''{{pipe}}''func'' {{pipe}}''arg1'' {{pipe}}''arg2'' {{pipe}}...{{))}} </code> | ||
+ | | Calls the function ''func'' within the [[mw:Extension:Scribunto|Scribunto]] module ''mod''. (See [[Wikipedia:Lua]].) | ||
+ | |- | ||
+ | | <code> {{((}}#language:''code1''{{pipe}}''code2''{{))}} </code> | ||
+ | | Outputs the name of the language identified by the [[language code]] ''code1'' in the language identified by ''code2''. If ''code2'' is not supplied, the name of the language identified by ''code1'' will be output in that language. For example, "<code>{{braces|#language:ar}}</code>" outputs "{{thinsp|{{#language:ar}}}}" while "<code>{{braces|#language:ar{{pipe}}en}}</code>" and "<code>{{braces|#language:ar{{pipe}}fr}}</code>" output, respectively, "{{#language:ar|en}}" and "{{#language:ar|fr}}". (See [[mw:Help:Magic words#Miscellaneous]].) | ||
+ | |- | ||
+ | | <code> {{((}}#property:''arg1''{{pipe}}''arg2''{{pipe}}...{{))}} </code> | ||
+ | | (See [[m:Wikidata/Notes/Inclusion syntax v0.4]].) | ||
+ | |- | ||
+ | | <code> {{((}}#target:''noticeboard''{{))}} </code> | ||
+ | | MassMessage function (see [[m:MassMessage]] and [[mw:Help:Extension:MassMessage]]). | ||
+ | |- | ||
+ | | <code> {{((}}int:''messagename''{{))}} </code> | ||
+ | | [[Wikipedia:Transclusion|Transcludes]] a page (such as a system message) in [[Help:MediaWiki namespace|MediaWiki namespace]] according to the user's language preferences. | ||
+ | |} | ||
== See also == | == See also == |