テンプレートの解説[表示] [編集] [履歴] [キャッシュを破棄]

このテンプレートは折り返しにインデントが挿入されることを除けば{{plainlist}}によく似ています。{{infobox}}のように幅が制限されていて折り返しが発生しやすい場合に個々の項目を識別しやすくなります。

使い方 編集

Example
First label Some data
Awards
  • Royal Geographical Society's Founder's Medal (1888)
  • Knight Commander of the Order of the Bath (1896)
  • Chevalier dans l'Ordre de la Légion d'Honneur (1899)
Second label Some more data
{{Infobox
 |label1    = Some data
 |awards    = {{indented plainlist|
* Royal Geographical Society's Founder's Medal (1888)
* Knight Commander of the Order of the Bath (1896)
* Chevalier dans l'Ordre de la Légion d'Honneur (1899)
  }}
 |label2    = Some more data
}}

インデント量を調整する 編集

Example
First label Some data
Awards
  • Royal Geographical Society's Founder's Medal (1888)
  • Knight Commander of the Order of the Bath (1896)
  • Chevalier dans l'Ordre de la Légion d'Honneur (1899)
Second label Some more data
{{Infobox
 |label1    = Some data
 |awards    = {{indented plainlist|indent=2em|
* Royal Geographical Society's Founder's Medal (1888)
* Knight Commander of the Order of the Bath (1896)
* Chevalier dans l'Ordre de la Légion d'Honneur (1899)
  }}
 |label2    = Some more data
}}

テンプレートデータ 編集

これはビジュアルエディターテンプレートウィザードにより使用されるテンプレートのためのTemplateData文書です。

Indented plainlist

An automatically indented plainlist variant.

テンプレートパラメーター[テンプレートデータを編集]

パラメーター説明状態
Content1

If supplied, the list, as a normal bulleted list. Every line should start with an asterisk. No blank lines between lines.

内容必須
Classclass

Adds a CSS class to the containing div.

既定
The class "plainlist" is always applied.
nowrap
文字列省略可能
Stylestyle

Adds CSS style options. Complex styles should not be used in articles—per [[WP:Deviations]]—but may be acceptable on user, project, and talk pages.

border:solid 1px silver; background:lightyellow;
文字列省略可能
Indentationin indent

Sets a custom indentation width for the lists' items.

既定
1em
文字列省略可能

関連項目 編集

Listテンプレート関連ページの一覧