Seunaleuëk:Navbox/doc: Bida antara revisi
Konten dihapus Konten ditambahkan
b bot Membuang: gu:ઢાંચો:Navbox (deleted) |
b Replacing old tags, i.e. tt --> code |
||
Baréh 55:
:<code>state - </code>controls when a navbox is expanded or collapsed.
:<code>listclass - </code>a CSS class for the list cells, usually <
:<code>titlestyle - </code>a CSS style for the title-bar, such as: <code>background:gray;</code>
:<code>groupstyle - </code>a CSS style for the group-cells, such as: <code>background:#eee;</code>
Baréh 90:
: Often times, editors will want a default initial state for a navbox, which may be overridden in an article. Here is the trick to do this:
:*In your intermediate template, create a parameter also named "state" as a pass-through like this:
:*<
:*The <nowiki><includeonly>|</nowiki> will make the template expanded when viewing the template page by itself.
Baréh 210:
:; ''listclass''
:; ''belowclass''
:: This enables attaching a CSS class to group or list cells. The most common use for ''listclass'' is to give it the <
:; ''titlegroup''
|