Mozilla.com

  1. {{{1}}}

{{{1}}}

Table of contents
No headers

Use this template at the top of every page that documents a JSAPI feature. First argument is the name of the page as it should appear in the breadcrumbs (that is, with underscores instead of spaces).

This template displays the page name in an HTML <code> tag.

Usage:

{{jsapi ref header|JS_DoStuffWithThing}}

Looks like this:

{{template.Jsapi_ref_header("JS_DoStuffWithThing")}}

Note: This template cheats and creates a "breadcrumbs" div without actually using the <breadcrumbs> magic. One reason for this is that <breadcrumbs> doesn't pick up the JSAPI Reference link.

JSAPI 機能の各ドキュメントの冒頭にこのテンプレートを使用してください。最初の引数は breadcrumbs に表示されるページ名です。(スペースの代わりに下線が付きます。)

このテンプレートは、ページ名を HTML の <code> タグで表示します。

使用方法:

{{jsapi ref header|JS_DoStuffWithThing}}

これは、このようになります:

{{template.Jsapi_ref_header("JS_DoStuffWithThing")}}

注: このテンプレートは <breadcrumbs> 機能ではなく、div タグで "breadcrumbs" を実現しています。理由の一つは、<breadcrumbs>JSAPI リファレンス へのリンクが含まれないことです。

Page last modified 10:30, 30 Aug 2008 by Jorend

Files (0)