「ヘルプ:Magic words/ja」を編集中

移動先: 案内検索

警告: ログインしていません。編集を行うと、あなたの IP アドレスが公開されます。ログインまたはアカウントを作成すれば、あなたの編集はその利用者名とともに表示されるほか、その他の利点もあります。

この編集を取り消せます。 下記の差分を確認して、本当に取り消していいか検証してください。よろしければ変更を保存して取り消しを完了してください。
最新版 編集中の文章
4行目: 4行目:
 
* '''[[#Behavior switches|Behavior switches]]''': these are uppercase words surrounded by double underscores, ''e.g.'' '''__FOO__'''.
 
* '''[[#Behavior switches|Behavior switches]]''': these are uppercase words surrounded by double underscores, ''e.g.'' '''__FOO__'''.
 
* '''[[#Variables|Variables]]''': these are uppercase words surrounded by double braces, ''e.g.'' '''<code><nowiki>{{FOO}}</nowiki></code>'''. As such, they look a lot like [[Help:Templates|templates]].
 
* '''[[#Variables|Variables]]''': these are uppercase words surrounded by double braces, ''e.g.'' '''<code><nowiki>{{FOO}}</nowiki></code>'''. As such, they look a lot like [[Help:Templates|templates]].
* '''[[#Parser functions|Parser functions]]''': these take parameters and are either of the form '''<code><nowiki>{{foo:...}}</nowiki></code>''' or '''<code><nowiki>{{#foo:...}}</nowiki></code>'''. See also {{mediawiki|Help:Extension:ParserFunctions/ja}}.
+
* '''[[#Parser functions|Parser functions]]''': these take parameters and are either of the form '''<code><nowiki>{{foo:...}}</nowiki></code>''' or '''<code><nowiki>{{#foo:...}}</nowiki></code>'''. See also {{mediawiki|Help:Extension:ParserFunctions}}.
  
Variables and parser functions can use [[Manual:subst|subst:]], just like templates.  Page-dependent magic words will affect or return data about the ''current'' page (by default), even if the word is added through a transcluded template or included system message.
+
Page-dependent magic words will affect or return data about the ''current'' page (by default), even if the word is added through a transcluded template or included system message.
  
 
== Behavior switches ==
 
== Behavior switches ==
39行目: 39行目:
 
|-
 
|-
 
| <code><nowiki>__NEWSECTIONLINK__</nowiki></code>
 
| <code><nowiki>__NEWSECTIONLINK__</nowiki></code>
| Adds a link beside the "edit" tab for adding a new section on a non-talk page (see {{mediawiki|m:Help:Section#Adding a section at the end|Adding a section to the end}}).
+
| Adds a link ([[MediaWiki:Addsection|"+" by default]]) beside the "edit" tab for adding a new section on a non-talk page (see {{mediawiki|m:Help:Section#Adding a section at the end|Adding a section to the end}}).
 
| 1.7 以降
 
| 1.7 以降
 
|-
 
|-
64行目: 64行目:
 
| <code><nowiki>__NOTITLECONVERT__</nowiki></code> <br /> <code><nowiki>__NOTC__</nowiki></code>
 
| <code><nowiki>__NOTITLECONVERT__</nowiki></code> <br /> <code><nowiki>__NOTC__</nowiki></code>
 
| On wikis with language variants, don't perform language conversion on the title (all other content is converted).
 
| On wikis with language variants, don't perform language conversion on the title (all other content is converted).
|
+
|  
 
|-
 
|-
 
! colspan="3" style="background-color: #DDDDDD;"| Other
 
! colspan="3" style="background-color: #DDDDDD;"| Other
79行目: 79行目:
 
| Tell search engines to index the page (overrides {{mediawiki|Manual:$wgArticleRobotPolicies|$wgArticleRobotPolicies}}, but not robots.txt). It obeys [[Manual:$wgExemptFromUserRobotsControl|$wgExemptFromUserRobotsControl]] variable.
 
| Tell search engines to index the page (overrides {{mediawiki|Manual:$wgArticleRobotPolicies|$wgArticleRobotPolicies}}, but not robots.txt). It obeys [[Manual:$wgExemptFromUserRobotsControl|$wgExemptFromUserRobotsControl]] variable.
 
| 1.14 以降
 
| 1.14 以降
|-
+
|-  
 
| <code><nowiki>__NOINDEX__</nowiki></code>
 
| <code><nowiki>__NOINDEX__</nowiki></code>
 
| Tell search engines not to index the page (i.e. do not list in search engines' results). It obeys [[Manual:$wgExemptFromUserRobotsControl|$wgExemptFromUserRobotsControl]] variable.
 
| Tell search engines not to index the page (i.e. do not list in search engines' results). It obeys [[Manual:$wgExemptFromUserRobotsControl|$wgExemptFromUserRobotsControl]] variable.
87行目: 87行目:
 
| On redirect pages, don't allow MediaWiki to automatically update the link when someone moves a page and checks "Update any redirects that point to the original title".
 
| On redirect pages, don't allow MediaWiki to automatically update the link when someone moves a page and checks "Update any redirects that point to the original title".
 
| {{mediawiki|rev:37928|1.13 以降}}
 
| {{mediawiki|rev:37928|1.13 以降}}
|-
 
| <code><nowiki>__DISAMBIG__</nowiki></code>
 
| Marks a page as a disambiguation page and places it in [[Special:DisambiguationPages]], and places inward links in [[Special:DisambiguationPageLinks]]. See [[Extension:Disambiguator]].
 
|
 
 
|}
 
|}
  
114行目: 110行目:
 
! バージョン
 
! バージョン
 
|-
 
|-
! colspan="4" style="background-color: #DDDDDD;"| 年{{Anchor|CURRENTYEAR}}
+
! colspan="4" style="background-color: #DDDDDD;"| 年
 
|-
 
|-
 
| <code><nowiki>{{CURRENTYEAR}}</nowiki></code>
 
| <code><nowiki>{{CURRENTYEAR}}</nowiki></code>
121行目: 117行目:
 
|
 
|
 
|-
 
|-
! colspan="4" style="background-color: #DDDDDD;"| 月{{Anchor|CURRENTMONTH|CURRENTMONTHNAME|CURRENTMONTHNAMEGEN|CURRENTMONTHABBREV}}
+
! colspan="4" style="background-color: #DDDDDD;"| 月
 
|-
 
|-
| <code><nowiki>{{CURRENTMONTH}}</nowiki></code>
+
| <code><nowiki>{{CURRENTMONTH}}</nowiki></code>  
 
| {{CURRENTMONTH}}
 
| {{CURRENTMONTH}}
 
| 月 (0 補完あり: 01~12)
 
| 月 (0 補完あり: 01~12)
143行目: 139行目:
 
| 1.5 以降
 
| 1.5 以降
 
|-
 
|-
! colspan="4" style="background-color: #DDDDDD;"| 日{{Anchor|CURRENTDAY|CURRENTDAY2|CURRENTDOW|CURRENTDAYNAME}}
+
! colspan="4" style="background-color: #DDDDDD;"| 日
 
|-
 
|-
 
| <code><nowiki>{{CURRENTDAY}}</nowiki></code>
 
| <code><nowiki>{{CURRENTDAY}}</nowiki></code>
165行目: 161行目:
 
|
 
|
 
|-
 
|-
! colspan="4" style="background-color: #DDDDDD;"| 時刻{{Anchor|CURRENTTIME|CURRENTHOUR}}
+
! colspan="4" style="background-color: #DDDDDD;"| 時刻
 
|-
 
|-
 
| <code><nowiki>{{CURRENTTIME}}</nowiki></code>
 
| <code><nowiki>{{CURRENTTIME}}</nowiki></code>
177行目: 173行目:
 
|
 
|
 
|-
 
|-
! colspan="4" style="background-color: #DDDDDD;"| その他{{Anchor|CURRENTWEEK|CURRENTTIMESTAMP}}
+
! colspan="4" style="background-color: #DDDDDD;"| その他
 
|-
 
|-
 
| <code><nowiki>{{CURRENTWEEK}}</nowiki></code>
 
| <code><nowiki>{{CURRENTWEEK}}</nowiki></code>
205行目: 201行目:
 
* <nowiki>{{LOCALTIMESTAMP}}</nowiki></code>
 
* <nowiki>{{LOCALTIMESTAMP}}</nowiki></code>
  
''For more thorough time formatting, you may want to install [[Extension:ParserFunctions]] to use the [[Help:Extension:ParserFunctions/ja#.23time|#time parser function]]''.
+
''For more thorough time formatting, you may want to install [[Extension:ParserFunctions]] to use the [[Help:Extension:ParserFunctions#.23time|#time parser function]]''.
  
 
=== 技術的なメタデータ ===
 
=== 技術的なメタデータ ===
218行目: 214行目:
 
! バージョン
 
! バージョン
 
|-
 
|-
! colspan="4" style="background-color: #DDDDDD;"| {{Anchor|Site|SITENAME|SERVER|SERVERNAME|DIRMARK|DIRECTIONMARK}}{{Anchor|SCRIPTPATH|STYLEPATH|CURRENTVERSION|CONTENTLANGUAGE|CONTENTLANG}}サイト
+
! colspan="4" style="background-color: #DDDDDD;"| サイト
 
|-
 
|-
 
| <code><nowiki>{{SITENAME}}</nowiki></code>
 
| <code><nowiki>{{SITENAME}}</nowiki></code>
228行目: 224行目:
 
| {{SERVER}}
 
| {{SERVER}}
 
| ドメイン [http://en.wikipedia.org/wiki/URL URL] ({{mediawiki|Manual:$wgServer|$wgServer}}).
 
| ドメイン [http://en.wikipedia.org/wiki/URL URL] ({{mediawiki|Manual:$wgServer|$wgServer}}).
|
 
 
|-
 
|-
 
| <code><nowiki>{{SERVERNAME}}</nowiki></code>
 
| <code><nowiki>{{SERVERNAME}}</nowiki></code>
 
| {{SERVERNAME}}
 
| {{SERVERNAME}}
| サブドメイン名およびドメイン名 (バージョン 1.17 以降、{{mediawiki|Manual:$wgServerName/ja|$wgServerName}} に依存しなくなりました)
+
| ドメイン名 (バージョン 1.17 以降、{{mediawiki|Manual:$wgServerName|$wgServerName}} に依存しなくなりました)
 
|
 
|
 
|-
 
|-
260行目: 255行目:
 
| {{r|14661|1.7 以降}}
 
| {{r|14661|1.7 以降}}
 
|-
 
|-
! colspan="4" style="background-color: #DDDDDD;"| {{Anchor|Page|PAGEID|PAGESIZE|PROTECTIONLEVEL}}ページ
+
! colspan="4" style="background-color: #DDDDDD;"| ページ
 
|-
 
|-
 
| <code><nowiki>{{PAGEID}}</nowiki></code>
 
| <code><nowiki>{{PAGEID}}</nowiki></code>
266行目: 261行目:
 
| ページの識別子を返す。
 
| ページの識別子を返す。
 
| {{mediawiki|gerrit:9858|1.20 以降}}
 
| {{mediawiki|gerrit:9858|1.20 以降}}
 +
|-style="background: #FED;"
 +
| <code><nowiki>{{PAGESIZE:</nowiki>''page name''<nowiki>}}</nowiki></code> <br /><code><nowiki>{{PAGESIZE:</nowiki>''page name''<nowiki>|R}}</nowiki>
 +
| {{PAGESIZE:Help:Magic_words}} <br />{{PAGESIZE:Help:Magic_words|R}}
 +
| '''[高負荷]''' Returns the byte size of the specified page. Use "<code><nowiki>|R</nowiki></code>" to get raw (unformatted) numbers.
 +
| {{mediawiki|rev:33551|1.13 以降}}
 
|-
 
|-
| <code><nowiki>{{</nowiki>PROTECTIONLEVEL:  ''action'' }}</code>
+
| <code><nowiki>{{PROTECTIONLEVEL:</nowiki>''action''<nowiki>}}</nowiki></code>
 
| <!-- Leave this empty. -->
 
| <!-- Leave this empty. -->
| 現在のページについて指定した操作 (例: "edit"、"move") に対する保護レベル (例: "autoconfirmed"、"sysop") を出力する。保護されていない場合は空の文字列を返す。
+
| 現在のページについて指定した操作 (例: "edit"、"move") に対する保護レベル (例: "autoconfirmed"、"sysop") を出力する。保護されていない場合は空の文字列。
 
| {{mediawiki|rev:45587|1.15 以降}}
 
| {{mediawiki|rev:45587|1.15 以降}}
 
|-
 
|-
! colspan="4" style="background-color: #DDDDDD;"| {{Anchor|revision|REVISIONID|REVISIONDAY|REVISIONDAY2|REVISIONMONTH|REVISIONMONTH1|REVISIONYEAR|REVISIONTIMESTAMP|REVISIONUSER}}現在のページへの最新の版
+
! colspan="4" style="background-color: #DDDDDD;"| 現在のページへの最新の版
 
|-
 
|-
 
| <code><nowiki>{{REVISIONID}}</nowiki></code>
 
| <code><nowiki>{{REVISIONID}}</nowiki></code>
309行目: 309行目:
 
| 1.8 以降
 
| 1.8 以降
 
|-
 
|-
| <code><nowiki>{{REVISIONUSER}}</nowiki></code><br /><code><nowiki>{{URLENCODE:{{REVISIONUSER}}|WIKI}}</nowiki></code>
+
| <code><nowiki>{{REVISIONUSER}}</nowiki></code>
| {{REVISIONUSER}}<br />{{URLENCODE:{{REVISIONUSER}}|WIKI}}
+
| {{REVISIONUSER}}
 
| The username of the user who made the most recent edit to the page, or the current user when previewing an edit.
 
| The username of the user who made the most recent edit to the page, or the current user when previewing an edit.
 
| {{mediawiki|rev:48149|1.15 以降}}
 
| {{mediawiki|rev:48149|1.15 以降}}
 
|-
 
|-
| <code><nowiki>{{REVISIONSIZE}}</nowiki></code>
+
! colspan="4" style="background-color: #DDDDDD;"| ページ本文に影響
| {{REVISIONSIZE}}
 
| このページの現在の版のサイズ (ウィキテキストのバイト数)
 
| {{mediawiki|gerrit:82650|1.22 以降}}
 
|-
 
! colspan="4" style="background-color: #DDDDDD;"| {{Anchor|DISPLAYTITLE|DEAFULTSORT|DEFAULTCATEGORYSORT|DEFAULTSORTKEY}}ページ本文に影響
 
 
|-
 
|-
 
| {{anchor|Displaytitle}} <code><nowiki>{{DISPLAYTITLE:</nowiki>''title''<nowiki>}}</nowiki></code>
 
| {{anchor|Displaytitle}} <code><nowiki>{{DISPLAYTITLE:</nowiki>''title''<nowiki>}}</nowiki></code>
328行目: 323行目:
 
| {{anchor|Defaultsort}} <code><nowiki>{{DEFAULTSORT:</nowiki>''sortkey''<nowiki>}}</nowiki></code> <br /><code><nowiki>{{DEFAULTSORTKEY:</nowiki>''sortkey''<nowiki>}}</nowiki></code> <br /><code><nowiki>{{DEFAULTCATEGORYSORT:</nowiki>''sortkey''<nowiki>}}</nowiki></code> <br/><code><nowiki>{{DEFAULTSORT:</nowiki>''sortkey''<nowiki>|noerror}}</nowiki></code> <br/><code><nowiki>{{DEFAULTSORT:</nowiki>''sortkey''<nowiki>|noreplace}}</nowiki></code>
 
| {{anchor|Defaultsort}} <code><nowiki>{{DEFAULTSORT:</nowiki>''sortkey''<nowiki>}}</nowiki></code> <br /><code><nowiki>{{DEFAULTSORTKEY:</nowiki>''sortkey''<nowiki>}}</nowiki></code> <br /><code><nowiki>{{DEFAULTCATEGORYSORT:</nowiki>''sortkey''<nowiki>}}</nowiki></code> <br/><code><nowiki>{{DEFAULTSORT:</nowiki>''sortkey''<nowiki>|noerror}}</nowiki></code> <br/><code><nowiki>{{DEFAULTSORT:</nowiki>''sortkey''<nowiki>|noreplace}}</nowiki></code>
 
|
 
|
| Used for categorizing pages, sets a default [[Help:Categories|category sort key]]. For example if you put <code><nowiki>{{DEFAULTSORT:Smith, John}}</nowiki></code> at the end of [[John Smith]], the page would be sorted under "S" by default in categories. It can take a second argument of ''noerror'' or ''noreplace'' to suppress error messages when multiple defaultsortkeys are used on one page or to make this <tt>defaultsort</tt> do nothing if a <tt>defaultsort</tt> was already specified earlier in the page.
+
| Used for categorizing pages, sets a default [[Help:Categories|category sort key]]. For example if you put <code><nowiki>{{DEFAULTSORT:Smith, John}}</nowiki></code> at the end of [[John Smith]], the page would be sorted under "S" by default in categories. It can take a second argument of ''noerror'' or ''noreplace'' to suppress error messages when multiple defaultsortkeys are used on one page or to make it do nothing if multiple defaultsortkeys are used.
 
| 1.10 以降 <br/>{{mediawiki|rev:96767|1.19 以降}} (for noerror and noreplace)
 
| 1.10 以降 <br/>{{mediawiki|rev:96767|1.19 以降}} (for noerror and noreplace)
 
|}
 
|}
334行目: 329行目:
 
=== 統計 ===
 
=== 統計 ===
  
Numbers returned by these variables normally contain separators (commas or spaces, depending on the local language), but can return raw numbers with the ":R" flag (for example, <code><nowiki>{{NUMBEROFPAGES}}</nowiki></code> &rarr; {{NUMBEROFPAGES}} and <code><nowiki>{{NUMBEROFPAGES:R}}</nowiki></code> &rarr; {{NUMBEROFPAGES:R}}). Use "|R" for magic words that require a parameter like PAGESINCATEGORY (for example <code><nowiki>{{PAGESINCATEGORY:Help}}</nowiki></code> and <code><nowiki>{{PAGESINCATEGORY:Help|R}}</nowiki></code>, or <code><nowiki>{{PAGESINCATEGORY:Help|subcats}}</nowiki></code> and <code><nowiki>{{PAGESINCATEGORY:Help|subcats|R}}</nowiki></code>). Also applicable to <code><nowiki>{{PAGESIZE:</nowiki>''ページ名''<nowiki>}}</nowiki></code> hereinbefore.
+
Numbers returned by these variables normally contain separators (commas or spaces, depending on the local language), but can return raw numbers with the ":R" flag (for example, <code><nowiki>{{NUMBEROFPAGES}}</nowiki></code> &rarr; {{NUMBEROFPAGES}} and <code><nowiki>{{NUMBEROFPAGES:R}}</nowiki></code> &rarr; {{NUMBEROFPAGES:R}}). Use "|R" for magic words that require a parameter like PAGESINCATEGORY (for example <code><nowiki>{{PAGESINCATEGORY:Help}}</nowiki></code> and <code><nowiki>{{PAGESINCATEGORY:Help|R}}</nowiki></code>, or <code><nowiki>{{PAGESINCATEGORY:Help|subcats}}</nowiki></code> and <code><nowiki>{{PAGESINCATEGORY:Help|subcats|R}}</nowiki></code>). Also applicable to <code><nowiki>{{PAGESIZE:</nowiki>''page name''<nowiki>}}</nowiki></code> hereinbefore.
  
 
The number magic words are formatted in the wiki content language. Since {{r|94680|1.19}}, it depends on the [[page content language]].
 
The number magic words are formatted in the wiki content language. Since {{r|94680|1.19}}, it depends on the [[page content language]].
352行目: 347行目:
 
| <code><nowiki>{{NUMBEROFARTICLES}}</nowiki></code>
 
| <code><nowiki>{{NUMBEROFARTICLES}}</nowiki></code>
 
| {{NUMBEROFARTICLES}}
 
| {{NUMBEROFARTICLES}}
| {{mediawiki|Manual:Using custom namespaces/ja#Content namespaces|標準名前空間}}内のページ数。
+
| {{mediawiki|Manual:Using custom namespaces#Content namespaces|標準名前空間}}内のページ数。
 
|
 
|
 
|-
 
|-
404行目: 399行目:
 
| Number of users in a specific {{mediawiki|Manual:User rights|group}}.
 
| Number of users in a specific {{mediawiki|Manual:User rights|group}}.
 
| {{mediawiki|rev:40116|1.14 以降}}
 
| {{mediawiki|rev:40116|1.14 以降}}
|- style="background:#FED;"
+
|-
 
| <code><nowiki>{{PAGESINNS:</nowiki>''index''<nowiki>}}</nowiki></code> <br /><code><nowiki>{{PAGESINNAMESPACE:</nowiki>''index''<nowiki>}}</nowiki></code>
 
| <code><nowiki>{{PAGESINNS:</nowiki>''index''<nowiki>}}</nowiki></code> <br /><code><nowiki>{{PAGESINNAMESPACE:</nowiki>''index''<nowiki>}}</nowiki></code>
 
| ''Not enabled''
 
| ''Not enabled''
| '''[高負荷]''' Number of pages in the given [[Help:Namespaces|namespace]] (replace ''index'' with the relevant [[Manual:Namespace|namespace index]]). For instance, <code><nowiki>{{PAGESINNAMESPACE:</nowiki>''14''<nowiki>}}</nowiki></code> will output the number of category pages. <code><nowiki>{{PAGESINNS:0}}</nowiki></code> differs from <code><nowiki>{{NUMBEROFARTICLES}}</nowiki></code> in that the former includes redirects and disambiguation pages. Disabled by default, enable with {{mediawiki|Manual:$wgAllowSlowParserFunctions|$wgAllowSlowParserFunctions}}.  
+
| Number of pages in the given [[Help:Namespaces|namespace]] (replace ''index'' with the relevant [[Manual:Namespace|namespace index]]). For instance, <code><nowiki>{{PAGESINNAMESPACE:</nowiki>''14''<nowiki>}}</nowiki></code> will output the number of category pages. <code><nowiki>{{PAGESINNS:0}}</nowiki></code> differs from <code><nowiki>{{NUMBEROFARTICLES}}</nowiki></code> in that the former includes redirects and disambiguation pages. Disabled by default, enable with {{mediawiki|Manual:$wgAllowSlowParserFunctions|$wgAllowSlowParserFunctions}}.  
 
| 1.7 以降
 
| 1.7 以降
 
|}
 
|}
420行目: 415行目:
 
! バージョン
 
! バージョン
 
|-
 
|-
| {{Anchor|FULLPAGENAME|fullpagename}}<code><nowiki>{{FULLPAGENAME}}</nowiki></code>
+
| <code><nowiki>{{FULLPAGENAME}}</nowiki></code>
 
| {{FULLPAGENAME}}
 
| {{FULLPAGENAME}}
 
| 名前空間を含めたページ名 (すべての下位レベルを含む)。
 
| 名前空間を含めたページ名 (すべての下位レベルを含む)。
 
| 1.6 以降
 
| 1.6 以降
 
|-
 
|-
| {{Anchor|PAGENAME|pagename}}<code><nowiki>{{PAGENAME}}</nowiki></code>
+
| <code><nowiki>{{PAGENAME}}</nowiki></code>
 
| {{PAGENAME}}
 
| {{PAGENAME}}
 
| 名前空間を除外したページ名 (すべての下位レベルを含む)。
 
| 名前空間を除外したページ名 (すべての下位レベルを含む)。
432行目: 427行目:
 
| <code><nowiki>{{BASEPAGENAME}}</nowiki></code>
 
| <code><nowiki>{{BASEPAGENAME}}</nowiki></code>
 
| {{BASEPAGENAME}}
 
| {{BASEPAGENAME}}
| {{Anchor|BASEPAGENAME|basepagename}}名前空間と末尾の[[Help:subpages/ja|下位ページ]]レベルを除外したページ名 ("Help:Title/foo/bar" の場合 "Title/foo")。
+
| 名前空間と末尾の[[Help:subpages/ja|下位ページ]]レベルを除外したページ名 ("Help:Title/foo/bar" の場合 "Title/foo")。
For more complex splitting, use <code><nowiki>{{</nowiki>[[Help:Extension:ParserFunctions/ja#.23titleparts|#titleparts:]]<nowiki>}}</nowiki></code> from the [[Help:Extension:ParserFunctions/ja|ParserFunctions extension]].
+
For more complex splitting, use <code><nowiki>{{</nowiki>[[Help:Extension:ParserFunctions#.23titleparts|#titleparts:]]<nowiki>}}</nowiki></code> from the [[Help:Extension:ParserFunctions|ParserFunctions extension]].
 
| 1.7 以降
 
| 1.7 以降
 
|-
 
|-
| {{Anchor|SUBPAGENAME|subpagename}}<code><nowiki>{{SUBPAGENAME}}</nowiki></code>
+
| <code><nowiki>{{SUBPAGENAME}}</nowiki></code>
 
| {{SUBPAGENAME}}
 
| {{SUBPAGENAME}}
 
| [[Help:subpages/ja|下位ページ]] 名 ("Help:Title/foo/bar" の場合 "bar")
 
| [[Help:subpages/ja|下位ページ]] 名 ("Help:Title/foo/bar" の場合 "bar")
 
| 1.6 以降
 
| 1.6 以降
 
|-
 
|-
| {{Anchor|SUBJECTPAGENAME|ARTICLEPAGENAME|subjectpagename|articlepagename}}<code><nowiki>{{SUBJECTPAGENAME}}</nowiki></code> <br/><code><nowiki>{{ARTICLEPAGENAME}}</nowiki></code>
+
| <code><nowiki>{{SUBJECTPAGENAME}}</nowiki></code> <br/><code><nowiki>{{ARTICLEPAGENAME}}</nowiki></code>
 
| {{SUBJECTPAGENAME}}<br/>{{ARTICLEPAGENAME}}
 
| {{SUBJECTPAGENAME}}<br/>{{ARTICLEPAGENAME}}
| 関連付けられた本文ページ (例: 記事やファイル) のページ名。
+
| 関連付けられた本文ページのページ名。
 
| 1.7 以降
 
| 1.7 以降
 
|-
 
|-
| {{Anchor|TALKPAGENAME|talkpagename}}<code><nowiki>{{TALKPAGENAME}}</nowiki></code>
+
| <code><nowiki>{{TALKPAGENAME}}</nowiki></code>
 
| {{TALKPAGENAME}}
 
| {{TALKPAGENAME}}
 
| 関連付けられたトークページのページ名。
 
| 関連付けられたトークページのページ名。
457行目: 452行目:
 
* <code><nowiki>{{PAGENAME:Template:Main Page}}</nowiki></code> &rarr; '''{{PAGENAME:Template:Main Page}}'''
 
* <code><nowiki>{{PAGENAME:Template:Main Page}}</nowiki></code> &rarr; '''{{PAGENAME:Template:Main Page}}'''
  
{{Warning/ja|Page titles containing certain characters, such as apostrophes <code>'</code> or asterisks <code>*</code>, may produce unexpected results when handled with these magic words, e.g. <code><nowiki>{{PAGESINCATEGORY:{{PAGENAME}}}}</nowiki></code>. See bugs {{mediawiki|bugzilla:14779|14779}}, {{mediawiki|bugzilla:16474|16474}} and {{mediawiki|bugzilla:35628|35628}}. One simple way to fix this is wrapping the pagename in #titleparts (parser function).}}
+
{{Warning/ja|Page titles containing certain characters, such as apostrophes <code>'</code> or asterisks <code>*</code>, may produce unexpected results when handled with these magic words, e.g. <code><nowiki>{{PAGESINCATEGORY:{{PAGENAME}}}}</nowiki></code>. See bugs {{mediawiki|bugzilla:14779|14779}}, {{mediawiki|bugzilla:16474|16474}} and {{mediawiki|bugzilla:35628|35628}}. One simple way to fix this is wrapping the pagename in #titleparts.}}
  
 
For example, if page name is "L'Aquila", the following code will produce the string "Numeric char encoding":
 
For example, if page name is "L'Aquila", the following code will produce the string "Numeric char encoding":
497行目: 492行目:
 
| <code><nowiki>{{NAMESPACENUMBER}}</nowiki></code>
 
| <code><nowiki>{{NAMESPACENUMBER}}</nowiki></code>
 
| {{NAMESPACENUMBER}}
 
| {{NAMESPACENUMBER}}
| ページの名前空間 [[Manual:Namespace#Built-in_namespaces|ID]]
+
| ID of the page's namespace
 
| [[gerrit:4056|1.20 以降]]
 
| [[gerrit:4056|1.20 以降]]
 
|-
 
|-
527行目: 522行目:
 
Parser functions are very similar to variables, but take one or more parameters (technically, any magic word that takes a parameter is a parser function), and the name is sometimes prefixed with a hash to distinguish them from templates.
 
Parser functions are very similar to variables, but take one or more parameters (technically, any magic word that takes a parameter is a parser function), and the name is sometimes prefixed with a hash to distinguish them from templates.
  
This page only describes parser functions that are integral to the MediaWiki software. Other parser functions may be added by MediaWiki extensions such as the {{mediawiki|Extension:ParserFunctions|ParserFunctions extension}}. For those see [[Help:Extension:ParserFunctions/ja]].
+
This page only describes parser functions that are integral to the MediaWiki software. Other parser functions may be added by MediaWiki extensions such as the {{mediawiki|Extension:ParserFunctions|ParserFunctions extension}}. For those see [[Help:Extension:ParserFunctions]].
 
 
=== 別のページの技術的なメタデータ ===
 
{| class="wikitable"
 
|-
 
! パーサー関数
 
! 出力<br />(ページ [[MediaWiki]] の場合)
 
! 説明
 
! バージョン
 
|- style="background: #FED;"
 
| <code><nowiki>{{PAGEID: </nowiki>''ページ名''<nowiki> }}</nowiki></code>
 
| {{PAGEID: MediaWiki }}
 
| [高負荷] Returns the page identifier of the specified page*.
 
| {{mediawiki|gerrit:76534|1.23 以降}}
 
|- style="background: #FED;"
 
| <code><nowiki>{{PAGESIZE: </nowiki>''ページ名''<nowiki> }}</nowiki></code> <br /><code><nowiki>{{PAGESIZE: </nowiki>''ページ名''<nowiki> |R}}</nowiki>
 
| {{PAGESIZE: MediaWiki }} <br />{{PAGESIZE: MediaWiki |R}}
 
| [高負荷] Returns the byte size of the specified page. Use "<code><nowiki>|R</nowiki></code>" to get raw (unformatted) numbers.
 
| {{mediawiki|rev:33551|1.13 以降}}
 
|-
 
| <code><nowiki>{{</nowiki>PROTECTIONLEVEL:  ''操作'' &#124; ''ページ名'' }}</code>
 
| {{PROTECTIONLEVEL: edit | MediaWiki }}
 
| Outputs the protection level (e.g. "autoconfirmed", "sysop") for a given action (e.g. "edit", "move") on the specified page. Returns an empty string if not protected.
 
| {{mediawiki|gerrit:44683|1.21 以降}}
 
|- style="background: #FED;"
 
| <code><nowiki>{{REVISIONID: </nowiki>''ページ名''<nowiki> }}</nowiki></code>
 
| {{REVISIONID: MediaWiki }}
 
| [高負荷] Unique revision ID of the last revision on the specified page*.
 
| {{mediawiki|gerrit:76534|1.23 以降}}
 
|- style="background: #FED;"
 
| <code><nowiki>{{REVISIONDAY: </nowiki>''ページ名''<nowiki> }}</nowiki></code>
 
| {{REVISIONDAY: MediaWiki }}
 
| [高負荷] Day of edit from the last revision of the specified page* (unpadded number).
 
| {{mediawiki|gerrit:76534|1.23 以降}}
 
|- style="background: #FED;"
 
| <code><nowiki>{{REVISIONDAY2: </nowiki>''ページ名''<nowiki> }}</nowiki></code>
 
| {{REVISIONDAY2: MediaWiki }}
 
| [高負荷] Day of edit from the last revision of the specified page* (zero-padded number).
 
| {{mediawiki|gerrit:76534|1.23 以降}}
 
|- style="background: #FED;"
 
| <code><nowiki>{{REVISIONMONTH: </nowiki>''ページ名''<nowiki> }}</nowiki></code>
 
| {{REVISIONMONTH: MediaWiki }}
 
| [高負荷] Month of edit from the last revision of the specified page* (zero-padded number as of {{mediawiki|rev:66200|1.17 以降}}, unpadded number in prior versions).
 
| {{mediawiki|gerrit:76534|1.23 以降}}
 
|- style="background: #FED;"
 
| <code><nowiki>{{REVISIONMONTH1: </nowiki>''ページ名''<nowiki> }}</nowiki></code>
 
| {{REVISIONMONTH1: MediaWiki }}
 
| [高負荷] Month of edit from the last revision of the specified page* (unpadded number).
 
| {{mediawiki|gerrit:76534|1.23 以降}}
 
|- style="background: #FED;"
 
| <code><nowiki>{{REVISIONYEAR: </nowiki>''ページ名''<nowiki> }}</nowiki></code>
 
| {{REVISIONYEAR: MediaWiki }}
 
| [高負荷] Year of edit from the last revision of the specified page*.
 
| {{mediawiki|gerrit:76534|1.23 以降}}
 
|- style="background: #FED;"
 
| <code><nowiki>{{REVISIONTIMESTAMP: </nowiki>''ページ名''<nowiki> }}</nowiki></code>
 
| {{REVISIONTIMESTAMP: MediaWiki }}
 
| [高負荷] Timestamp as of time of edit on the specified page*.
 
| {{mediawiki|gerrit:76534|1.23 以降}}
 
|- style="background: #FED;"
 
| <code><nowiki>{{REVISIONUSER: </nowiki>''ページ名''<nowiki> }}</nowiki></code>
 
| {{REVISIONUSER: MediaWiki }}
 
| [高負荷] The username from the last revision on the specified page*.
 
| {{mediawiki|gerrit:76534|1.23 以降}}
 
|-
 
| colspan="4" | *When the given param is equal to the current title of the parser, the parser function will yield the previous versions on preview and on substitution, that includes empty strings when used on page creation, but using the values from the current version for page view, including viewing old revisions. In this case it is a non-expensive parser function.
 
|}
 
  
 
=== URL データ ===
 
=== URL データ ===
604行目: 533行目:
 
! バージョン
 
! バージョン
 
|-
 
|-
| colspan="4"| {{Anchor|localurl|LOCALURL}}
+
| <code><nowiki>{{localurl:</nowiki>''page name''<nowiki>}}</nowiki></code> <br /><code><nowiki>{{localurl:</nowiki>''page name''<nowiki>|</nowiki>''query_string''<nowiki>}}</nowiki></code>
|-
 
| <code><nowiki>{{localurl:</nowiki>''ページ名''<nowiki>}}</nowiki></code> <br /><code><nowiki>{{localurl:</nowiki>''ページ名''<nowiki>|</nowiki>''query_string''<nowiki>}}</nowiki></code>
 
 
| <code><nowiki>{{localurl:MediaWiki}}</nowiki></code> → {{localurl:MediaWiki}} <br /><code><nowiki>{{localurl:MediaWiki|printable=yes}}</nowiki></code> → {{localurl:MediaWiki|printable=yes}}
 
| <code><nowiki>{{localurl:MediaWiki}}</nowiki></code> → {{localurl:MediaWiki}} <br /><code><nowiki>{{localurl:MediaWiki|printable=yes}}</nowiki></code> → {{localurl:MediaWiki|printable=yes}}
 
| The relative path to the title.  
 
| The relative path to the title.  
 
|
 
|
 
|-
 
|-
| colspan="4"| {{Anchor|fullurl|FULLURL}}
+
| <code><nowiki>{{fullurl:</nowiki>''page name''<nowiki>}}</nowiki></code> <br /><code><nowiki>{{fullurl:</nowiki>''page name''<nowiki>|</nowiki>''query_string''<nowiki>}}</nowiki></code> <br /><code><nowiki>{{fullurl:</nowiki>''interwiki:remote page name''<nowiki>|</nowiki>''query_string''<nowiki>}}</nowiki></code>
|-
 
| <code><nowiki>{{fullurl:</nowiki>''ページ名''<nowiki>}}</nowiki></code> <br /><code><nowiki>{{fullurl:</nowiki>''ページ名''<nowiki>|</nowiki>''query_string''<nowiki>}}</nowiki></code> <br /><code><nowiki>{{fullurl:</nowiki>''interwiki:remote page name''<nowiki>|</nowiki>''query_string''<nowiki>}}</nowiki></code>
 
 
| <code><nowiki>{{fullurl:Category:Top level}}</nowiki></code> → {{fullurl:Category:Top level}} <br />
 
| <code><nowiki>{{fullurl:Category:Top level}}</nowiki></code> → {{fullurl:Category:Top level}} <br />
 
<code><nowiki>{{fullurl:Category:Top level|action=edit}}</nowiki></code> → {{fullurl:Category:Top level|action=edit}}
 
<code><nowiki>{{fullurl:Category:Top level|action=edit}}</nowiki></code> → {{fullurl:Category:Top level|action=edit}}
619行目: 544行目:
 
| 1.5 以降
 
| 1.5 以降
 
|-
 
|-
| colspan="4"| {{Anchor|canonicalurl|CANONICALURL}}
+
| <code><nowiki>{{canonicalurl:</nowiki>''page name''<nowiki>}}</nowiki></code> <br /><code><nowiki>{{canonicalurl:</nowiki>''page name''<nowiki>|</nowiki>''query_string''<nowiki>}}</nowiki></code> <br /><code><nowiki>{{canonicalurl:</nowiki>''interwiki:remote page name''<nowiki>|</nowiki>''query_string''<nowiki>}}</nowiki></code>
|-
 
| <code><nowiki>{{canonicalurl:</nowiki>''ページ名''<nowiki>}}</nowiki></code> <br /><code><nowiki>{{canonicalurl:</nowiki>''ページ名''<nowiki>|</nowiki>''query_string''<nowiki>}}</nowiki></code> <br /><code><nowiki>{{canonicalurl:</nowiki>''interwiki:remote page name''<nowiki>|</nowiki>''query_string''<nowiki>}}</nowiki></code>
 
 
| <code><nowiki>{{canonicalurl:Category:Top level}}</nowiki></code> → {{canonicalurl:Category:Top level}} <br />
 
| <code><nowiki>{{canonicalurl:Category:Top level}}</nowiki></code> → {{canonicalurl:Category:Top level}} <br />
 
<code><nowiki>{{canonicalurl:Category:Top level|action=edit}}</nowiki></code> → {{canonicalurl:Category:Top level|action=edit}}
 
<code><nowiki>{{canonicalurl:Category:Top level|action=edit}}</nowiki></code> → {{canonicalurl:Category:Top level|action=edit}}
 
| The absolute path to the title, using the canonical URL. This will also resolve [[Manual:Interwiki|interwiki]] prefixes.
 
| The absolute path to the title, using the canonical URL. This will also resolve [[Manual:Interwiki|interwiki]] prefixes.
 
| 1.18 以降
 
| 1.18 以降
|-
 
| colspan="4"| {{Anchor|filepath|FILEPATH}}
 
 
|-
 
|-
 
| <code><nowiki>{{filepath:</nowiki>''file name''<nowiki>}}</nowiki></code> <br /><code><nowiki>{{filepath:</nowiki>''file name''<nowiki>|nowiki}}</nowiki></code> <br /><code><nowiki>{{filepath:</nowiki>''file name''<nowiki>|</nowiki>''thumbnail_size''<nowiki>}}</nowiki></code>
 
| <code><nowiki>{{filepath:</nowiki>''file name''<nowiki>}}</nowiki></code> <br /><code><nowiki>{{filepath:</nowiki>''file name''<nowiki>|nowiki}}</nowiki></code> <br /><code><nowiki>{{filepath:</nowiki>''file name''<nowiki>|</nowiki>''thumbnail_size''<nowiki>}}</nowiki></code>
635行目: 556行目:
 
| A protocol-relative path to the full size or thumbnail ({{mediawiki|rev:80813|1.18 以降}}) of a media file.
 
| A protocol-relative path to the full size or thumbnail ({{mediawiki|rev:80813|1.18 以降}}) of a media file.
 
| {{mediawiki|rev:25854|1.12 以降}} <br />{{mediawiki|rev:80813|1.18 以降}}
 
| {{mediawiki|rev:25854|1.12 以降}} <br />{{mediawiki|rev:80813|1.18 以降}}
|-
 
| colspan="4"| {{Anchor|urlencode|URLENCODE}}
 
 
|-
 
|-
 
| <code><nowiki>{{urlencode:</nowiki>''string''<nowiki>}}</nowiki></code> (or <code><nowiki>{{urlencode:</nowiki>''string''<nowiki>|QUERY}}</nowiki></code>) <br /><code><nowiki>{{urlencode:</nowiki>''string''<nowiki>|WIKI}}</nowiki></code> <br /><code><nowiki>{{urlencode:</nowiki>''string''<nowiki>|PATH}}</nowiki></code>
 
| <code><nowiki>{{urlencode:</nowiki>''string''<nowiki>}}</nowiki></code> (or <code><nowiki>{{urlencode:</nowiki>''string''<nowiki>|QUERY}}</nowiki></code>) <br /><code><nowiki>{{urlencode:</nowiki>''string''<nowiki>|WIKI}}</nowiki></code> <br /><code><nowiki>{{urlencode:</nowiki>''string''<nowiki>|PATH}}</nowiki></code>
643行目: 562行目:
 
| The input encoded for use in URLs. Note that there is no urldecode function like there is in the obsolete [[Extension:StringFunctions]].
 
| The input encoded for use in URLs. Note that there is no urldecode function like there is in the obsolete [[Extension:StringFunctions]].
 
| {{mediawiki|rev:14273|1.7 以降}} (または {{mediawiki|rev:64726|1.17 以降}}) <br />{{mediawiki|rev:64726|1.17 以降}} <br />{{mediawiki|rev:64726|1.17 以降}}
 
| {{mediawiki|rev:14273|1.7 以降}} (または {{mediawiki|rev:64726|1.17 以降}}) <br />{{mediawiki|rev:64726|1.17 以降}} <br />{{mediawiki|rev:64726|1.17 以降}}
|-
 
| colspan="4"| {{Anchor|anchorencode|ANCHORENCODE}}
 
 
|-
 
|-
 
| <code><nowiki>{{anchorencode:</nowiki>''string''<nowiki>}}</nowiki></code>
 
| <code><nowiki>{{anchorencode:</nowiki>''string''<nowiki>}}</nowiki></code>
715行目: 632行目:
 
|}
 
|}
  
Don't confuse localised namespaces with [[Manual:Using custom namespaces/ja|custom namespaces]].
+
Don't confuse localised namespaces with [[Manual:Using custom namespaces|custom namespaces]].
  
 
=== 整形 ===
 
=== 整形 ===
835行目: 752行目:
 
! バージョン
 
! バージョン
 
|-
 
|-
| {{Anchor|plural|Plural|PLURAL}}<code><nowiki>{{plural:2|</nowiki>''is''<nowiki>|</nowiki>''are''<nowiki>}}</nowiki></code>
+
| <code><nowiki>{{plural:2|</nowiki>''is''<nowiki>|</nowiki>''are''<nowiki>}}</nowiki></code>
 
| <code><nowiki>{{plural:0|is|are}}</nowiki></code> → {{plural:0|is|are}} <br />  <code><nowiki>{{plural:1*1|is|are}}</nowiki></code> → {{plural:1*1|is|are}} <br /> <code><nowiki>{{plural:21 mod 10|is|are}}</nowiki></code> → {{plural:21 mod 10|is|are}} <br /> <code><nowiki>{{plural:{{#expr:21 mod 10}}|is|are}}</nowiki></code> → {{plural:{{#expr:21 mod 10}}|is|are}} <br />  <code><nowiki>{{plural:1|is|are}}</nowiki></code> → {{plural:1|is|are}} <br /> <code><nowiki>{{plural:2|is|are}}</nowiki></code> → {{plural:2|is|are}} <br /> (For [[:w:Polish language|Polish]]) <br /><code><nowiki>{{plural:2|milion|miliony|milionów}}</nowiki></code>&nbsp;→&nbsp;miliony<br /><code><nowiki>{{plural:5|milion|miliony|milionów}}</nowiki></code>&nbsp;→&nbsp;milionów
 
| <code><nowiki>{{plural:0|is|are}}</nowiki></code> → {{plural:0|is|are}} <br />  <code><nowiki>{{plural:1*1|is|are}}</nowiki></code> → {{plural:1*1|is|are}} <br /> <code><nowiki>{{plural:21 mod 10|is|are}}</nowiki></code> → {{plural:21 mod 10|is|are}} <br /> <code><nowiki>{{plural:{{#expr:21 mod 10}}|is|are}}</nowiki></code> → {{plural:{{#expr:21 mod 10}}|is|are}} <br />  <code><nowiki>{{plural:1|is|are}}</nowiki></code> → {{plural:1|is|are}} <br /> <code><nowiki>{{plural:2|is|are}}</nowiki></code> → {{plural:2|is|are}} <br /> (For [[:w:Polish language|Polish]]) <br /><code><nowiki>{{plural:2|milion|miliony|milionów}}</nowiki></code>&nbsp;→&nbsp;miliony<br /><code><nowiki>{{plural:5|milion|miliony|milionów}}</nowiki></code>&nbsp;→&nbsp;milionów
 
| Outputs the singular form (second parameter) if the first parameter is an expression equalling one; the plural form (third parameter) otherwise. Its functioning is [[m:Help:Magic_words#Language-dependent_word_conversions|language-dependent]]. Plural transformations are used for languages like Russian based on "count mod 10". You should not expect this to handle fractions (like 44.5) — see [[bugzilla:28128|bug 28128]].
 
| Outputs the singular form (second parameter) if the first parameter is an expression equalling one; the plural form (third parameter) otherwise. Its functioning is [[m:Help:Magic_words#Language-dependent_word_conversions|language-dependent]]. Plural transformations are used for languages like Russian based on "count mod 10". You should not expect this to handle fractions (like 44.5) — see [[bugzilla:28128|bug 28128]].
 
|
 
|
 
|-
 
|-
| {{Anchor|grammar|Grammar|GRAMMAR}}<code><nowiki>{{grammar:N|</nowiki>''noun''<nowiki>}}</nowiki></code>
+
| <code><nowiki>{{grammar:N|</nowiki>''noun''<nowiki>}}</nowiki></code>
 
|  
 
|  
 
| Outputs the correct inflected form of the given word described by the inflection code after the colon ([[m:Help:Magic_words#Language-dependent_word_conversions|language-dependent]]). Grammar transformations are used for inflected languages like Polish. See also {{mediawiki|Manual:$wgGrammarForms}}.
 
| Outputs the correct inflected form of the given word described by the inflection code after the colon ([[m:Help:Magic_words#Language-dependent_word_conversions|language-dependent]]). Grammar transformations are used for inflected languages like Polish. See also {{mediawiki|Manual:$wgGrammarForms}}.
 
| 1.7 以降
 
| 1.7 以降
 
|-
 
|-
| {{Anchor|gender|Gender|GENDER}}<code><nowiki>{{gender:</nowiki>''username'' <br /><nowiki>|</nowiki>''return text if user is male'' <br /><nowiki>|</nowiki>''return text if user is female'' <br /><nowiki>|</nowiki>''return text if user hasn't defined their gender''<nowiki>}}</nowiki></code>
+
| <code><nowiki>{{gender:</nowiki>''username'' <br /><nowiki>|</nowiki>''return text if user is male'' <br /><nowiki>|</nowiki>''return text if user is female'' <br /><nowiki>|</nowiki>''return text if user hasn't defined their gender''<nowiki>}}</nowiki></code>
 
| ''(Depends on the named user's gender)''
 
| ''(Depends on the named user's gender)''
 
| A switch for the gender set in [[Special:Preferences]]. <br/>
 
| A switch for the gender set in [[Special:Preferences]]. <br/>
851行目: 768行目:
 
| {{mediawiki|rev:46247|1.15 以降}}
 
| {{mediawiki|rev:46247|1.15 以降}}
 
|-
 
|-
| {{Anchor|int|INT}}<code><nowiki>{{int:</nowiki>''message name''<nowiki>}}</nowiki>
+
| <code><nowiki>{{int:</nowiki>''message name''<nowiki>}}</nowiki>
 
| <code><nowiki>{{int:</nowiki>edit<nowiki>}}</nowiki></code> &rarr; '''{{int:edit}}''' <br /><small>''(Depends on user language; try: [{{fullurl:{{FULLPAGENAME}}|uselang=fr}}#Localisation fr] &bull; [{{fullurl:{{FULLPAGENAME}}|uselang=ja}}#Localisation ja])''</small>
 
| <code><nowiki>{{int:</nowiki>edit<nowiki>}}</nowiki></code> &rarr; '''{{int:edit}}''' <br /><small>''(Depends on user language; try: [{{fullurl:{{FULLPAGENAME}}|uselang=fr}}#Localisation fr] &bull; [{{fullurl:{{FULLPAGENAME}}|uselang=ja}}#Localisation ja])''</small>
 
| Internationalizes (translates) the given '''int'''erface (MediaWiki namespace) message into the user language. For <code>msgnw</code> and other transclusion magic words, see [[m:Help:Magic words#Template modifiers]].  
 
| Internationalizes (translates) the given '''int'''erface (MediaWiki namespace) message into the user language. For <code>msgnw</code> and other transclusion magic words, see [[m:Help:Magic words#Template modifiers]].  
876行目: 793行目:
 
<code><nowiki>{{#language:ar|en}}</nowiki></code>
 
<code><nowiki>{{#language:ar|en}}</nowiki></code>
 
| {{#language:language code}} <br />{{#language:ar}} <br />{{#language:language code|target language code}} <br />Arabic
 
| {{#language:language code}} <br />{{#language:ar}} <br />{{#language:language code|target language code}} <br />Arabic
| The full name of the language for the given [[language code]]: native name (language autonym) by default, name translated in target language if a target language code is specified. [[Extension:CLDR]] must be installed for the translation to work.
+
| The full name of the language for the given [[language code]]: native name (language autonym) by default, name translated in target language if a target language code is specified.
 
| {{mediawiki|rev:14490|1.7 以降}}
 
| {{mediawiki|rev:14490|1.7 以降}}
 
{{r|91875|1.18 以降}} (translation)
 
{{r|91875|1.18 以降}} (translation)

ひつじ小屋別館2代目への投稿はすべて、他の投稿者によって編集、変更、除去される場合があります。 自分が書いたものが他の人に容赦なく編集されるのを望まない場合は、ここに投稿しないでください。
また、投稿するのは、自分で書いたものか、パブリック ドメインまたはそれに類するフリーな資料からの複製であることを約束してください(詳細はひつじ小屋別館2代目:著作権を参照)。 著作権保護されている作品は、許諾なしに投稿しないでください!

このページを編集するには、下記の確認用の質問に回答してください (詳細):

取り消し | 編集の仕方 (新しいウィンドウで開きます)