Lompat ke isi

Pengguna:M. Adiputra/Peralatan: Perbedaan antara revisi

Dari Wikipedia bahasa Indonesia, ensiklopedia bebas
Konten dihapus Konten ditambahkan
M. Adiputra (bicara | kontrib)
Taylorbot (bicara | kontrib)
per BPA : sintaks <br> dan <code> | t=412 su=9 in=12 at=9 -- only 390 edits left of totally 400 possible edits | edr=010-1011(!!!) ovr=010-1111 aft=010-1011
 
(3 revisi perantara oleh satu pengguna lainnya tidak ditampilkan)
Baris 1: Baris 1:
__NOTOC__ __HIDDENCAT__
__NOTOC__ __HIDDENCAT__
== Halaman baru ==
== Halaman baru ==
<div style="height: 500px; width: 100%; overflow: auto; padding: 3px;text-
<div style="height: 500px; width: 100%; overflow: auto; padding: 3px;text-align: left; border:1px solid black;" title="braglist - zum scrollen"; >

align: left; border:1px solid black;" title="braglist - zum scrollen"; >
{{Istimewa:Halaman baru}}
{{Istimewa:Halaman baru}}
</div>
</div>
Baris 10: Baris 8:
== Templat navigasi ==
== Templat navigasi ==
<div style="height: 500px; width: 100%; overflow: auto; padding: 3px;text-align: left; border:1px solid black;" title="braglist - zum scrollen"; >
<div style="height: 500px; width: 100%; overflow: auto; padding: 3px;text-align: left; border:1px solid black;" title="braglist - zum scrollen"; >

= Navbox =
= Navbox =
== Usage ==
== Usage ==
Baris 17: Baris 14:
<pre style="overflow:scroll;">{{Navbox
<pre style="overflow:scroll;">{{Navbox
|name = {{subst:PAGENAME}}
|name = {{subst:PAGENAME}}
|title =
|title =
|image =
|image =
|above =
|above =


|group1 =
|group1 =
|list1 =
|list1 =


|group2 =
|group2 =
|list2 =
|list2 =
...
...
|group20 =
|group20 =
|list20 =
|list20 =


|below =
|below =
}}</pre>
}}</pre>


Baris 47: Baris 44:
|group4 = {{{group4}}}
|group4 = {{{group4}}}
|list4 = {{{list4}}}
|list4 = {{{list4}}}
|below = {{{below}}}<br/>See alternate navbox formats under: [[#Layout of
|below = {{{below}}}<br/>See alternate navbox formats under: [[#Layout of table|''Layout of table'']]

table|''Layout of table'']]
}}
}}
The navbox uses lowercase parameter names, as shown in the box (''at
The navbox uses lowercase parameter names, as shown in the box (''at right''). The mandatory ''name'' and ''title'' will create a one-line box if other parameters are omitted.

right''). The mandatory ''name'' and ''title'' will create a one-line box

if other parameters are omitted.
<br/>
<br/>


Notice "group1" (etc.) is optional, as are sections named "above/below".
Notice "group1" (etc.) is optional, as are sections named "above/below".
{{-}}
{{-}}
The basic and most common parameters are as follows (see below for the full
The basic and most common parameters are as follows (see below for the full list):

list):


:<code>name -</code> the name of the template.
:<code>name -</code> the name of the template.
:<code>title -</code> text in the title bar, such as: <nowiki>[[Widget
:<code>title -</code> text in the title bar, such as: <nowiki>[[Widget stuff]]</nowiki>.
:<code>state - autocollapse, uncollapsed, collapsed</code>: the status of box expansion, where "autocollapse" hides stacked navboxes automatically.


:<code>titlestyle - </code>a CSS style for the title-bar, such as: <code>background:gray;</code>
stuff]]</nowiki>.
:<code>groupstyle - </code>a CSS style for the group-cells, such as: <code>background:#eee;</code>
:<code>state - autocollapse, uncollapsed, collapsed</code>: the status of


:<code>image - </code>an optional right-side image (coded as the whole image tag: <nowiki>[[Image:XX.jpg|90px]]</nowiki> ).
box expansion, where "autocollapse" hides stacked navboxes automatically.
:<code>imageleft - </code>an optional left-side image (code the same was as the "image" parameter).


:<code>titlestyle - </code>a CSS style for the title-bar, such as:
:<code>above - </code>text to appear above the group/list section (could be a list of overall wikilinks).


:<code>group<sub>n</sub> - </code>the left-side text before list-n (if group-n omitted, list-n starts at left of box).
<code>background:gray;</code>
:<code>groupstyle - </code>a CSS style for the group-cells, such as:
:<code>list<sub>n</sub> - </code>text listing wikilinks, often separated by middot templates, such as: [<font/>[A]]<code>{<font/>{·}}</code> [<font/>[B]]

<code>background:#eee;</code>

:<code>image - </code>an optional right-side image (coded as the whole image

tag: <nowiki>[[Image:XX.jpg|90px]]</nowiki> ).
:<code>imageleft - </code>an optional left-side image (code the same was as

the "image" parameter).

:<code>above - </code>text to appear above the group/list section (could be

a list of overall wikilinks).

:<code>group<sub>n</sub> - </code>the left-side text before list-n (if

group-n omitted, list-n starts at left of box).
:<code>list<sub>n</sub> - </code>text listing wikilinks, often separated by

middot templates, such as: [<font/>[A]]<code>{<font/>{·}}</code> [<font/>

[B]]
:<code>below - </code>optional text to appear below the group/list section.
:<code>below - </code>optional text to appear below the group/list section.


Further details, and complex restrictions, are explained below under section
Further details, and complex restrictions, are explained below under section ''[[#Parameter descriptions|Parameter descriptions]]''. See some alternate navbox formats under: [[#Layout of table|''Layout of table'']].

''[[#Parameter descriptions|Parameter descriptions]]''. See some alternate

navbox formats under: [[#Layout of table|''Layout of table'']].


==Parameter descriptions==
==Parameter descriptions==
The following is a complete list of parameters for using {{t1|Navbox}}. In
The following is a complete list of parameters for using {{t1|Navbox}}. In most cases, the only required parameters are <code>name</code>, <code>title</code>, and <code>list1</code>, though [[Template:Navbox/doc#Child_navboxes|child navboxes]] do not even require those to be set.

most cases, the only required parameters are <code>name</code>,

<code>title</code>, and <code>list1</code>, though

[[Template:Navbox/doc#Child_navboxes|child navboxes]] do not even require

those to be set.

{{t1|Navbox}} shares numerous common parameter names as its sister templates

{{t1|Navbox with columns}} and {{t1|Navbox with collapsible groups}} for

consistency and ease of use. Parameters marked with a cross<sup><span

style="font-weight:bold;">†</span></sup> are common to all three master


{{t1|Navbox}} shares numerous common parameter names as its sister templates {{t1|Navbox with columns}} and {{t1|Navbox with collapsible groups}} for consistency and ease of use. Parameters marked with a cross<sup><span style="font-weight:bold;">†</span></sup> are common to all three master templates.
templates.


===Setup parameters===
===Setup parameters===
:; ''name''<sup>†</sup>
:; ''name''<sup>†</sup>
:: The name of the template, which is needed for the "v{{·}} d{{·}} e" ("view{{·}} discuss{{·}} edit") links to work properly on all pages where the template is used. You can enter <code><nowiki>{{subst:PAGENAME}}</nowiki></code> for this value as a shortcut. The name parameter is only mandatory if a <code>title</code> is specified, and the <code>border</code> parameter is not set.
:: The name of the template, which is needed for the "v{{·}} d{{·}} e"


:; ''state''<sup>†</sup> <span style="font-weight:normal;">[<code>autocollapse, uncollapsed, collapsed, plain, off</code>]</span>
("view{{·}} discuss{{·}} edit") links to work properly on all pages where
:* Defaults to <code>autocollapse</code>. A navbox with <code>autocollapse</code> will start out collapsed if there are two or more tables on the same page that use other collapsible tables. Otherwise, the navbox will be expanded. For the technically minded, see [[MediaWiki:Common.js]].
:* If set to <code>collapsed</code>, the navbox will always start out in a collapsed state.
:* If set to <code>plain</code>, the navbox will always be expanded with no [hide] link on the right, and the title will remain centered (by using padding to offset the <small>v • d • e</small> links).
:* If set to <code>off</code>, the navbox will always be expanded with no [hide] link on the right, but no padding will be used to keep the title centered. This is for advanced use only; the "plain" option should suffice for most applications where the [show]/[hide] button needs to be hidden.
:*If set to anything other than <code>autocollapse</code>, <code>collapsed</code>, <code>plain</code>, or <code>off</code> (such as "uncollapsed"), the navbox will always start out in an expanded state, but have the "hide" button.


: To show the box when standalone (non-included) but then auto-hide contents when in an article, put "uncollapsed" inside &lt;noinclude> tags:
the template is used. You can enter <code><nowiki>{{subst:PAGENAME}}

</nowiki></code> for this value as a shortcut. The name parameter is only

mandatory if a <code>title</code> is specified, and the <code>border</code>

parameter is not set.

:; ''state''<sup>†</sup> <span style="font-weight:normal;">

[<code>autocollapse, uncollapsed, collapsed, plain, off</code>]</span>
:* Defaults to <code>autocollapse</code>. A navbox with

<code>autocollapse</code> will start out collapsed if there are two or more

tables on the same page that use other collapsible tables. Otherwise, the

navbox will be expanded. For the technically minded, see

[[MediaWiki:Common.js]].
:* If set to <code>collapsed</code>, the navbox will always start out in a

collapsed state.
:* If set to <code>plain</code>, the navbox will always be expanded with no

[hide] link on the right, and the title will remain centered (by using

padding to offset the <small>v • d • e</small> links).
:* If set to <code>off</code>, the navbox will always be expanded with no

[hide] link on the right, but no padding will be used to keep the title

centered. This is for advanced use only; the "plain" option should suffice

for most applications where the [show]/[hide] button needs to be hidden.
:*If set to anything other than <code>autocollapse</code>,

<code>collapsed</code>, <code>plain</code>, or <code>off</code> (such as

"uncollapsed"), the navbox will always start out in an expanded state, but

have the "hide" button.

: To show the box when standalone (non-included) but then auto-hide contents

when in an article, put "uncollapsed" inside &lt;noinclude> tags:
:* <code>state = </code><nowiki><noinclude>uncollapsed</noinclude></nowiki>
:* <code>state = </code><nowiki><noinclude>uncollapsed</noinclude></nowiki>
:* That setting will force the box visible when standalone (even when
:* That setting will force the box visible when standalone (even when followed by other boxes), displaying "[hide]" but then auto-collapse the box when stacked inside an article.


: 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:
followed by other boxes), displaying "[hide]" but then auto-collapse the box
:*In your intermediate template, create a parameter also named "state" as a pass-through like this:
:*<code><nowiki>| state = {{{state<includeonly>|your_desired_initial_state</includeonly>}}}</nowiki></code>
:*The <nowiki><includeonly>|</nowiki> will make the template expanded when viewing the template page by itself.


::*Example: {{tl|peso}} with autocollapse as the default initial state. [[Bolivian peso]] transcludes it and has only one navbox. So the peso navbox shows. [[Chilean peso]] has two navboxes. So the peso navbox collapses.
when stacked inside an article.


::*Example: {{tl|Historical currencies of Hungary}} with expanded as the default initial state. All transcluding articles shows the content by default, unless there were an hypothetical article that specifies state = collapsed when transcluding.
: 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:
:*<tt><nowiki>| state = {{{state<includeonly>|

your_desired_initial_state</includeonly>}}}</nowiki></tt>
:*The <nowiki><includeonly>|</nowiki> will make the template expanded when

viewing the template page by itself.

::*Example: {{tl|peso}} with autocollapse as the default initial state.

[[Bolivian peso]] transcludes it and has only one navbox. So the peso navbox

shows. [[Chilean peso]] has two navboxes. So the peso navbox collapses.

::*Example: {{tl|Historical currencies of Hungary}} with expanded as the

default initial state. All transcluding articles shows the content by

default, unless there were an hypothetical article that specifies state =

collapsed when transcluding.


:; ''navbar''<sup>†</sup>
:; ''navbar''<sup>†</sup>
:: Defaults to <code>Tnavbar</code>. If set to <code>plain</code>, the <small>v • d • e</small> links on the left side of the titlebar will not be displayed, and padding will be automatically used to keep the title centered. Use <code>off</code> to remove the <small>v • d • e</small> links, but not apply padding (this is for advanced use only; the "plain" option should suffice for most applications where a navbar is not desired). Note that it is highly recommended that one does not hide the navbar, in order to make it easier for users to edit the template, and to keep a standard style across pages.
:: Defaults to <code>Tnavbar</code>. If set to <code>plain</code>, the

<small>v • d • e</small> links on the left side of the titlebar will not be

displayed, and padding will be automatically used to keep the title

centered. Use <code>off</code> to remove the <small>v • d • e</small>

links, but not apply padding (this is for advanced use only; the "plain"

option should suffice for most applications where a navbar is not desired).

Note that it is highly recommended that one does not hide the navbar, in

order to make it easier for users to edit the template, and to keep a

standard style across pages.


:; ''border''<sup>†</sup>
:; ''border''<sup>†</sup>
:: ''See section below on using navboxes within one another for examples and a more complete description.'' If set to <code>child</code> or <code>subgroup</code>, then the navbox can be used as a borderless child that fits snuggly in another navbox. The border is hidden and there is no padding on the sides of the table, so it fits into the ''list'' area of its parent navbox. If set to <code>none</code>, then the border is hidden and padding is removed, and the navbox may be used as a child of another container (do not use the <code>none</code> option inside of another navbox; similarly, only use the <code>child</code>/<code>subgroup</code> option inside of another navbox). If set to anything else (default), then a regular navbox is displayed with a 1px border. An alternate way to specify the border to be a subgroup style is like this (i.e. use the first unnamed parameter instead of the named ''border'' parameter):
:: ''See section below on using navboxes within one another for examples and

a more complete description.'' If set to <code>child</code> or

<code>subgroup</code>, then the navbox can be used as a borderless child

that fits snuggly in another navbox. The border is hidden and there is no

padding on the sides of the table, so it fits into the ''list'' area of its

parent navbox. If set to <code>none</code>, then the border is hidden and

padding is removed, and the navbox may be used as a child of another

container (do not use the <code>none</code> option inside of another navbox;

similarly, only use the <code>child</code>/<code>subgroup</code> option

inside of another navbox). If set to anything else (default), then a

regular navbox is displayed with a 1px border. An alternate way to specify

the border to be a subgroup style is like this (i.e. use the first unnamed

parameter instead of the named ''border'' parameter):
:::<code><nowiki>{{Navbox|child</nowiki></code>
:::<code><nowiki>{{Navbox|child</nowiki></code>
::::<code>...
::::<code>...
Baris 264: Baris 111:
===Cells===
===Cells===
:; ''title''<sup>†</sup>
:; ''title''<sup>†</sup>
:: Text that appears centered in the top row of the table. It is usually the
:: Text that appears centered in the top row of the table. It is usually the template's topic, i.e. a succinct description of the body contents. This should be a single line, but if a second line is needed, use <code><nowiki>{{-}}</nowiki></code> to ensure proper centering. This parameter is technically not mandatory, but using {{t1|Navbox}} is rather pointless without a title.

template's topic, i.e. a succinct description of the body contents. This

should be a single line, but if a second line is needed, use <code><nowiki>

{{-}}</nowiki></code> to ensure proper centering. This parameter is

technically not mandatory, but using {{t1|Navbox}} is rather pointless

without a title.


:; ''group<sub>n</sub>''<sup>†</sup>
:; ''group<sub>n</sub>''<sup>†</sup>
:: (i.e. ''group1'', ''group2'', etc.) If specified, text appears in a
:: (i.e. ''group1'', ''group2'', etc.) If specified, text appears in a header cell displayed to the left of ''list<sub>n</sub>''. If omitted, ''list<sub>n</sub>'' uses the full width of the table.

header cell displayed to the left of ''list<sub>n</sub>''. If omitted,

''list<sub>n</sub>'' uses the full width of the table.


:; ''list<sub>n</sub>''<sup>†</sup>
:; ''list<sub>n</sub>''<sup>†</sup>
:: (i.e. ''list1'', ''list2'', etc.) The body of the template, usually a list of links. Format is inline, although the text can be entered on separate lines if the entire list is enclosed within <code><nowiki><div> </div></nowiki></code>. At least one ''list'' parameter is required; each additional ''list'' is displayed in a separate row of the table. Each ''list<sub>n</sub>'' may be preceded by a corresponding ''group<sub>n</sub>'' parameter, if provided (see below).
:: (i.e. ''list1'', ''list2'', etc.) The body of the template, usually a

list of links. Format is inline, although the text can be entered on

separate lines if the entire list is enclosed within <code><nowiki><div>

</div></nowiki></code>. At least one ''list'' parameter is required; each

additional ''list'' is displayed in a separate row of the table. Each

''list<sub>n</sub>'' may be preceded by a corresponding

''group<sub>n</sub>'' parameter, if provided (see below).


:; ''image''<sup>†</sup>
:; ''image''<sup>†</sup>
:: An image to be displayed in a cell below the title and to the right of
:: An image to be displayed in a cell below the title and to the right of the body (the groups/lists). For the image to display properly, the ''list1'' parameter must be specified. The ''image'' parameter accepts standard wikicode for displaying an image, i.e.

the body (the groups/lists). For the image to display properly, the

''list1'' parameter must be specified. The ''image'' parameter accepts

standard wikicode for displaying an image, i.e.
::: <code><nowiki>image = [[Image:Example.jpg|100px]]</nowiki></code>
::: <code><nowiki>image = [[Image:Example.jpg|100px]]</nowiki></code>


:; ''imageleft''<sup>†</sup>
:; ''imageleft''<sup>†</sup>
:: An image to be displayed in a cell below the title and to the left of the
:: An image to be displayed in a cell below the title and to the left of the body (lists). For the image to display properly, the ''list1'' parameter must be specified and no groups can be specified. The ''imageleft'' parameter accepts standard wikicode for displaying an image, i.e.

body (lists). For the image to display properly, the ''list1'' parameter

must be specified and no groups can be specified. The ''imageleft''

parameter accepts standard wikicode for displaying an image, i.e.
::: <code><nowiki>imageleft = [[Image:Example.jpg|100px]]</nowiki></code>
::: <code><nowiki>imageleft = [[Image:Example.jpg|100px]]</nowiki></code>


:; ''above''<sup>†</sup>
:; ''above''<sup>†</sup>
:: A full-width cell displayed between the titlebar and first group/list,
:: A full-width cell displayed between the titlebar and first group/list, i.e. ''above'' the template's body (groups, lists and image). In a template without an image, ''above'' behaves in the same way as the ''list1'' parameter without the ''group1'' parameter.

i.e. ''above'' the template's body (groups, lists and image). In a template

without an image, ''above'' behaves in the same way as the ''list1''

parameter without the ''group1'' parameter.


:; ''below''<sup>†</sup>
:; ''below''<sup>†</sup>
:: A full-width cell displayed ''below'' the template's body (groups, lists
:: A full-width cell displayed ''below'' the template's body (groups, lists and image). In a template without an image, ''below'' behaves in the same way as the template's final ''list<sub>n</sub>'' parameter without a ''group<sub>n</sub>'' parameter. For an example of the ''below'' parameter in use, see {{tl|Lists of the provinces and territories of Canada}}.

and image). In a template without an image, ''below'' behaves in the same

way as the template's final ''list<sub>n</sub>'' parameter without a

''group<sub>n</sub>'' parameter. For an example of the ''below'' parameter

in use, see {{tl|Lists of the provinces and territories of Canada}}.


===Style parameters===
===Style parameters===
Styles are generally not recommended as to maintain consistency among
Styles are generally not recommended as to maintain consistency among templates and pages in Wikipedia. However, the option to modify styles is given.

templates and pages in Wikipedia. However, the option to modify styles is

given.


:; ''style''<sup>†</sup>
:; ''style''<sup>†</sup>
:: Specifies [[Cascading Style Sheets|CSS]] styles to apply to the template
:: Specifies [[Cascading Style Sheets|CSS]] styles to apply to the template body. The parameter ''bodystyle'' also does the example same thing and can be used in place of this ''style'' parameter. This option should be used sparingly as it can lead to visual inconsistencies. Examples:

body. The parameter ''bodystyle'' also does the example same thing and can

be used in place of this ''style'' parameter. This option should be used

sparingly as it can lead to visual inconsistencies. Examples:
::: <code>style = background:#''nnnnnn'';</code>
::: <code>style = background:#''nnnnnn'';</code>
::: <code>style = width:''N''&nbsp;[em/%/px or width:auto];</code>
::: <code>style = width:''N''&nbsp;[em/%/px or width:auto];</code>
Baris 359: Baris 144:


:; ''basestyle''<sup>†</sup>
:; ''basestyle''<sup>†</sup>
:: CSS styles to apply to the ''title'', ''above'', ''below'', and ''group''
:: CSS styles to apply to the ''title'', ''above'', ''below'', and ''group'' cells all at once. The style are not applied to ''list'' cells. This is convenient for easily changing the basic color of the navbox without having to repeat the style specifications for the different parts of the navbox. Examples:

cells all at once. The style are not applied to ''list'' cells. This is

convenient for easily changing the basic color of the navbox without having

to repeat the style specifications for the different parts of the navbox.

Examples:
::: <code>basestyle = background:lightskyblue;</code>
::: <code>basestyle = background:lightskyblue;</code>


:; ''titlestyle''<sup>†</sup>
:; ''titlestyle''<sup>†</sup>
:: [[Cascading Style Sheets|CSS]] styles to apply to ''title'', most often
:: [[Cascading Style Sheets|CSS]] styles to apply to ''title'', most often the titlebar's background color:

the titlebar's background color:
::: <code><nowiki>titlestyle = background:</nowiki>''#nnnnnn'';</code>
::: <code><nowiki>titlestyle = background:</nowiki>''#nnnnnn'';</code>
::: <code><nowiki>titlestyle = background:</nowiki>''name'';</code>
::: <code><nowiki>titlestyle = background:</nowiki>''name'';</code>


:; ''groupstyle''<sup>†</sup>
:; ''groupstyle''<sup>†</sup>
:: CSS styles to apply to the ''groupN'' cells. This option overrides any
:: CSS styles to apply to the ''groupN'' cells. This option overrides any styles that are applied to the entire table. Examples:

styles that are applied to the entire table. Examples:
::: <code>groupstyle = background:#''nnnnnn'';</code>
::: <code>groupstyle = background:#''nnnnnn'';</code>
::: <code>groupstyle = text-align:[''left/center/right''];</code>
::: <code>groupstyle = text-align:[''left/center/right''];</code>
Baris 386: Baris 159:


:; ''group<sub>n</sub>style''<sup>†</sup>
:; ''group<sub>n</sub>style''<sup>†</sup>
:: CSS styles to apply to a specific group, in addition to any styles
:: CSS styles to apply to a specific group, in addition to any styles specified by the ''groupstyle'' parameter. This parameter should only be used when absolutely necessary in order to maintain standardization and simplicity. Examples:

specified by the ''groupstyle'' parameter. This parameter should only be

used when absolutely necessary in order to maintain standardization and

simplicity. Examples:
::: <code>group3style = background:red;color:white;</code>
::: <code>group3style = background:red;color:white;</code>


:; ''liststyle''<sup>†</sup>
:; ''liststyle''<sup>†</sup>
:: CSS styles to apply to all lists. Overruled by the ''oddstyle'' and
:: CSS styles to apply to all lists. Overruled by the ''oddstyle'' and ''evenstyle'' parameters (if specified) below.

''evenstyle'' parameters (if specified) below.


:; ''list<sub>n</sub>style''<sup>†</sup>
:; ''list<sub>n</sub>style''<sup>†</sup>
:: CSS styles to apply to a specific group, in addition to any styles
:: CSS styles to apply to a specific group, in addition to any styles specified by the ''groupstyle'' parameter. This parameter should only be used when absolutely necessary in order to maintain standardization and simplicity. Examples:

specified by the ''groupstyle'' parameter. This parameter should only be

used when absolutely necessary in order to maintain standardization and

simplicity. Examples:
::: <code>list5style = background:#ddddff;</code>
::: <code>list5style = background:#ddddff;</code>


:; ''listpadding''<sup>†</sup>
:; ''listpadding''<sup>†</sup>
:: A number and unit specifying the padding in each ''list'' cell. The
:: A number and unit specifying the padding in each ''list'' cell. The ''list'' cells come equipped with a default padding of 0.25em on the left and right, and 0em on the top and bottom. Due to complex technical reasons, simply setting "liststyle=padding:0.5em;" (or any other padding setting) will not work. Examples:
::: <code>listpadding = 0.5em 0em; </code> (sets 0.5em padding for the left/right, and 0em padding for the top/bottom.)

''list'' cells come equipped with a default padding of 0.25em on the left

and right, and 0em on the top and bottom. Due to complex technical reasons,

simply setting "liststyle=padding:0.5em;" (or any other padding setting)

will not work. Examples:
::: <code>listpadding = 0.5em 0em; </code> (sets 0.5em padding for the

left/right, and 0em padding for the top/bottom.)
::: <code>listpadding = 0em; </code> (removes all list padding.)
::: <code>listpadding = 0em; </code> (removes all list padding.)


:; ''oddstyle''
:; ''oddstyle''
:; ''evenstyle''
:; ''evenstyle''
::Applies to odd/even list numbers. Overrules styles defined by
::Applies to odd/even list numbers. Overrules styles defined by ''liststyle''. The default behavior is to add striped colors (white and gray) to odd/even rows, respectively, in order to improve readability. These should not be changed except in extraordinary circumstances.


:; ''evenodd'' <span style="font-weight:normal;"><code>[swap, even, odd, off]</code></span>
''liststyle''. The default behavior is to add striped colors (white and
:: If set to <code>swap</code>, then the automatic striping of even and odd rows is reversed. Normally, even rows get a light gray background for striping; when this parameter is used, the odd rows receive the gray striping instead of the even rows. Setting to <code>even</code> or <code>odd</code> sets all rows to have that striping color. Setting to <code>off</code> disables automatic row striping. This advanced parameter should only be used to fix problems when the navbox is being used as a child of another navbox and the stripes do not match up. Examples and a further description can be found in the section on child navboxes below.

gray) to odd/even rows, respectively, in order to improve readability.

These should not be changed except in extraordinary circumstances.

:; ''evenodd'' <span style="font-weight:normal;"><code>[swap, even, odd,

off]</code></span>
:: If set to <code>swap</code>, then the automatic striping of even and odd

rows is reversed. Normally, even rows get a light gray background for

striping; when this parameter is used, the odd rows receive the gray

striping instead of the even rows. Setting to <code>even</code> or

<code>odd</code> sets all rows to have that striping color. Setting to

<code>off</code> disables automatic row striping. This advanced parameter

should only be used to fix problems when the navbox is being used as a child

of another navbox and the stripes do not match up. Examples and a further

description can be found in the section on child navboxes below.


:; ''abovestyle''<sup>†</sup>
:; ''abovestyle''<sup>†</sup>
:; ''belowstyle''<sup>†</sup>
:; ''belowstyle''<sup>†</sup>
:: CSS styles to apply to the top cell (specified via the ''above''
:: CSS styles to apply to the top cell (specified via the ''above'' parameter) and bottom cell (specified via the ''below'' parameter). Typically used to set background color or text alignment:

parameter) and bottom cell (specified via the ''below'' parameter).

Typically used to set background color or text alignment:
::: <code>abovestyle = background:#''nnnnnn'';</code>
::: <code>abovestyle = background:#''nnnnnn'';</code>
::: <code>abovestyle = text-align:[''left/center/right''];</code>
::: <code>abovestyle = text-align:[''left/center/right''];</code>
Baris 468: Baris 189:
:; ''imagestyle''<sup>†</sup>
:; ''imagestyle''<sup>†</sup>
:; ''imageleftstyle''<sup>†</sup>
:; ''imageleftstyle''<sup>†</sup>
:: CSS styles to apply to the cells where the image/imageleft sits. These
:: CSS styles to apply to the cells where the image/imageleft sits. These styles should only be used in exceptional circumstances, usually to fix width problems if the width of groups is set and the width of the image cell grows too large. Examples:

styles should only be used in exceptional circumstances, usually to fix

width problems if the width of groups is set and the width of the image cell

grows too large. Examples:
::: <code>imagestyle = width:5em;</code>
::: <code>imagestyle = width:5em;</code>


===== Default styles =====
===== Default styles =====
The style settings listed here are those that editors using the navbox
The style settings listed here are those that editors using the navbox change most often. The other more complex style settings were left out of this list to keep it simple. Most styles are set in [[MediaWiki:Common.css]].

change most often. The other more complex style settings were left out of

this list to keep it simple. Most styles are set in

[[MediaWiki:Common.css]].

:<code>bodystyle = background:#fdfdfd; width:100%; vertical-

align:middle;</code>
:<code>titlestyle = background:#ccccff; padding-left:1em; padding-right:1em;

text-align:center;</code>
:<code>abovestyle = background:#ddddff; padding-left:1em; padding-right:1em;

text-align:center;</code>
:<code>belowstyle = background:#ddddff; padding-left:1em; padding-right:1em;

text-align:center;</code>
:<code>groupstyle = background:#ddddff; padding-left:1em; padding-right:1em;


:<code>bodystyle = background:#fdfdfd; width:100%; vertical-align:middle;</code>
text-align:right;</code>
:<code>titlestyle = background:#ccccff; padding-left:1em; padding-right:1em; text-align:center;</code>
:<code>abovestyle = background:#ddddff; padding-left:1em; padding-right:1em; text-align:center;</code>
:<code>belowstyle = background:#ddddff; padding-left:1em; padding-right:1em; text-align:center;</code>
:<code>groupstyle = background:#ddddff; padding-left:1em; padding-right:1em; text-align:right;</code>
:<code>liststyle = background:transparent; text-align:left/center;</code>
:<code>liststyle = background:transparent; text-align:left/center;</code>
:<code>oddstyle = background:transparent;</code>
:<code>oddstyle = background:transparent;</code>
:<code>evenstyle = background:#f7f7f7;</code>
:<code>evenstyle = background:#f7f7f7;</code>


Since ''liststyle'' and ''oddstyle'' are transparent odd lists have the color of the ''bodystyle'', which defaults to #fdfdfd (white with a hint of gray). A list has <code>text-align:left;</code> if it has a group, if not it has <code>text-align:center;</code>. Since only ''bodystyle'' has a vertical-align all the others inherit its <code>vertical-align:middle;</code>.
Since ''liststyle'' and ''oddstyle'' are transparent odd lists have the

color of the ''bodystyle'', which defaults to #fdfdfd (white with a hint of

gray). A list has <code>text-align:left;</code> if it has a group, if not it

has <code>text-align:center;</code>. Since only ''bodystyle'' has a

vertical-align all the others inherit its <code>vertical-

align:middle;</code>.



===Advanced parameters===
===Advanced parameters===
:; ''titlegroup''
:; ''titlegroup''
:: This puts a group in the title area, with the same default styles as ''group<sub>n</sub>''. It should be used only in exceptional circumstances (usually advanced meta-templates) and its use requires some knowledge of the internal code of {{t1|Navbox}}; you should be ready to manually set up CSS styles to get everything to work properly if you wish to use it. If you think you have an application for this parameter, it might be best to change your mind, or consult the talk page first.
:: This puts a group in the title area, with the same default styles as

''group<sub>n</sub>''. It should be used only in exceptional circumstances

(usually advanced meta-templates) and its use requires some knowledge of the

internal code of {{t1|Navbox}}; you should be ready to manually set up CSS

styles to get everything to work properly if you wish to use it. If you

think you have an application for this parameter, it might be best to change

your mind, or consult the talk page first.


:; ''titlegroupstyle''
:; ''titlegroupstyle''
Baris 538: Baris 214:


:; ''innerstyle''
:; ''innerstyle''
:: A very advanced parameter to be used ''only'' for advanced meta-templates employing the navbox. Internally, the navbox uses an outer table to draw the border, and then an inner table for everything else (title/above/groups/lists/below/images, etc.). The ''style''/''bodystyle'' parameter sets the style for the outer table, which the inner table inherits, but in advanced cases (meta-templates) it may be necessary to directly set the style for the inner table. This parameter provides access to that inner table so styles can be applied. Use at your own risk.
:: A very advanced parameter to be used ''only'' for advanced meta-templates

employing the navbox. Internally, the navbox uses an outer table to draw

the border, and then an inner table for everything else

(title/above/groups/lists/below/images, etc.). The ''style''/''bodystyle''

parameter sets the style for the outer table, which the inner table

inherits, but in advanced cases (meta-templates) it may be necessary to

directly set the style for the inner table. This parameter provides access

to that inner table so styles can be applied. Use at your own risk.


== Layout of table ==
== Layout of table ==
Table generated by {{tl|Navbox}} '''without''' ''image'', ''above'' and
Table generated by {{tl|Navbox}} '''without''' ''image'', ''above'' and ''below'' parameters (gray list background color added for illustration only):

''below'' parameters (gray list background color added for illustration

only):
{{Navbox
{{Navbox
|name = Navbox/doc
|name = Navbox/doc
Baris 574: Baris 232:
}}
}}


Table generated by {{tl|Navbox}} '''with''' ''image'', ''above'' and ''below'' parameters (gray list background color added for illustration only):

Table generated by {{tl|Navbox}} '''with''' ''image'', ''above'' and

''below'' parameters (gray list background color added for illustration

only):
{{Navbox
{{Navbox
|name = Navbox/doc
|name = Navbox/doc
Baris 597: Baris 250:
}}
}}


Table generated by {{tl|Navbox}} '''with''' ''image'', ''imageleft'', ''lists'', and '''without''' ''groups'', ''above'', ''below'' (gray list background color added for illustration only):

Table generated by {{tl|Navbox}} '''with''' ''image'', ''imageleft'',

''lists'', and '''without''' ''groups'', ''above'', ''below'' (gray list

background color added for illustration only):
{{Navbox
{{Navbox
|name = Navbox/doc
|name = Navbox/doc
Baris 617: Baris 265:


== Examples ==
== Examples ==
<!--Please don't encourage folks to use <div>s within Navboxes as (unless
<!--Please don't encourage folks to use <div>s within Navboxes as (unless handled carefully) they can negate liststyles/groupstyles/etc settings.-->

handled carefully) they can negate liststyles/groupstyles/etc settings.-->


=== No image ===
=== No image ===
Baris 625: Baris 271:
{{Navbox
{{Navbox
|name = Navbox/doc
|name = Navbox/doc
|title = [[Multimedia Super Corridor|MSC (Multimedia Super Corridor)
|title = [[Multimedia Super Corridor|MSC (Multimedia Super Corridor) Malaysia]]{{-}}''without image''

Malaysia]]{{-}}''without image''


|group1 = Centre
|group1 = Centre
Baris 636: Baris 280:


|group3 = Major landmarks
|group3 = Major landmarks
|list3 = [[Petronas Twin Towers]]{{·}} [[Kuala Lumpur Tower]]{{·}} [[Kuala
|list3 = [[Petronas Twin Towers]]{{·}} [[Kuala Lumpur Tower]]{{·}} [[Kuala Lumpur Sentral]]{{·}} [[Technology Park Malaysia]]{{·}} [[Putrajaya]]{{·}} [[Cyberjaya]]{{·}}

Lumpur Sentral]]{{·}} [[Technology Park Malaysia]]{{·}} [[Putrajaya]]{{·}}

[[Cyberjaya]]{{·}}
[[Kuala Lumpur International Airport]]
[[Kuala Lumpur International Airport]]


Baris 647: Baris 287:


|group5 = Prime applications
|group5 = Prime applications
|list5 = [[EGovernment]]{{·}} [[MyKad]]
|list5 = [[EGovernment]]{{·}} [[MyKad]]
}}
}}
</pre>
</pre>
Baris 654: Baris 294:
|name = Navbox/doc
|name = Navbox/doc
|state = uncollapsed
|state = uncollapsed
|title = [[Multimedia Super Corridor|MSC (Multimedia Super Corridor)
|title = [[Multimedia Super Corridor|MSC (Multimedia Super Corridor) Malaysia]]{{-}}''without image''

Malaysia]]{{-}}''without image''
|group1 = Centre
|group1 = Centre
|list1 = [[Cyberjaya]]
|list1 = [[Cyberjaya]]
Baris 662: Baris 300:
|list2 = [[Klang Valley]]
|list2 = [[Klang Valley]]
|group3 = Major landmarks
|group3 = Major landmarks
|list3 = [[Petronas Twin Towers]]{{·}} [[Kuala Lumpur Tower]]{{·}} [[Kuala
|list3 = [[Petronas Twin Towers]]{{·}} [[Kuala Lumpur Tower]]{{·}} [[Kuala Lumpur Sentral]]{{·}} [[Technology Park Malaysia]]{{·}} [[Putrajaya]]{{·}} [[Cyberjaya]]{{·}} [[Kuala Lumpur International Airport]]

Lumpur Sentral]]{{·}} [[Technology Park Malaysia]]{{·}} [[Putrajaya]]{{·}}

[[Cyberjaya]]{{·}} [[Kuala Lumpur International Airport]]
|group4 = Infrastructure
|group4 = Infrastructure
|list4 = [[Express Rail Link]]{{·}} [[KL-KLIA Dedicated Expressway]]
|list4 = [[Express Rail Link]]{{·}} [[KL-KLIA Dedicated Expressway]]
|group5 = Prime applications
|group5 = Prime applications
|list5 = [[EGovernment]]{{·}} [[MyKad]]
|list5 = [[EGovernment]]{{·}} [[MyKad]]
}}
}}



=== With image, without groups ===
=== With image, without groups ===
Baris 678: Baris 311:
{{Navbox
{{Navbox
|name = Navbox/doc
|name = Navbox/doc
|title = [[Multimedia Super Corridor|MSC (Multimedia Super Corridor)
|title = [[Multimedia Super Corridor|MSC (Multimedia Super Corridor) Malaysia]]

Malaysia]]
|image = [[Image:Flag of Malaysia.svg|80px]]
|image = [[Image:Flag of Malaysia.svg|80px]]
|list1 = [[Petronas Twin Towers]]{{·}} [[Kuala Lumpur Tower]]{{·}} [[Kuala
|list1 = [[Petronas Twin Towers]]{{·}} [[Kuala Lumpur Tower]]{{·}} [[Kuala Lumpur Sentral]]{{·}} [[Technology Park Malaysia]]{{·}} [[Putrajaya]]{{·}} [[Cyberjaya]]{{·}} [[Kuala Lumpur International Airport]]

Lumpur Sentral]]{{·}} [[Technology Park Malaysia]]{{·}} [[Putrajaya]]{{·}}

[[Cyberjaya]]{{·}} [[Kuala Lumpur International Airport]]
}}
}}
</pre>
</pre>
Baris 692: Baris 319:
|name = Navbox/doc
|name = Navbox/doc
|state = uncollapsed
|state = uncollapsed
|title = [[Multimedia Super Corridor|MSC (Multimedia Super Corridor)
|title = [[Multimedia Super Corridor|MSC (Multimedia Super Corridor) Malaysia]]

Malaysia]]
|image = [[Image:Flag of Malaysia.svg|80px]]
|image = [[Image:Flag of Malaysia.svg|80px]]
|list1 = [[Petronas Twin Towers]]{{·}} [[Kuala Lumpur Tower]]{{·}} [[Kuala
|list1 = [[Petronas Twin Towers]]{{·}} [[Kuala Lumpur Tower]]{{·}} [[Kuala Lumpur Sentral]]{{·}} [[Technology Park Malaysia]]{{·}} [[Putrajaya]]{{·}} [[Cyberjaya]]{{·}} [[Kuala Lumpur International Airport]]

Lumpur Sentral]]{{·}} [[Technology Park Malaysia]]{{·}} [[Putrajaya]]{{·}}

[[Cyberjaya]]{{·}} [[Kuala Lumpur International Airport]]
}}
}}



=== With two images, without groups, multiple lists ===
=== With two images, without groups, multiple lists ===
Baris 708: Baris 328:
{{Navbox
{{Navbox
|name = Navbox/doc
|name = Navbox/doc
|title = [[Multimedia Super Corridor|MSC (Multimedia Super Corridor)
|title = [[Multimedia Super Corridor|MSC (Multimedia Super Corridor) Malaysia]]

Malaysia]]
|image = [[Image:Flag of Malaysia.svg|80px]]
|image = [[Image:Flag of Malaysia.svg|80px]]
|imageleft = [[Image:Flag of Malaysia.svg|80px]]
|imageleft = [[Image:Flag of Malaysia.svg|80px]]
|list1 = [[Petronas Twin Towers]]{{·}} [[Kuala Lumpur Tower]]{{·}} [[Kuala
|list1 = [[Petronas Twin Towers]]{{·}} [[Kuala Lumpur Tower]]{{·}} [[Kuala Lumpur Sentral]]

Lumpur Sentral]]
|list2 = [[Express Rail Link]]{{·}} [[KL-KLIA Dedicated Expressway]]
|list2 = [[Express Rail Link]]{{·}} [[KL-KLIA Dedicated Expressway]]
|list3 = [[EGovernment]]{{·}} [[MyKad]]
|list3 = [[EGovernment]]{{·}} [[MyKad]]
Baris 725: Baris 341:
|name = Navbox/doc
|name = Navbox/doc
|state = uncollapsed
|state = uncollapsed
|title = [[Multimedia Super Corridor|MSC (Multimedia Super Corridor)
|title = [[Multimedia Super Corridor|MSC (Multimedia Super Corridor) Malaysia]]

Malaysia]]
|image = [[Image:Flag of Malaysia.svg|80px]]
|image = [[Image:Flag of Malaysia.svg|80px]]
|imageleft = [[Image:Flag of Malaysia.svg|80px]]
|imageleft = [[Image:Flag of Malaysia.svg|80px]]
|list1 = [[Petronas Twin Towers]]{{·}} [[Kuala Lumpur Tower]]{{·}} [[Kuala
|list1 = [[Petronas Twin Towers]]{{·}} [[Kuala Lumpur Tower]]{{·}} [[Kuala Lumpur Sentral]]

Lumpur Sentral]]
|list2 = [[Express Rail Link]]{{·}} [[KL-KLIA Dedicated Expressway]]
|list2 = [[Express Rail Link]]{{·}} [[KL-KLIA Dedicated Expressway]]
|list3 = [[EGovernment]]{{·}} [[MyKad]]
|list3 = [[EGovernment]]{{·}} [[MyKad]]
|list4 = [[Klang Valley]]
|list4 = [[Klang Valley]]
}}
}}



=== With image, groups, above, below ===
=== With image, groups, above, below ===
Baris 743: Baris 354:
{{Navbox
{{Navbox
|name = Navbox/doc
|name = Navbox/doc
|title = [[Multimedia Super Corridor|MSC (Multimedia Super Corridor)
|title = [[Multimedia Super Corridor|MSC (Multimedia Super Corridor) Malaysia]]

Malaysia]]
|image = [[Image:Flag of Malaysia.svg|80px]]
|image = [[Image:Flag of Malaysia.svg|80px]]


Baris 757: Baris 366:


|group3 = Major landmarks
|group3 = Major landmarks
|list3 = [[Petronas Twin Towers]]{{·}} [[Kuala Lumpur Tower]]{{·}} [[Kuala
|list3 = [[Petronas Twin Towers]]{{·}} [[Kuala Lumpur Tower]]{{·}} [[Kuala Lumpur Sentral]]{{·}} [[Technology Park Malaysia]]{{·}} [[Putrajaya]]{{·}} [[Cyberjaya]]{{·}} [[Kuala Lumpur International Airport]]

Lumpur Sentral]]{{·}} [[Technology Park Malaysia]]{{·}} [[Putrajaya]]{{·}}

[[Cyberjaya]]{{·}} [[Kuala Lumpur International Airport]]


|group4 = Infrastructure
|group4 = Infrastructure
Baris 776: Baris 381:
|name = Navbox/doc
|name = Navbox/doc
|state = uncollapsed
|state = uncollapsed
|title = [[Multimedia Super Corridor|MSC (Multimedia Super Corridor)
|title = [[Multimedia Super Corridor|MSC (Multimedia Super Corridor) Malaysia]]

Malaysia]]
|image = [[Image:Flag of Malaysia.svg|80px]]
|image = [[Image:Flag of Malaysia.svg|80px]]
|above = Above text goes here
|above = Above text goes here
Baris 786: Baris 389:
|list2 = [[Klang Valley]]
|list2 = [[Klang Valley]]
|group3 = Major landmarks
|group3 = Major landmarks
|list3 = [[Petronas Twin Towers]]{{·}} [[Kuala Lumpur Tower]]{{·}} [[Kuala
|list3 = [[Petronas Twin Towers]]{{·}} [[Kuala Lumpur Tower]]{{·}} [[Kuala Lumpur Sentral]]{{·}} [[Technology Park Malaysia]]{{·}} [[Putrajaya]]{{·}} [[Cyberjaya]]{{·}} [[Kuala Lumpur International Airport]]

Lumpur Sentral]]{{·}} [[Technology Park Malaysia]]{{·}} [[Putrajaya]]{{·}}

[[Cyberjaya]]{{·}} [[Kuala Lumpur International Airport]]
|group4 = Infrastructure
|group4 = Infrastructure
|list4 = [[Express Rail Link]]{{·}} [[KL-KLIA Dedicated Expressway]]
|list4 = [[Express Rail Link]]{{·}} [[KL-KLIA Dedicated Expressway]]
Baris 797: Baris 396:
|below = Website: [http://www.msc.com.my/ www.msc.com.my]
|below = Website: [http://www.msc.com.my/ www.msc.com.my]
}}
}}



==Child navboxes==
==Child navboxes==
It is possible to place multiple navboxes within a single border with the
It is possible to place multiple navboxes within a single border with the use of the ''border'' parameter, or by specifying the first parameter to be "child". The basic code for doing this is as follows (which adds a subgroup for the first group/list area):

use of the ''border'' parameter, or by specifying the first parameter to be

"child". The basic code for doing this is as follows (which adds a subgroup

for the first group/list area):
<pre style="overflow:scroll;">
<pre style="overflow:scroll;">
{{Navbox
{{Navbox
Baris 823: Baris 415:
===Subgroups example===
===Subgroups example===
{{main|Template:Navbox subgroup}}
{{main|Template:Navbox subgroup}}
This example shows how subgroups can be used. It is recommended that one uses {{t1|Navbox subgroup}}, but the same result can be reached by using {{t1|Navbox}} with <code>border = child</code> or the first unnamed parameter set to <code>child</code>. Note that the ''evenodd'' parameter is used to reverse striping in some of the subgroups in order to get all of the stripes to line up properly. If you wish to remove the striping altogether, you can set <code>liststyle = background:transparent;</code> in each of the navboxes.
This example shows how subgroups can be used. It is recommended that one

uses {{t1|Navbox subgroup}}, but the same result can be reached by using

{{t1|Navbox}} with <code>border = child</code> or the first unnamed

parameter set to <code>child</code>. Note that the ''evenodd'' parameter is

used to reverse striping in some of the subgroups in order to get all of the

stripes to line up properly. If you wish to remove the striping altogether,

you can set <code>liststyle = background:transparent;</code> in each of the

navboxes.


{{Navbox
{{Navbox
Baris 850: Baris 428:
|list1 = List1
|list1 = List1
|group2 = Group2
|group2 = Group2
|list2 =
|list2 =
{{Navbox|child
{{Navbox|child
|evenodd = swap
|evenodd = swap
Baris 865: Baris 443:


|group4 = Group4
|group4 = Group4
|list4 =
|list4 =
{{Navbox|child
{{Navbox|child
|evenodd = swap
|evenodd = swap
Baris 879: Baris 457:
===Multiple show/hides in a single container===
===Multiple show/hides in a single container===
{{main|Template:Navbox with collapsible groups}}
{{main|Template:Navbox with collapsible groups}}
The example below is generated using a regular navbox for the main container, then its list1, list2, and list3 parameters each contain another navbox, with <code>border = child</code> set. Note that each of the child navboxes has its own VDE navbar; these could be hidden using <code>navbar = plain</code> for each of them, or by just leaving out the ''name'' parameter (child navboxes do not require the name parameter to be set, unlike regular navboxes).
The example below is generated using a regular navbox for the main

container, then its list1, list2, and list3 parameters each contain another

navbox, with <code>border = child</code> set. Note that each of the child

navboxes has its own VDE navbar; these could be hidden using <code>navbar =

plain</code> for each of them, or by just leaving out the ''name'' parameter

(child navboxes do not require the name parameter to be set, unlike regular

navboxes).


{{Navbox
{{Navbox
|name = Navbox/doc
|name = Navbox/doc
|title = [[Image:Blason France moderne.svg|15px]] {{flagicon|FRA}} [[French
|title = [[Image:Blason France moderne.svg|15px]] {{flagicon|FRA}} [[French colonial empires|Former French overseas empire]]

colonial empires|Former French overseas empire]]
|state = uncollapsed
|state = uncollapsed
|list1 = {{Navbox|child
|list1 = {{Navbox|child
|name = Former French colonies in Africa and the Indian Ocean
|name = Former French colonies in Africa and the Indian Ocean
|title = [[French colonial empires|Former French colonies]] in
|title = [[French colonial empires|Former French colonies]] in [[Africa]] and the [[Indian Ocean]]

[[Africa]] and the [[Indian Ocean]]
|groupstyle = background:lavender;
|groupstyle = background:lavender;


|group1 = [[Mahgreb]]
|group1 = [[Mahgreb]]
|list1 = [[French rule in Algeria|Algeria]]{{·}} [[French Morocco|
|list1 = [[French rule in Algeria|Algeria]]{{·}} [[French Morocco|Morocco]]&nbsp;<small>([[Arguin|Arguin Island]])</small>{{·}} [[History of Tunisia|Tunisia]]

Morocco]]&nbsp;<small>([[Arguin|Arguin Island]])</small>{{·}} [[History of

Tunisia|Tunisia]]


|group2 = [[French West Africa]]
|group2 = [[French West Africa]]
|list2 = [[History of Côte d'Ivoire#French Period|Côte d'Ivoire]]{{·}}
|list2 = [[History of Côte d'Ivoire#French Period|Côte d'Ivoire]]{{·}} [[French Dahomey|Dahomey]]{{·}} [[French Sudan]]{{·}} [[French Guinea|Guinea]]{{·}} [[History of Mauritania#French colonization and post-colonial history|Mauritania]]{{·}} [[History of Niger#Colonization|Niger]]{{·}} [[History of Senegal|Senegal]]{{·}} [[French Upper Volta|Upper Volta]]

[[French Dahomey|Dahomey]]{{·}} [[French Sudan]]{{·}} [[French Guinea|

Guinea]]{{·}} [[History of Mauritania#French colonization and post-colonial

history|Mauritania]]{{·}} [[History of Niger#Colonization|Niger]]{{·}}

[[History of Senegal|Senegal]]{{·}} [[French Upper Volta|Upper Volta]]


|group3 = &nbsp;
|group3 = &nbsp;
|list3 = [[French Togoland]]{{·}} [[James Island (The Gambia)|James
|list3 = [[French Togoland]]{{·}} [[James Island (The Gambia)|James Island]]

Island]]


|group4 = [[French Equatorial Africa]]
|group4 = [[French Equatorial Africa]]
|list4 = [[Colonial Chad|Chad]]{{·}} [[History of Gabon|Gabon]]{{·}}
|list4 = [[Colonial Chad|Chad]]{{·}} [[History of Gabon|Gabon]]{{·}} [[History of the Republic of the Congo|Middle Congo]]{{·}} [[Oubangui-Chari]]

[[History of the Republic of the Congo|Middle Congo]]{{·}} [[Oubangui-

Chari]]


|group5 = [[Comoros]]
|group5 = [[Comoros]]
Baris 940: Baris 484:


|group6 = &nbsp;
|group6 = &nbsp;
|list6 = [[History of Djibouti#French Interest|French Somaliland
|list6 = [[History of Djibouti#French Interest|French Somaliland (Djibouti)]]{{·}} [[History of Madagascar#French Control|Madagascar]]{{·}} [[Mauritius|Ile de France]]{{·}} [[Seychelles]]

(Djibouti)]]{{·}} [[History of Madagascar#French Control|Madagascar]]{{·}}

[[Mauritius|Ile de France]]{{·}} [[Seychelles]]
}}
}}


|list2 = {{Navbox|child
|list2 = {{Navbox|child
|name = Former French colonies in the Americas
|name = Former French colonies in the Americas
|titlestyle =
|titlestyle =
|title = [[French colonial empires|Former French colonies]] in the
|title = [[French colonial empires|Former French colonies]] in the [[Americas]]
|groupstyle =

|list1 = [[New France]]{{spaces|2}}<small>([[Acadia]]&nbsp;• [[Louisiana (New France)|Louisiana]]&nbsp;• [[Canada, New France|Canada]]&nbsp;• [[Newfoundland (island)|Terre&nbsp;Neuve]]) 1655 – 1763 </small>
[[Americas]]
|groupstyle =
|list1 = [[New France]]{{spaces|2}}<small>([[Acadia]]&nbsp;• [[Louisiana

(New France)|Louisiana]]&nbsp;• [[Canada, New France|Canada]]&nbsp;•

[[Newfoundland (island)|Terre&nbsp;Neuve]]) 1655 – 1763 </small>

|list2 = [[Inini]]{{·}} [[Berbice]]{{·}} [[Saint-Domingue]]&nbsp;<small>

([[Haiti]])</small>{{·}} [[Tobago]]{{·}} [[History of the British Virgin

Islands|Virgin&nbsp;Islands]]{{·}} {{nowrap|[[France Antarctique]]}}{{·}}


|list2 = [[Inini]]{{·}} [[Berbice]]{{·}} [[Saint-Domingue]]&nbsp;<small>([[Haiti]])</small>{{·}} [[Tobago]]{{·}} [[History of the British Virgin Islands|Virgin&nbsp;Islands]]{{·}} {{nowrap|[[France Antarctique]]}}{{·}} {{nowrap|[[France Équinoxiale]]}}
{{nowrap|[[France Équinoxiale]]}}


|belowstyle =
|belowstyle =
|below = [[French West India Company]]
|below = [[French West India Company]]
}}
}}
Baris 974: Baris 502:
|list3 = {{Navbox|child
|list3 = {{Navbox|child
|name = Former French colonies in Asia and Oceania
|name = Former French colonies in Asia and Oceania
|title = [[French colonial empires|Former French colonies]] in
|title = [[French colonial empires|Former French colonies]] in [[Asia]] and [[Oceania]]
|groupstyle =

[[Asia]] and [[Oceania]]
|groupstyle =


|group1 = [[French India]]
|group1 = [[French India]]
|list1 = [[Chandernagor]]{{·}} [[Coromandel Coast]]{{·}} [[History of
|list1 = [[Chandernagor]]{{·}} [[Coromandel Coast]]{{·}} [[History of Chennai|Madras]]{{·}} [[Malabar]]{{·}} [[Mahé, India|Mahé]]{{·}} [[History of Puducherry|Pondichéry]]{{·}} [[Karaikal]]{{·}} [[Yanam (India)|Yanaon]]

Chennai|Madras]]{{·}} [[Malabar]]{{·}} [[Mahé, India|Mahé]]{{·}} [[History

of Puducherry|Pondichéry]]{{·}} [[Karaikal]]{{·}} [[Yanam (India)|Yanaon]]


|group2 = [[French Indochina]]
|group2 = [[French Indochina]]
|list2 = [[Colonial Cambodia|Cambodia]]{{·}}
|list2 = [[Colonial Cambodia|Cambodia]]{{·}} [[History_of_Laos_to_1945#French_Laos|Laos]]{{·}} [[French Indochina|Vietnam]]&nbsp;<small>([[Annam (French colony)|Annam]]&nbsp;• [[Cochinchina]]&nbsp;• [[Tonkin]])</small>

[[History_of_Laos_to_1945#French_Laos|Laos]]{{·}} [[French Indochina|

Vietnam]]&nbsp;<small>([[Annam (French colony)|Annam]]&nbsp;•

[[Cochinchina]]&nbsp;• [[Tonkin]])</small>


|group3 = Other Asian
|group3 = Other Asian
|list3 = [[Alawite State|Alaouites]]{{·}} [[Republic of Hatay|
|list3 = [[Alawite State|Alaouites]]{{·}} [[Republic of Hatay|Alexandretta-Hatay]]{{·}} [[Sri Lanka|Ceylon]]{{·}} [[Kwangchowan]]

Alexandretta-Hatay]]{{·}} [[Sri Lanka|Ceylon]]{{·}} [[Kwangchowan]]


|group4 = [[Oceania]]
|group4 = [[Oceania]]
|list4 = [[New Hebrides|New Hebrides]] [[History of Vanuatu|(Vanuatu)]]
|list4 = [[New Hebrides|New Hebrides]] [[History of Vanuatu|(Vanuatu)]]


|belowstyle =
|belowstyle =
|below = [[French East India Company]]
|below = [[French East India Company]]
}}
}}
Baris 1.009: Baris 523:


===Additional examples===
===Additional examples===
You may find additional examples of complex subgroups and child navboxes at
You may find additional examples of complex subgroups and child navboxes at the [[Template:Navbox/doc/Advanced examples|advanced navbox examples page]] and the [[Template:Navbox/testcases|Navbox code test page]].

the [[Template:Navbox/doc/Advanced examples|advanced navbox examples page]]

and the [[Template:Navbox/testcases|Navbox code test page]].


==Relationship with other Navbox templates==
==Relationship with other Navbox templates==
This navbox template is specifically designed to work in conjunction two other sister templates: {{t1|Navbox with columns}} and {{t1|Navbox with collapsible groups}}. All three of these templates share common parameters for consistency and ease of use (such parameters are marked with a <sup>'''†'''</sup> in the complete parameter list above). Most importantly, all three of these templates can each be used as children of one another (by using the <code>border = child</code> parameter, or by specifying the first unnamed parameter to be <code>child</code> (i.e. use <code><nowiki>{{Navbox|child</nowiki></code>, <code><nowiki>{{Navbox with columns|child</nowiki></code>, or <code><nowiki>{{Navbox with collapsible groups|child</nowiki></code>). For examples on how this is done, see the page on [[Template:Navbox/doc/Advanced examples|advanced navbox examples]].
This navbox template is specifically designed to work in conjunction two

other sister templates: {{t1|Navbox with columns}} and {{t1|Navbox with

collapsible groups}}. All three of these templates share common parameters

for consistency and ease of use (such parameters are marked with a

<sup>'''†'''</sup> in the complete parameter list above). Most importantly,

all three of these templates can each be used as children of one another (by

using the <code>border = child</code> parameter, or by specifying the first

unnamed parameter to be <code>child</code> (i.e. use <code><nowiki>

{{Navbox|child</nowiki></code>, <code><nowiki>{{Navbox with columns|

child</nowiki></code>, or <code><nowiki>{{Navbox with collapsible groups|

child</nowiki></code>). For examples on how this is done, see the page on

[[Template:Navbox/doc/Advanced examples|advanced navbox examples]].


== Technical details ==
== Technical details ==
*This template uses CSS classes for most of its looks, thus it is fully
*This template uses CSS classes for most of its looks, thus it is fully skinnable.


*Internally this meta template uses HTML markup instead of wiki markup for the table code. That is the usual way we make meta templates since wiki markup has several drawbacks. For instance it makes it harder to use [[m:Help:ParserFunctions|parser functions]] and special characters in parameters.
skinnable.


*For more technical details see the [[{{TALKPAGENAME}}|talk page]], the CSS classes in [[MediaWiki:common.css]] and the collapsible table used to hide the box in [[MediaWiki:common.js]].
*Internally this meta template uses HTML markup instead of wiki markup for

the table code. That is the usual way we make meta templates since wiki

markup has several drawbacks. For instance it makes it harder to use

[[m:Help:ParserFunctions|parser functions]] and special characters in

parameters.

*For more technical details see the [[{{TALKPAGENAME}}|talk page]], the CSS

classes in [[MediaWiki:common.css]] and the collapsible table used to hide

the box in [[MediaWiki:common.js]].


===Intricacies===
===Intricacies===
*The 2px wide border between groups and lists is drawn using the border-left property of the list cell. Thus, if you wish to change the background color of the template (for example <code>bodystyle = background:purple;</code>), then you'll need to make the border-left-color match the background color (i.e. <code>liststyle = border-left-color:purple;</code>). If you wish to have a border around each list cell, then the 2px border between the list cells and group cells will disappear; you'll have to come up with your own solution.
*The 2px wide border between groups and lists is drawn using the border-left

property of the list cell. Thus, if you wish to change the background color

of the template (for example <code>bodystyle = background:purple;</code>),

then you'll need to make the border-left-color match the background color

(i.e. <code>liststyle = border-left-color:purple;</code>). If you wish to

have a border around each list cell, then the 2px border between the list

cells and group cells will disappear; you'll have to come up with your own

solution.

*The list cell width is initially set to 100%. Thus, if you wish to

manually set the width of group cells, you'll need to also specify the

liststyle to have width:auto. If you wish to set the group width and use

images, it's up to you to figure out the CSS in the groupstyle, liststyle,

imagestyle, and imageleftstyle parameters to get everything to work


*The list cell width is initially set to 100%. Thus, if you wish to manually set the width of group cells, you'll need to also specify the liststyle to have width:auto. If you wish to set the group width and use images, it's up to you to figure out the CSS in the groupstyle, liststyle, imagestyle, and imageleftstyle parameters to get everything to work correctly. Example of setting group width:
correctly. Example of setting group width:
::<code>groupstyle = width:10em;</code>
::<code>groupstyle = width:10em;</code>
::<code>liststyle = width:auto;</code>
::<code>liststyle = width:auto;</code>


*Adjacent navboxes have only a 1 pixel border between them (except in IE6,
*Adjacent navboxes have only a 1 pixel border between them (except in IE6, which doesn't support the necessary CSS). If you set the top or bottom margin of <code>style/bodystyle</code>, then this will not work.


*The default margin-left and margin-right of the outer navbox table are set to "auto;". If you wish to use navbox as a float, you need to manually set the margin-left and margin-right values, because the auto margins interfere with the float option. For example, add the following code to use the navbox as a float:
which doesn't support the necessary CSS). If you set the top or bottom
::<code>style = width:22em;float:right;margin-left:1em;margin-right:0em;</code>

margin of <code>style/bodystyle</code>, then this will not work.

*The default margin-left and margin-right of the outer navbox table are set

to "auto;". If you wish to use navbox as a float, you need to manually set

the margin-left and margin-right values, because the auto margins interfere

with the float option. For example, add the following code to use the

navbox as a float:
::<code>style = width:22em;float:right;margin-left:1em;margin-

right:0em;</code>


== See also ==
== See also ==
* {{t1|Navbox with columns}} &ndash; Allows columns instead of groups/lists
* {{t1|Navbox with columns}} &ndash; Allows columns instead of groups/lists
* {{t1|Navbox with collapsible groups}} &ndash; Another variation.
* {{t1|Navbox with collapsible groups}} &ndash; Another variation.
* [[Wikipedia:Line break handling]] &ndash; The how-to guide about how to
* [[Wikipedia:Line break handling]] &ndash; The how-to guide about how to handle word wraps (line breaks) on Wikipedia, such as the wrapping of the link lists used in navboxes.
* {{t1|Nowrap begin}} &ndash; The recommended format for adding bullets, pipes, or dashes between list items. The page describes how to go about using them with proper wrapping.

* {{t1|Nobold}} &ndash; To display text at normal font-weight within a context where the default font-weight is bold, e.g. header cells in tables.
handle word wraps (line breaks) on Wikipedia, such as the wrapping of the
* {{tn|·}} and {{tn|•}} &ndash; The dot and bullet commonly used to separate items in Navbox lists.

link lists used in navboxes.
* {{t1|Nowrap begin}} &ndash; The recommended format for adding bullets,

pipes, or dashes between list items. The page describes how to go about

using them with proper wrapping.
* {{t1|Nobold}} &ndash; To display text at normal font-weight within a

context where the default font-weight is bold, e.g. header cells in tables.
* {{tn|·}} and {{tn|•}} &ndash; The dot and bullet commonly used to separate

items in Navbox lists.


----
----
Baris 1.140: Baris 564:
{{Navbox with columns
{{Navbox with columns
|name = {{subst:PAGENAME}}
|name = {{subst:PAGENAME}}
|title =
|title =
|colwidth = <!--(to set a default width for each column,
|colwidth = <!--(to set a default width for each column,
preferably in a proportional unit such as 'em'*)-->
preferably in a proportional unit such as 'em'*)-->
|col1 =
|col1 =
|col2 =
|col2 =
}}
}}
</pre>
</pre>
<div style="line-height:1.35em; font-size:90%;">* See [[Em (typography)]].
<div style="line-height:1.35em; font-size:90%;">* See [[Em (typography)]]. Using proportional units means the template should still be displayed correctly across a range of browser font-sizes. If ''colwidth'' not specified, a default 10em is used.</div>

Using proportional units means the template should still be displayed

correctly across a range of browser font-sizes. If ''colwidth'' not

specified, a default 10em is used.</div>


== Parameters ==
== Parameters ==
Required parameters in '''bold'''. Parameters marked with a
Required parameters in '''bold'''. Parameters marked with a cross'''<sup>†</sup>''' are parameters in common with the sister templates {{t1|Navbox}} and {{t1|Navbox with collapsible groups}}. A much more complete description of those parameters is available at {{t1|Navbox}}.

cross'''<sup>†</sup>''' are parameters in common with the sister templates

{{t1|Navbox}} and {{t1|Navbox with collapsible groups}}. A much more

complete description of those parameters is available at {{t1|Navbox}}.


===Setup parameters===
===Setup parameters===
:;name<sup>†</sup>
:;name<sup>†</sup>
::The name of the template. The name of this template, for example, is
::The name of the template. The name of this template, for example, is "Navbox with columns".

"Navbox with columns".


:;state<sup>†</sup>
:;state<sup>†</sup>
::Possible values are <code>collapsed</code>, <code>uncollapsed</code>,
::Possible values are <code>collapsed</code>, <code>uncollapsed</code>, <code>plain</code>, <code>off</code>, and the default <code>autocollapse</code>. See {{t1|Navbox}} for more information.

<code>plain</code>, <code>off</code>, and the default

<code>autocollapse</code>. See {{t1|Navbox}} for more information.


:;''navbar''<sup>†</sup>
:;''navbar''<sup>†</sup>
::Possible values are <code>plain</code>, <code>off</code>, and the default
::Possible values are <code>plain</code>, <code>off</code>, and the default value of blank. See {{t1|Navbox}} for more information.

value of blank. See {{t1|Navbox}} for more information.


:;''border''<sup>†</sup>
:;''border''<sup>†</sup>
::Possible values are <code>child</code>, <code>none</code>, and the default value of blank. Set to <code>child</code> if you wish to use the navbox inside of another navbox; with this option, the child navbox is borderless and fits snuggly inside of its parent navbox. The parent navbox may be the list area of {{t1|Navbox}}, a columns of another {{t1|Navbox with columns}}, or a section of {{t1|Navbox with collapsible groups}}. See {{t1|Navbox}} for more information and examples.
::Possible values are <code>child</code>, <code>none</code>, and the default

value of blank. Set to <code>child</code> if you wish to use the navbox

inside of another navbox; with this option, the child navbox is borderless

and fits snuggly inside of its parent navbox. The parent navbox may be the

list area of {{t1|Navbox}}, a columns of another {{t1|Navbox with columns}},

or a section of {{t1|Navbox with collapsible groups}}. See {{t1|Navbox}}

for more information and examples.


===Basic data parameters===
===Basic data parameters===
:;'''''title'''''<sup>†</sup>
:;'''''title'''''<sup>†</sup>
::The title of the template, displayed centered in the titlebar at the top
::The title of the template, displayed centered in the titlebar at the top of the template.

of the template.


:;''above''<sup>†</sup>
:;''above''<sup>†</sup>
Baris 1.217: Baris 607:
===Style parameters===
===Style parameters===
:;''bodystyle''<sup>†</sup>
:;''bodystyle''<sup>†</sup>
::CSS style/s to apply to the template's body (i.e. including space not used
::CSS style/s to apply to the template's body (i.e. including space not used by columns)

by columns)


:;''titlestyle''<sup>†</sup>
:;''titlestyle''<sup>†</sup>
::[[Wikipedia:CSS|CSS]] style/s to apply to titlebar; usually
::[[Wikipedia:CSS|CSS]] style/s to apply to titlebar; usually <code>background:''color''</code> (background defaults to [[Wikipedia:NavFrame|NavHead]] default).

<code>background:''color''</code> (background defaults to

[[Wikipedia:NavFrame|NavHead]] default).


:;''abovestyle''<sup>†</sup>
:;''abovestyle''<sup>†</sup>
:;''belowstyle''<sup>†</sup>
:;''belowstyle''<sup>†</sup>
::CSS style/s to apply to the ''above'' and ''below'' parameters,
::CSS style/s to apply to the ''above'' and ''below'' parameters, respectively.

respectively.


:;''basestyle''<sup>†</sup>
:;''basestyle''<sup>†</sup>
::CSS style/s to apply to the ''title'', ''above'', and ''below'',
::CSS style/s to apply to the ''title'', ''above'', and ''below'', parameters, all at the same time.

parameters, all at the same time.


:;''imagestyle''<sup>†</sup>
:;''imagestyle''<sup>†</sup>
Baris 1.243: Baris 623:


:;''imageleftstyle''<sup>†</sup>
:;''imageleftstyle''<sup>†</sup>
::CSS style/s to apply to the ''imageleft'' parameter
::CSS style/s to apply to the ''imageleft'' parameter


:;''colstyle''
:;''colstyle''
::CSS style/s to apply across all columns; if used, usually
::CSS style/s to apply across all columns; if used, usually <code>background:''color''</code> per ''titlestyle'' above.

<code>background:''color''</code> per ''titlestyle'' above.


:;''oddcolstyle''
:;''oddcolstyle''
Baris 1.268: Baris 646:
===Columns parameters===
===Columns parameters===
:;''colwidth''
:;''colwidth''
::Width, preferably in a proportional unit such as '[[Em (typography)|em]]',
::Width, preferably in a proportional unit such as '[[Em (typography)|em]]', or as a percentage, used for each column whose width not specified by ''colNwidth'' below. Defaults to 10em. Examples:

or as a percentage, used for each column whose width not specified by

''colNwidth'' below. Defaults to 10em. Examples:
:::<code>colwidth = 15em</code>
:::<code>colwidth = 15em</code>
:::<code>colwidth = 25%</code>
:::<code>colwidth = 25%</code>


:;''fullwidth''
:;''fullwidth''
::If set to anything, then the total width of the columns are scaled
::If set to anything, then the total width of the columns are scaled linearly to make the sum of the widths 100%. A rather advanced parameter, this usually need not be used and should be left blank. If a colheader or colfooter is used, then fullwidth is used automatically. Example:

linearly to make the sum of the widths 100%. A rather advanced parameter,

this usually need not be used and should be left blank. If a colheader or

colfooter is used, then fullwidth is used automatically. Example:
:::<code>fullwidth = true</code>
:::<code>fullwidth = true</code>


:;''padding''
:;''padding''
::Padding before first column, preferably in a proportional unit. Defaults
::Padding before first column, preferably in a proportional unit. Defaults to 5em. Padding is disabled by setting it to 0 (or 0em, or 0%).

to 5em. Padding is disabled by setting it to 0 (or 0em, or 0%).


:;''col<sub>n</sub>width''
:;''col<sub>n</sub>width''
Baris 1.295: Baris 661:


:;'''''col<sub>n</sub>'''''
:;'''''col<sub>n</sub>'''''
::The content of the n<sup>th</sup> column. If any columns are used, then
::The content of the n<sup>th</sup> column. If any columns are used, then <code>col1</code> is required. There can be a maximum of 20 columns.

<code>col1</code> is required. There can be a maximum of 20 columns.


:;''col<sub>n</sub>header''
:;''col<sub>n</sub>header''
::A header cell for the n<sup>th</sup> column that appears above the column.
::A header cell for the n<sup>th</sup> column that appears above the column. See below for examples.

See below for examples.


:;''col<sub>n</sub>footer
:;''col<sub>n</sub>footer
Baris 1.308: Baris 670:


:;''col<sub>n</sub>headercolspan
:;''col<sub>n</sub>headercolspan
::A number specifying how many columns the n<sup>th</sup> column header
::A number specifying how many columns the n<sup>th</sup> column header should span. It defaults to 1. If it is greater than one, then do not specify column headers that it covers. For example, if <code>col1headercolspan = 3</code>, then leave <code>col2header</code> and <code>col3header</code> blank.

should span. It defaults to 1. If it is greater than one, then do not

specify column headers that it covers. For example, if

<code>col1headercolspan = 3</code>, then leave <code>col2header</code> and

<code>col3header</code> blank.


:;''col<sub>n</sub>footercolspan
:;''col<sub>n</sub>footercolspan
::A number specifying how many columns the n<sup>th</sup> column footer
::A number specifying how many columns the n<sup>th</sup> column footer should span. It defaults to 1. If it is greater than one, then do not specify column footers that it covers. For example, if <code>col1footercolspan = 3</code>, then leave <code>col2footer</code> and <code>col3footer</code> blank.

should span. It defaults to 1. If it is greater than one, then do not

specify column footers that it covers. For example, if

<code>col1footercolspan = 3</code>, then leave <code>col2footer</code> and

<code>col3footer</code> blank.


===Additional groups/lists===
===Additional groups/lists===
You may wish to add a few extra groups and/or lists below the columns. The
You may wish to add a few extra groups and/or lists below the columns. The following parameters are given to provide such functionality. See {{t1|Navbox}} for a more complete description of how they work, and for more examples.

following parameters are given to provide such functionality. See {{t1|

Navbox}} for a more complete description of how they work, and for more

examples.


:;''group<sub>n</sub>''<sup>†</sup>
:;''group<sub>n</sub>''<sup>†</sup>
::Allows up to 6 additional groups to go along with the lists below the
::Allows up to 6 additional groups to go along with the lists below the columns.

columns.


:;''list<sub>n</sub>''<sup>†</sup>
:;''list<sub>n</sub>''<sup>†</sup>
Baris 1.363: Baris 701:
:; ''oddstyle''
:; ''oddstyle''
:; ''evenstyle''
:; ''evenstyle''
::Applies to odd/even list numbers. Overrules styles defined by
::Applies to odd/even list numbers. Overrules styles defined by ''liststyle''. The default behavior is to add striped colors (white and gray) to odd/even rows, respectively, in order to improve readability. These should not be changed except in extraordinary circumstances.


:; ''evenodd'' <span style="font-weight:normal;"><code>[swap, even, odd, off]</code></span>
''liststyle''. The default behavior is to add striped colors (white and

gray) to odd/even rows, respectively, in order to improve readability.

These should not be changed except in extraordinary circumstances.

:; ''evenodd'' <span style="font-weight:normal;"><code>[swap, even, odd,

off]</code></span>
::See {{t1|Navbox}} for description.
::See {{t1|Navbox}} for description.


Baris 1.393: Baris 723:
|col4 = {{SIN}}<br/> {{KOR}}<br/> {{THA}}<br/> {{VIE}}
|col4 = {{SIN}}<br/> {{KOR}}<br/> {{THA}}<br/> {{VIE}}


|below = '''Potential future members'''{{spaces|6}}{{TLS}}{{spaces|3}}
|below = '''Potential future members'''{{spaces|6}}{{TLS}}{{spaces|3}}{{RUS}}

{{RUS}}
}}
}}
</pre>
</pre>
Baris 1.405: Baris 733:
|padding = 10em
|padding = 10em


|above = ''This is where the <nowiki>{{{above}}}</nowiki> parameter would
|above = ''This is where the <nowiki>{{{above}}}</nowiki> parameter would appear.''

appear.''


|col1 = {{AUS}}<br/> {{BRU}}<br/> {{CAM}}<br/> {{IND}}
|col1 = {{AUS}}<br/> {{BRU}}<br/> {{CAM}}<br/> {{IND}}
Baris 1.415: Baris 741:
|col4 = {{SIN}}<br/> {{KOR}}<br/> {{THA}}<br/> {{VIE}}
|col4 = {{SIN}}<br/> {{KOR}}<br/> {{THA}}<br/> {{VIE}}


|below = '''Potential future members'''{{spaces|6}}{{TLS}}{{spaces|3}}
|below = '''Potential future members'''{{spaces|6}}{{TLS}}{{spaces|3}}{{RUS}}

{{RUS}}
}}
}}



===Example with percentage widths===
===Example with percentage widths===
Baris 1.428: Baris 751:
| colwidth = 33%
| colwidth = 33%
| colstyle = text-align: center
| colstyle = text-align: center
| col1 = [[Polyethylene]] (PE)<br />[[Polyethylene terephthalate]] (PET or
| col1 = [[Polyethylene]] (PE)<br />[[Polyethylene terephthalate]] (PET or PETE)<br />[[Polyvinyl chloride]] (PVC)<br />[[Polyvinylidene chloride]] (PVDC)<br />[[Polylactic acid]] (PLA)
| col2 = [[Polypropylene]] (PP)<br />[[Polyamide]] (PA)<br />[[Polycarbonate]] (PC)<br />[[Polytetrafluoroethylene]] (PTFE)<br />[[Polyurethane]] (PU)

| col3 = [[Polystyrene]] (PS)<br /> [[Polyester]]<br /> [[Acrylonitrile butadiene styrene]] (ABS)<br /> [[Acrylic glass|Polymethyl methacrylate]] (PMMA)<br /> [[Polyoxymethylene]] (POM)
PETE)<br />[[Polyvinyl chloride]] (PVC)<br />[[Polyvinylidene chloride]]

(PVDC)<br />[[Polylactic acid]] (PLA)
| col2 = [[Polypropylene]] (PP)<br />[[Polyamide]] (PA)<br />

[[Polycarbonate]] (PC)<br />[[Polytetrafluoroethylene]] (PTFE)<br />

[[Polyurethane]] (PU)
| col3 = [[Polystyrene]] (PS)<br /> [[Polyester]]<br /> [[Acrylonitrile

butadiene styrene]] (ABS)<br /> [[Acrylic glass|Polymethyl methacrylate]]

(PMMA)<br /> [[Polyoxymethylene]] (POM)
}}
}}
</pre>
</pre>
Baris 1.452: Baris 763:
| colwidth = 33%
| colwidth = 33%
| colstyle = text-align: center
| colstyle = text-align: center
| col1 = [[Polyethylene]] (PE)<br />[[Polyethylene terephthalate]] (PET or
| col1 = [[Polyethylene]] (PE)<br />[[Polyethylene terephthalate]] (PET or PETE)<br />[[Polyvinyl chloride]] (PVC)<br />[[Polyvinylidene chloride]] (PVDC)<br />[[Polylactic acid]] (PLA)
| col2 = [[Polypropylene]] (PP)<br />[[Polyamide]] (PA)<br />[[Polycarbonate]] (PC)<br />[[Polytetrafluoroethylene]] (PTFE)<br />[[Polyurethane]] (PU)

| col3 = [[Polystyrene]] (PS)<br /> [[Polyester]]<br /> [[Acrylonitrile butadiene styrene]] (ABS)<br /> [[Acrylic glass|Polymethyl methacrylate]] (PMMA)<br /> [[Polyoxymethylene]] (POM)
PETE)<br />[[Polyvinyl chloride]] (PVC)<br />[[Polyvinylidene chloride]]

(PVDC)<br />[[Polylactic acid]] (PLA)
| col2 = [[Polypropylene]] (PP)<br />[[Polyamide]] (PA)<br />

[[Polycarbonate]] (PC)<br />[[Polytetrafluoroethylene]] (PTFE)<br />

[[Polyurethane]] (PU)
| col3 = [[Polystyrene]] (PS)<br /> [[Polyester]]<br /> [[Acrylonitrile

butadiene styrene]] (ABS)<br /> [[Acrylic glass|Polymethyl methacrylate]]

(PMMA)<br /> [[Polyoxymethylene]] (POM)
}}
}}



===Example with col<sub>n</sub>header and col<sub>n</sub>footer===
===Example with col<sub>n</sub>header and col<sub>n</sub>footer===
Baris 1.496: Baris 794:


}}
}}



===Example with col<sub>n</sub>header using col<sub>n</sub>headercolspan===
===Example with col<sub>n</sub>header using col<sub>n</sub>headercolspan===
The gray background for the columns is added for illustration only. This
The gray background for the columns is added for illustration only. This example shows the col<sub>n</sub>headercolspan parameter being used, but you may also use col<sub>n</sub>footercolspan to adjust the span of the footer cells.

example shows the col<sub>n</sub>headercolspan parameter being used, but you

may also use col<sub>n</sub>footercolspan to adjust the span of the footer

cells.
{{Navbox with columns
{{Navbox with columns
|name = Navbox with columns/doc
|name = Navbox with columns/doc
Baris 1.529: Baris 820:
|col7 = col7
|col7 = col7
}}
}}



===Example to illustrate most fields===
===Example to illustrate most fields===
The gray background and centered text for the columns is for illustration
The gray background and centered text for the columns is for illustration only. The columns default to an off-white background and left text alignment. This example shows how you can use up to six additional groups/lists after the columns.

only. The columns default to an off-white background and left text

alignment. This example shows how you can use up to six additional

groups/lists after the columns.


{{Navbox with columns
{{Navbox with columns
Baris 1.583: Baris 867:


==Using child navboxes==
==Using child navboxes==
All three types of navbox templates, namely {{t1|Navbox}}, {{t1|Navbox with
All three types of navbox templates, namely {{t1|Navbox}}, {{t1|Navbox with columns}}, and {{t1|Navbox with collapsible groups}}, can be nested inside of one another using the <code>border</code> parameter (which is common to all three). For complex templates, it may be necessary to use nesting to achieve a desired look.

columns}}, and {{t1|Navbox with collapsible groups}}, can be nested inside

of one another using the <code>border</code> parameter (which is common to

all three). For complex templates, it may be necessary to use nesting to

achieve a desired look.


===Nesting Navbox with columns in itself===
===Nesting Navbox with columns in itself===
This example shows how one can nest multiple {{t1|Navbox with columns}}
This example shows how one can nest multiple {{t1|Navbox with columns}} templates to get the right look. Edit this section to view the code. There is a main {{t1|Navbox with columns}} and two additional {{t1|Navbox with columns}} templates, with the "child" option set (see code).

templates to get the right look. Edit this section to view the code. There

is a main {{t1|Navbox with columns}} and two additional {{t1|Navbox with

columns}} templates, with the "child" option set (see code).
{{Navbox with columns
{{Navbox with columns
|name = Navbox with columns/doc
|name = Navbox with columns/doc
Baris 1.647: Baris 917:


===Nesting other Navbox forms===
===Nesting other Navbox forms===
This example shows {{t1|Navbox}}, {{t1|Navbox with collapsible groups}} and
This example shows {{t1|Navbox}}, {{t1|Navbox with collapsible groups}} and {{t1|Navbox with columns}} all working together. Press the edit button for the section to view the code. Note that each of the child navboxes has the first parameter set to <code>child</code>

{{t1|Navbox with columns}} all working together. Press the edit button for

the section to view the code. Note that each of the child navboxes has the

first parameter set to <code>child</code>
{{Navbox with collapsible groups
{{Navbox with collapsible groups
|name = Navbox with collapsible groups
|name = Navbox with collapsible groups
|title = Navbox, Navbox with columns, and Navbox with collapsible groups
|title = Navbox, Navbox with columns, and Navbox with collapsible groups together

together
|selected = {{{1|}}}
|selected = {{{1|}}}


|group1 = [[:Category:Scouting|The Scouting Movement]]
|group1 = [[:Category:Scouting|The Scouting Movement]]
|abbr1 = movement
|abbr1 = movement
|list1 = [[Scouting]]{{·}}''[[Scouting for Boys]]''{{·}}[[Scout method]]{{·}}[[Scout Law]]{{·}}[[Scout Promise]]{{·}}[[Scout Motto]]{{·}}[[Wood Badge]]{{·}}[[Age groups in Scouting and Guiding]]{{·}}[[Cub Scout]]{{·}}[[Boy Scout]]{{·}}[[Rover Scout]]{{·}}[[Brownie (Girl Guides)|Brownie]]{{·}}[[Girl Guiding and Girl Scouting]]{{·}}[[Ranger (Girl Guide)]]{{·}}[[Jamboree (Scouting)|Jamboree]]{{·}}[[Scout Leader]]{{·}}[[World Organization of the Scout Movement|WOSM]]{{·}}[[World Association of Girl Guides and Girl Scouts|WAGGGS]]{{·}}[[Non-aligned Scouting and Scout-like organisations|Non-aligned organisations]]{{·}}[[Scouting controversy and conflict]]{{·}}[[Scouting in popular culture]]{{·}}[[List of Scouts]]{{·}}[[List of highest awards in Scouting]]
|list1 = [[Scouting]]{{·}}''[[Scouting for Boys]]''{{·}}[[Scout method]]

{{·}}[[Scout Law]]{{·}}[[Scout Promise]]{{·}}[[Scout Motto]]{{·}}[[Wood

Badge]]{{·}}[[Age groups in Scouting and Guiding]]{{·}}[[Cub Scout]]{{·}}

[[Boy Scout]]{{·}}[[Rover Scout]]{{·}}[[Brownie (Girl Guides)|Brownie]]

{{·}}[[Girl Guiding and Girl Scouting]]{{·}}[[Ranger (Girl Guide)]]{{·}}

[[Jamboree (Scouting)|Jamboree]]{{·}}[[Scout Leader]]{{·}}[[World

Organization of the Scout Movement|WOSM]]{{·}}[[World Association of Girl

Guides and Girl Scouts|WAGGGS]]{{·}}[[Non-aligned Scouting and Scout-like

organisations|Non-aligned organisations]]{{·}}[[Scouting controversy and

conflict]]{{·}}[[Scouting in popular culture]]{{·}}[[List of Scouts]]{{·}}

[[List of highest awards in Scouting]]


|list2 = {{Navbox|child
|list2 = {{Navbox|child
|title = [[French colonial empires|Former French colonies]] in
|title = [[French colonial empires|Former French colonies]] in [[Africa]] and the [[Indian Ocean]]

[[Africa]] and the [[Indian Ocean]]
|titlestyle = background#
|titlestyle = background#
|groupstyle = background:lavender;
|groupstyle = background:lavender;


|group1 = [[Mahgreb]]
|group1 = [[Mahgreb]]
|list1 = [[French rule in Algeria|Algeria]]{{·}} [[French Morocco|
|list1 = [[French rule in Algeria|Algeria]]{{·}} [[French Morocco|Morocco]]&nbsp;<small>([[Arguin|Arguin Island]])</small>{{·}} [[History of Tunisia|Tunisia]]

Morocco]]&nbsp;<small>([[Arguin|Arguin Island]])</small>{{·}} [[History of

Tunisia|Tunisia]]


|group2 = [[French West Africa]]
|group2 = [[French West Africa]]
|list2 = [[History of Côte d'Ivoire#French Period|Côte d'Ivoire]]{{·}}
|list2 = [[History of Côte d'Ivoire#French Period|Côte d'Ivoire]]{{·}} [[French Dahomey|Dahomey]]{{·}} [[French Sudan]]{{·}} [[French Guinea|Guinea]]{{·}} [[History of Mauritania#French colonization and post-colonial history|Mauritania]]{{·}} [[History of Niger#Colonization|Niger]]{{·}} [[History of Senegal|Senegal]]{{·}} [[French Upper Volta|Upper Volta]]

[[French Dahomey|Dahomey]]{{·}} [[French Sudan]]{{·}} [[French Guinea|

Guinea]]{{·}} [[History of Mauritania#French colonization and post-colonial

history|Mauritania]]{{·}} [[History of Niger#Colonization|Niger]]{{·}}

[[History of Senegal|Senegal]]{{·}} [[French Upper Volta|Upper Volta]]


|group3 = &nbsp;
|group3 = &nbsp;
|list3 = [[French Togoland]]{{·}} [[James Island (The Gambia)|James
|list3 = [[French Togoland]]{{·}} [[James Island (The Gambia)|James Island]]

Island]]


|group4 = [[French Equatorial Africa]]
|group4 = [[French Equatorial Africa]]
|list4 = [[Colonial Chad|Chad]]{{·}} [[History of Gabon|Gabon]]{{·}}
|list4 = [[Colonial Chad|Chad]]{{·}} [[History of Gabon|Gabon]]{{·}} [[History of the Republic of the Congo|Middle Congo]]{{·}} [[Oubangui-Chari]]

[[History of the Republic of the Congo|Middle Congo]]{{·}} [[Oubangui-

Chari]]


|group5 = [[Comoros]]
|group5 = [[Comoros]]
Baris 1.726: Baris 948:


|group6 = &nbsp;
|group6 = &nbsp;
|list6 = [[History of Djibouti#French Interest|French Somaliland
|list6 = [[History of Djibouti#French Interest|French Somaliland (Djibouti)]]{{·}} [[History of Madagascar#French Control|Madagascar]]{{·}} [[Mauritius|Ile de France]]{{·}} [[Seychelles]]

(Djibouti)]]{{·}} [[History of Madagascar#French Control|Madagascar]]{{·}}

[[Mauritius|Ile de France]]{{·}} [[Seychelles]]


}}
}}


|group3 = [[:Category:Scouting in the United Kingdom|Scouting in the United
|group3 = [[:Category:Scouting in the United Kingdom|Scouting in the United Kingdom]]

Kingdom]]
|abbr3 = Scouting
|abbr3 = Scouting
|list3 = [[The Scout Association]]{{·}}[[Girlguiding UK]]{{·}}[[Beaver Scouts]]{{·}}[[Cub Section (UK)]]{{·}}[[Venture Scout]]{{·}}[[Explorer Scouts]]{{·}}[[Brownie (Girl Guides)]]{{·}}[[Ranger (Girl Guide)]]{{·}}[[Rainbow (Girl Guides)]]{{·}}[[Scout Network]]{{·}}[[Chief Scout (United Kingdom)]]{{·}}[[Scout Counties]]{{·}}[[Scout District]]{{·}}[[Scout Section (UK)]]{{·}}[[Scout Activity Centre]]{{·}}[[Young Leaders (The Scout Association)|Young Leaders]]
|list3 = [[The Scout Association]]{{·}}[[Girlguiding UK]]{{·}}[[Beaver

Scouts]]{{·}}[[Cub Section (UK)]]{{·}}[[Venture Scout]]{{·}}[[Explorer

Scouts]]{{·}}[[Brownie (Girl Guides)]]{{·}}[[Ranger (Girl Guide)]]{{·}}

[[Rainbow (Girl Guides)]]{{·}}[[Scout Network]]{{·}}[[Chief Scout (United

Kingdom)]]{{·}}[[Scout Counties]]{{·}}[[Scout District]]{{·}}[[Scout Section

(UK)]]{{·}}[[Scout Activity Centre]]{{·}}[[Young Leaders (The Scout

Association)|Young Leaders]]


|list4 = {{Navbox with columns|child
|list4 = {{Navbox with columns|child
Baris 1.804: Baris 1.008:


= Navbox subgroup =
= Navbox subgroup =
<includeonly>{{template doc page transcluded}} {{Esoteric}}
<includeonly>{{template doc page transcluded}} {{Esoteric}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>

</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
<!-- {{Navbox suite}}
<!-- {{Navbox suite}}
This template is designed to be used with {{tl|Navbox}} or other [[Wikipedia:Navigational templates|navigational template]]s that allow creating lists of links with groups headers or titles. This template allows the creation of subgroups that can be assigned to a list item within {{tl|Navbox}}. A subgroup may contain up to 20 list items.
This template is designed to be used with {{tl|Navbox}} or other

[[Wikipedia:Navigational templates|navigational template]]s that allow

creating lists of links with groups headers or titles. This template allows

the creation of subgroups that can be assigned to a list item within {{tl|

Navbox}}. A subgroup may contain up to 20 list items.


== Blank template ==
== Blank template ==
<pre>
<pre>
{{Navbox subgroup
{{Navbox subgroup
| groupstyle =
| groupstyle =
| liststyle =
| liststyle =


| group1 =
| group1 =
| list1 =
| list1 =
| group2 =
| group2 =
| list2 =
| list2 =
...
...
| group20 =
| group20 =
| list20 =
| list20 =
}}
}}
</pre>
</pre>


== Parameters ==
== Parameters ==
This template employs all parameters of {{t1|Navbox}}. Please see the
This template employs all parameters of {{t1|Navbox}}. Please see the documentation there for more complete descriptions. In fact, the only differences between this template and {{t1|Navbox}} are as follows:

documentation there for more complete descriptions. In fact, the only

differences between this template and {{t1|Navbox}} are as follows:
*The border parameter defaults to "child"
*The border parameter defaults to "child"
*The group padding defaults to 0.75em on the left/right, and can only be
*The group padding defaults to 0.75em on the left/right, and can only be changed with the <code>grouppadding</code> parameter. This is done to prevent the [[Internet Explorer box model bug]] from effecting the width of groups.

changed with the <code>grouppadding</code> parameter. This is done to

prevent the [[Internet Explorer box model bug]] from effecting the width of

groups.
Everything else is ''exactly'' the same as {{t1|Navbox}}.
Everything else is ''exactly'' the same as {{t1|Navbox}}.


Baris 1.854: Baris 1.038:
=== Cells ===
=== Cells ===
:; ''list<sub>n</sub>''
:; ''list<sub>n</sub>''
:: (i.e. ''list1'', ''list2'', ... ''list20'') The body of the template, usually a list of links. Format is inline. At least one ''list'' parameter is required; each additional ''list'' is displayed in a separate row of the table. Each ''list<sub>n</sub>'' may be preceded by a corresponding ''group<sub>n</sub>'' parameter, if provided (see below). The background color of the list items (and the entire table) defaults to <code>transparent</code>, therefore it displays the same background color used in the parent navigation box.
:: (i.e. ''list1'', ''list2'', ... ''list20'') The body of the template,

usually a list of links. Format is inline. At least one ''list'' parameter

is required; each additional ''list'' is displayed in a separate row of the

table. Each ''list<sub>n</sub>'' may be preceded by a corresponding

''group<sub>n</sub>'' parameter, if provided (see below). The background

color of the list items (and the entire table) defaults to

<code>transparent</code>, therefore it displays the same background color

used in the parent navigation box.


:; ''group<sub>n</sub>''
:; ''group<sub>n</sub>''
:: (i.e. ''group1'', ''group2'', ..., ''group20'') If specified, text appears in a header cell displayed to the left of ''list<sub>n</sub>''. If omitted, ''list<sub>n</sub>'' uses the full width of the table. The background color defaults to <code><span style="background:#e6e6ff; color:black;">#e6e6ff</span></code>, but can be changed via the ''groupstyle'' parameter (see below).
:: (i.e. ''group1'', ''group2'', ..., ''group20'') If specified, text

appears in a header cell displayed to the left of ''list<sub>n</sub>''. If

omitted, ''list<sub>n</sub>'' uses the full width of the table. The

background color defaults to <code><span style="background:#e6e6ff;

color:black;">#e6e6ff</span></code>, but can be changed via the

''groupstyle'' parameter (see below).


=== Styles ===
=== Styles ===
:; ''bodystyle''
:; ''bodystyle''
:: Specifies [[Cascading Style Sheets|CSS]] styles to apply to the template
:: Specifies [[Cascading Style Sheets|CSS]] styles to apply to the template body. Examples:

body. Examples:
::: <code>background:#''nnnnnn'';</code>
::: <code>background:#''nnnnnn'';</code>
::: <code>text-align:[''right/center/left/justified''];</code>
::: <code>text-align:[''right/center/left/justified''];</code>


:; ''groupstyle''
:; ''groupstyle''
:: CSS styles to apply to the ''group<sub>n</sub>'' cells. This option
:: CSS styles to apply to the ''group<sub>n</sub>'' cells. This option overrides any styles that are applied to the entire table. Examples:

overrides any styles that are applied to the entire table. Examples:
::: <code>background:#''nnnnnn'';</code>
::: <code>background:#''nnnnnn'';</code>
::: <code>text-align:[''left/center/right''];</code>
::: <code>text-align:[''left/center/right''];</code>
Baris 1.901: Baris 1.057:


:; ''grouppadding''
:; ''grouppadding''
:: CSS style to specify group padding. Should usually be specified using em
:: CSS style to specify group padding. Should usually be specified using em units. It is recommended to leave this parameter alone and use the default padding. Examples:
::: <code>grouppadding = 0em 1em;</code> (1em on left/right, 0em on top/bottom)

::: <code>grouppadding = 0em 0.5em 0em 1em;</code> (0em top, 0.5em right, 0em bottom, 1em left)
units. It is recommended to leave this parameter alone and use the default

padding. Examples:
::: <code>grouppadding = 0em 1em;</code> (1em on left/right, 0em on

top/bottom)
::: <code>grouppadding = 0em 0.5em 0em 1em;</code> (0em top, 0.5em right,

0em bottom, 1em left)


:; ''liststyle''
:; ''liststyle''
:: CSS styles to apply to all lists. Overridden by the ''oddstyle'' and
:: CSS styles to apply to all lists. Overridden by the ''oddstyle'' and ''evenstyle'' parameters (if specified) below.

''evenstyle'' parameters (if specified) below.


:; ''oddstyle''
:; ''oddstyle''
:; ''evenstyle''
:; ''evenstyle''
:: CSS styles to apply to the odd-numbered list items (''list1'', ''list3'',
:: CSS styles to apply to the odd-numbered list items (''list1'', ''list3'', etc) or even-numbered list items (''list2'', ''list4'', etc), respectively. Typically used to set background color (<code>background:#''nnnnnn'';</code>) in order to achieve an alternating background color between odd and even-numbered lists.


:; ''evenodd'' <span style="font-weight:normal;"><code>[swap, even, odd, off]</code></span>
etc) or even-numbered list items (''list2'', ''list4'', etc), respectively.
:: If set to <code>swap</code>, then the automatic striping of even and odd rows is reversed. Normally, even rows get a light gray background for striping; when this parameter is used, the odd rows receive the gray striping instead of the even rows. Setting to <code>even</code> or <code>odd</code> sets all rows to have that striping color. Setting to <code>off</code> disables automatic row striping. NOTE: Due to system limitations, do '''not''' use a semi-colon to close this command.

Typically used to set background color

(<code>background:#''nnnnnn'';</code>) in order to achieve an alternating

background color between odd and even-numbered lists.

:; ''evenodd'' <span style="font-weight:normal;"><code>[swap, even, odd,

off]</code></span>
:: If set to <code>swap</code>, then the automatic striping of even and odd

rows is reversed. Normally, even rows get a light gray background for

striping; when this parameter is used, the odd rows receive the gray

striping instead of the even rows. Setting to <code>even</code> or

<code>odd</code> sets all rows to have that striping color. Setting to

<code>off</code> disables automatic row striping. NOTE: Due to system

limitations, do '''not''' use a semi-colon to close this command.


==Setting the width of groups==
==Setting the width of groups==
If multiple {{t1|Navbox subgroup}} templates are used inside of a parent {{t1|Navbox}}, it generally looks better if the width of the groups matches up. In order to do this, one must set the <code>groupstyle</code> parameters to contain the desired width, and the <code>liststyle</code> parameters to have width:auto (due to HTML/CSS reasons). For example, place the following code in each {{t1|Navbox subgroup}} to adjust the widths:
If multiple {{t1|Navbox subgroup}} templates are used inside of a parent

{{t1|Navbox}}, it generally looks better if the width of the groups matches

up. In order to do this, one must set the <code>groupstyle</code>

parameters to contain the desired width, and the <code>liststyle</code>

parameters to have width:auto (due to HTML/CSS reasons). For example, place

the following code in each {{t1|Navbox subgroup}} to adjust the widths:
:<code>groupstyle = width:10em;</code>
:<code>groupstyle = width:10em;</code>
:<code>liststyle = width:auto;</code>
:<code>liststyle = width:auto;</code>


If you also use the <code>image</code> or <code>imageleft</code> parameters,
If you also use the <code>image</code> or <code>imageleft</code> parameters, then you will most likely also need to set their width manually using the <code>imagestyle</code> and <code>imageleftstyle</code> parameters.

then you will most likely also need to set their width manually using the

<code>imagestyle</code> and <code>imageleftstyle</code> parameters.
-->
-->
==Contoh==
==Contoh==
=== Contoh 1 ===
=== Contoh 1 ===
Berikut ini adalag contoh ''Navbox subgroup'' yang digunakan dengan templat
Berikut ini adalag contoh ''Navbox subgroup'' yang digunakan dengan templat ''Navbox''.

''Navbox''.


{{Navbox
{{Navbox
Baris 1.982: Baris 1.090:
{{Navbox subgroup
{{Navbox subgroup
| group1 = National Parks
| group1 = National Parks
| list1 = [[Black Canyon of the Gunnison National Park|Black Canyon of
| list1 = [[Black Canyon of the Gunnison National Park|Black Canyon of the Gunnison]]{{•}} [[Great Sand Dunes National Park and Preserve|Great Sand Dunes]]{{•}} [[Mesa Verde National Park|Mesa Verde]]{{•}} [[Rocky Mountain National Park|Rocky Mountain]]

the Gunnison]]{{•}} [[Great Sand Dunes National Park and Preserve|Great Sand

Dunes]]{{•}} [[Mesa Verde National Park|Mesa Verde]]{{•}} [[Rocky Mountain

National Park|Rocky Mountain]]
| group2 = National Monuments
| group2 = National Monuments
| list2 = [[Colorado National Monument|Colorado]]{{•}} [[Florissant
| list2 = [[Colorado National Monument|Colorado]]{{•}} [[Florissant Fossil Beds National Monument|Florissant Fossil Beds]]{{•}} [[Hovenweep National Monument|Hovenweep]]{{•}} [[Yucca House National Monument|Yucca House]]

Fossil Beds National Monument|Florissant Fossil Beds]]{{•}} [[Hovenweep

National Monument|Hovenweep]]{{•}} [[Yucca House National Monument|Yucca

House]]
| group3 = National Historic Sites
| group3 = National Historic Sites
| list3 = [[Bent's Old Fort National Historic Site|Bent's Old Fort]]{{•}}
| list3 = [[Bent's Old Fort National Historic Site|Bent's Old Fort]]{{•}} [[Sand Creek Massacre National Historic Site|Sand Creek Massacre]]

[[Sand Creek Massacre National Historic Site|Sand Creek Massacre]]
| group4 = National Recreation Area
| group4 = National Recreation Area
| list4 = [[Curecanti National Recreation Area|Curecanti]]
| list4 = [[Curecanti National Recreation Area|Curecanti]]
}}
}}
| group2 = National Forests
| group2 = National Forests
| list2 = [[Arapaho National Forest|Arapaho]]{{•}} [[Grand Mesa National Forest|Grand Mesa]]{{•}} [[Gunnison National Forest|Gunnison]]{{•}} [[Pike National Forest|Pike]]{{•}} [[Rio Grande National Forest|Rio Grande]]{{•}} [[Roosevelt National Forest|Roosevelt]]{{•}} [[Medicine Bow - Routt National Forest|Medicine Bow - Routt]]{{•}} [[San Isabel National Forest|San Isabel]]{{•}} [[San Juan National Forest|San Juan]]{{•}} [[Uncompahgre National Forest|Uncompahgre]]{{•}} [[White River National Forest|White River]]
| list2 = [[Arapaho National Forest|Arapaho]]{{•}} [[Grand Mesa National

Forest|Grand Mesa]]{{•}} [[Gunnison National Forest|Gunnison]]{{•}} [[Pike

National Forest|Pike]]{{•}} [[Rio Grande National Forest|Rio Grande]]{{•}}

[[Roosevelt National Forest|Roosevelt]]{{•}} [[Medicine Bow - Routt National

Forest|Medicine Bow - Routt]]{{•}} [[San Isabel National Forest|San

Isabel]]{{•}} [[San Juan National Forest|San Juan]]{{•}} [[Uncompahgre

National Forest|Uncompahgre]]{{•}} [[White River National Forest|White

River]]
}}
}}


Baris 2.027: Baris 1.107:
| title = Protected Areas of Colorado
| title = Protected Areas of Colorado
| group1 = National Park Service
| group1 = National Park Service
| list1 =
| list1 =
{{Navbox subgroup
{{Navbox subgroup
|group1 = National Parks
|group1 = National Parks
|list1 = [[Black Canyon of the Gunnison National Park|Black Canyon of
|list1 = [[Black Canyon of the Gunnison National Park|Black Canyon of the Gunnison]]{{•}} [[Great Sand Dunes National Park and Preserve|Great Sand Dunes]]{{•}} [[Mesa Verde National Park|Mesa Verde]]{{•}} [[Rocky Mountain National Park|Rocky Mountain]]

the Gunnison]]{{•}} [[Great Sand Dunes National Park and Preserve|Great Sand

Dunes]]{{•}} [[Mesa Verde National Park|Mesa Verde]]{{•}} [[Rocky Mountain

National Park|Rocky Mountain]]
|group2 = National Monuments
|group2 = National Monuments
|list2 = [[Colorado National Monument|Colorado]]{{•}} [[Florissant
|list2 = [[Colorado National Monument|Colorado]]{{•}} [[Florissant Fossil Beds National Monument|Florissant Fossil Beds]]{{•}} [[Hovenweep National Monument|Hovenweep]]{{•}} [[Yucca House National Monument|Yucca House]]

Fossil Beds National Monument|Florissant Fossil Beds]]{{•}} [[Hovenweep

National Monument|Hovenweep]]{{•}} [[Yucca House National Monument|Yucca

House]]
|group3 = National Historic Sites
|group3 = National Historic Sites
|list3 = [[Bent's Old Fort National Historic Site|Bent's Old Fort]]{{•}}
|list3 = [[Bent's Old Fort National Historic Site|Bent's Old Fort]]{{•}} [[Sand Creek Massacre National Historic Site|Sand Creek Massacre]]

[[Sand Creek Massacre National Historic Site|Sand Creek Massacre]]
|group4 = National Recreation Area
|group4 = National Recreation Area
|list4 = [[Curecanti National Recreation Area|Curecanti]]
|list4 = [[Curecanti National Recreation Area|Curecanti]]
}}
}}
| group2 = National Forests
| group2 = National Forests
| list2 = [[Arapaho National Forest|Arapaho]]{{•}} [[Grand Mesa National Forest|Grand Mesa]]{{•}} [[Gunnison National Forest|Gunnison]]{{•}} [[Pike National Forest|Pike]]{{•}} [[Rio Grande National Forest|Rio Grande]]{{•}} [[Roosevelt National Forest|Roosevelt]]{{•}} [[Medicine Bow - Routt National Forest|Medicine Bow - Routt]]{{•}} [[San Isabel National Forest|San Isabel]]{{•}} [[San Juan National Forest|San Juan]]{{•}} [[Uncompahgre National Forest|Uncompahgre]]{{•}} [[White River National Forest|White River]]
| list2 = [[Arapaho National Forest|Arapaho]]{{•}} [[Grand Mesa National

Forest|Grand Mesa]]{{•}} [[Gunnison National Forest|Gunnison]]{{•}} [[Pike

National Forest|Pike]]{{•}} [[Rio Grande National Forest|Rio Grande]]{{•}}

[[Roosevelt National Forest|Roosevelt]]{{•}} [[Medicine Bow - Routt National

Forest|Medicine Bow - Routt]]{{•}} [[San Isabel National Forest|San

Isabel]]{{•}} [[San Juan National Forest|San Juan]]{{•}} [[Uncompahgre

National Forest|Uncompahgre]]{{•}} [[White River National Forest|White

River]]
}}
}}
</pre>
</pre>


=== Contoh 2 ===
=== Contoh 2 ===
<!-- This example implements horizontal group headings by assigning the
<!-- This example implements horizontal group headings by assigning the headings to <code>list1</code> and <code>list3</code> and the links to <code>list2</code> and <code>list4</code>), then using <code>list1style</code> and <code>list3style</code> to set the background color of the headings. -->

headings to <code>list1</code> and <code>list3</code> and the links to

<code>list2</code> and <code>list4</code>), then using

<code>list1style</code> and <code>list3style</code> to set the background

color of the headings. -->


{{Navbox
{{Navbox
Baris 2.087: Baris 1.131:
| title = Roman Emperors
| title = Roman Emperors
| group1 = Crisis 235 AD - 284 AD
| group1 = Crisis 235 AD - 284 AD
| list1 = [[Maximinus Thrax]]{{·}} [[Gordian I]]{{·}} [[Gordian II]]{{·}} [[Pupienus]] and [[Balbinus]]{{·}} [[Gordian III]]{{·}} [[Philip the Arab]]{{·}} [[Decius]]{{·}} [[Trebonianus Gallus]]{{·}} [[Aemilianus]]{{·}} [[Valerian (emperor)|Valerian]]{{·}} [[Gallienus]]{{·}} [[Claudius II]]{{·}} [[Quintillus]]{{·}} [[Aurelian]]{{·}} [[Marcus Claudius Tacitus]]{{·}} [[Florianus]]{{·}} [[Probus]]{{·}} [[Carus]]{{·}} [[Numerian]]{{·}} [[Carinus]]
| list1 = [[Maximinus Thrax]]{{·}} [[Gordian I]]{{·}} [[Gordian II]]{{·}}

[[Pupienus]] and [[Balbinus]]{{·}} [[Gordian III]]{{·}} [[Philip the Arab]]

{{·}} [[Decius]]{{·}} [[Trebonianus Gallus]]{{·}} [[Aemilianus]]{{·}}

[[Valerian (emperor)|Valerian]]{{·}} [[Gallienus]]{{·}} [[Claudius II]]{{·}}

[[Quintillus]]{{·}} [[Aurelian]]{{·}} [[Marcus Claudius Tacitus]]{{·}}

[[Florianus]]{{·}} [[Probus]]{{·}} [[Carus]]{{·}} [[Numerian]]{{·}}

[[Carinus]]
| group2 = Dominate
| group2 = Dominate
| list2 =
| list2 =
{{Navbox subgroup
{{Navbox subgroup
|list1style = background:#ddf;
|list1style = background:#ddf;
|list1 = '''284 AD - 395 AD'''
|list1 = '''284 AD - 395 AD'''
|list2 = [[Diocletian]]{{·}} [[Maximian]]{{·}} [[Constantius Chlorus|Constantius I]]{{·}} [[Galerius]]{{·}} [[Flavius Valerius Severus|Severus II]]{{·}} [[Maxentius]]{{·}} [[Maximinus]]{{·}} [[Licinius]]{{·}} [[Constantine I]]{{·}} [[Constantine II (emperor)|Constantine II]]{{·}} [[Constans|Constans I]]{{·}} [[Constantius II]]{{·}} [[Julian the Apostate]]{{·}} [[Jovian]]{{·}} [[Valentinian I]]{{·}} [[Valens]]{{·}} [[Gratian]]{{·}} [[Valentinian II]]{{·}} [[Eugenius]]{{·}} [[Theodosius I]]
|list2 = [[Diocletian]]{{·}} [[Maximian]]{{·}} [[Constantius Chlorus|

Constantius I]]{{·}} [[Galerius]]{{·}} [[Flavius Valerius Severus|Severus

II]]{{·}} [[Maxentius]]{{·}} [[Maximinus]]{{·}} [[Licinius]]{{·}}

[[Constantine I]]{{·}} [[Constantine II (emperor)|Constantine II]]{{·}}

[[Constans|Constans I]]{{·}} [[Constantius II]]{{·}} [[Julian the

Apostate]]{{·}} [[Jovian]]{{·}} [[Valentinian I]]{{·}} [[Valens]]{{·}}

[[Gratian]]{{·}} [[Valentinian II]]{{·}} [[Eugenius]]{{·}} [[Theodosius I]]
|list3style = background:#ddf;
|list3style = background:#ddf;
|list3 = '''Western Empire (393 AD - 476 AD)'''
|list3 = '''Western Empire (393 AD - 476 AD)'''
|list4 = [[Honorius (emperor)|Honorius]]{{·}} [[Constantius III]]{{·}}
|list4 = [[Honorius (emperor)|Honorius]]{{·}} [[Constantius III]]{{·}} [[Joannes]]{{·}} [[Valentinian III]]{{·}} [[Petronius Maximus]]{{·}} [[Avitus]]{{·}} [[Majorian]]{{·}} [[Libius Severus]]{{·}} [[Anthemius]]{{·}} [[Olybrius]]{{·}} [[Glycerius]]{{·}} [[Julius Nepos]]{{·}} [[Romulus Augustus]]

[[Joannes]]{{·}} [[Valentinian III]]{{·}} [[Petronius Maximus]]{{·}}

[[Avitus]]{{·}} [[Majorian]]{{·}} [[Libius Severus]]{{·}} [[Anthemius]]{{·}}

[[Olybrius]]{{·}} [[Glycerius]]{{·}} [[Julius Nepos]]{{·}} [[Romulus

Augustus]]
}}
}}
}}
}}
Baris 2.137: Baris 1.149:
| title = Roman Emperors
| title = Roman Emperors
| group1 = Crisis 235 AD - 284 AD
| group1 = Crisis 235 AD - 284 AD
| list1 = [[Maximinus Thrax]]{{·}} [[Gordian I]]{{·}} [[Gordian II]]{{·}} [[Pupienus]] and [[Balbinus]]{{·}} [[Gordian III]]{{·}} [[Philip the Arab]]{{·}} [[Decius]]{{·}} [[Trebonianus Gallus]]{{·}} [[Aemilianus]]{{·}} [[Valerian (emperor)|Valerian]]{{·}} [[Gallienus]]{{·}} [[Claudius II]]{{·}} [[Quintillus]]{{·}} [[Aurelian]]{{·}} [[Marcus Claudius Tacitus]]{{·}} [[Florianus]]{{·}} [[Probus]]{{·}} [[Carus]]{{·}} [[Numerian]]{{·}} [[Carinus]]
| list1 = [[Maximinus Thrax]]{{·}} [[Gordian I]]{{·}} [[Gordian II]]{{·}}

[[Pupienus]] and [[Balbinus]]{{·}} [[Gordian III]]{{·}} [[Philip the Arab]]

{{·}} [[Decius]]{{·}} [[Trebonianus Gallus]]{{·}} [[Aemilianus]]{{·}}

[[Valerian (emperor)|Valerian]]{{·}} [[Gallienus]]{{·}} [[Claudius II]]{{·}}

[[Quintillus]]{{·}} [[Aurelian]]{{·}} [[Marcus Claudius Tacitus]]{{·}}

[[Florianus]]{{·}} [[Probus]]{{·}} [[Carus]]{{·}} [[Numerian]]{{·}}

[[Carinus]]
| group2 = Dominate
| group2 = Dominate
| list2 =
| list2 =
{{Navbox subgroup
{{Navbox subgroup
|list1style = background:#ddf;
|list1style = background:#ddf;
|list1 = '''284 AD - 395 AD'''
|list1 = '''284 AD - 395 AD'''
|list2 = [[Diocletian]]{{·}} [[Maximian]]{{·}} [[Constantius Chlorus|Constantius I]]{{·}} [[Galerius]]{{·}} [[Flavius Valerius Severus|Severus II]]{{·}} [[Maxentius]]{{·}} [[Maximinus]]{{·}} [[Licinius]]{{·}} [[Constantine I]]{{·}} [[Constantine II (emperor)|Constantine II]]{{·}} [[Constans|Constans I]]{{·}} [[Constantius II]]{{·}} [[Julian the Apostate]]{{·}} [[Jovian]]{{·}} [[Valentinian I]]{{·}} [[Valens]]{{·}} [[Gratian]]{{·}} [[Valentinian II]]{{·}} [[Eugenius]]{{·}} [[Theodosius I]]
|list2 = [[Diocletian]]{{·}} [[Maximian]]{{·}} [[Constantius Chlorus|

Constantius I]]{{·}} [[Galerius]]{{·}} [[Flavius Valerius Severus|Severus

II]]{{·}} [[Maxentius]]{{·}} [[Maximinus]]{{·}} [[Licinius]]{{·}}

[[Constantine I]]{{·}} [[Constantine II (emperor)|Constantine II]]{{·}}

[[Constans|Constans I]]{{·}} [[Constantius II]]{{·}} [[Julian the

Apostate]]{{·}} [[Jovian]]{{·}} [[Valentinian I]]{{·}} [[Valens]]{{·}}

[[Gratian]]{{·}} [[Valentinian II]]{{·}} [[Eugenius]]{{·}} [[Theodosius I]]
|list3style = background:#ddf;
|list3style = background:#ddf;
|list3 = '''Western Empire (393 AD - 476 AD)'''
|list3 = '''Western Empire (393 AD - 476 AD)'''
|list4 = [[Honorius (emperor)|Honorius]]{{·}} [[Constantius III]]{{·}}
|list4 = [[Honorius (emperor)|Honorius]]{{·}} [[Constantius III]]{{·}} [[Joannes]]{{·}} [[Valentinian III]]{{·}} [[Petronius Maximus]]{{·}} [[Avitus]]{{·}} [[Majorian]]{{·}} [[Libius Severus]]{{·}} [[Anthemius]]{{·}} [[Olybrius]]{{·}} [[Glycerius]]{{·}} [[Julius Nepos]]{{·}} [[Romulus Augustus]]

[[Joannes]]{{·}} [[Valentinian III]]{{·}} [[Petronius Maximus]]{{·}}

[[Avitus]]{{·}} [[Majorian]]{{·}} [[Libius Severus]]{{·}} [[Anthemius]]{{·}}

[[Olybrius]]{{·}} [[Glycerius]]{{·}} [[Julius Nepos]]{{·}} [[Romulus

Augustus]]
&nbsp;&nbsp;}}
&nbsp;&nbsp;}}
}}
}}
Baris 2.211: Baris 1.191:
{{#if:{{{group1<includeonly>|</includeonly>}}}{{{sect1|}}}
{{#if:{{{group1<includeonly>|</includeonly>}}}{{{sect1|}}}
| {{Navbox|child
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr1}}} |uncollapsed |{{{state1|
|state = {{#ifeq:{{{selected}}}|{{{abbr1}}} |uncollapsed |{{{state1|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group1style|}}}

collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}

{{{group1style|}}}
|liststyle = {{{liststyle|}}}{{{list1style|}}}
|liststyle = {{{liststyle|}}}{{{list1style|}}}
|title = {{{group1<includeonly>|</includeonly>}}}{{{sect1|}}}
|title = {{{group1<includeonly>|</includeonly>}}}{{{sect1|}}}
Baris 2.230: Baris 1.206:
{{#if:{{{group2<includeonly>|</includeonly>}}}{{{sect2|}}}
{{#if:{{{group2<includeonly>|</includeonly>}}}{{{sect2|}}}
| {{Navbox|child
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr2}}} |uncollapsed |{{{state2|
|state = {{#ifeq:{{{selected}}}|{{{abbr2}}} |uncollapsed |{{{state2|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group2style|}}}

collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}

{{{group2style|}}}
|liststyle = {{{liststyle|}}}{{{list2style|}}}
|liststyle = {{{liststyle|}}}{{{list2style|}}}
|title = {{{group2<includeonly>|</includeonly>}}}{{{sect2|}}}
|title = {{{group2<includeonly>|</includeonly>}}}{{{sect2|}}}
Baris 2.249: Baris 1.221:
{{#if:{{{group3<includeonly>|</includeonly>}}}{{{sect3|}}}
{{#if:{{{group3<includeonly>|</includeonly>}}}{{{sect3|}}}
| {{Navbox|child
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr3}}} |uncollapsed |{{{state3|
|state = {{#ifeq:{{{selected}}}|{{{abbr3}}} |uncollapsed |{{{state3|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group3style|}}}

collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}

{{{group3style|}}}
|liststyle = {{{liststyle|}}}{{{list3style|}}}
|liststyle = {{{liststyle|}}}{{{list3style|}}}
|title = {{{group3<includeonly>|</includeonly>}}}{{{sect3|}}}
|title = {{{group3<includeonly>|</includeonly>}}}{{{sect3|}}}
Baris 2.268: Baris 1.236:
{{#if:{{{group4<includeonly>|</includeonly>}}}{{{sect4|}}}
{{#if:{{{group4<includeonly>|</includeonly>}}}{{{sect4|}}}
| {{Navbox|child
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr4}}} |uncollapsed |{{{state4|
|state = {{#ifeq:{{{selected}}}|{{{abbr4}}} |uncollapsed |{{{state4|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group4style|}}}

collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}

{{{group4style|}}}
|liststyle = {{{liststyle|}}}{{{list4style|}}}
|liststyle = {{{liststyle|}}}{{{list4style|}}}
|title = {{{group4<includeonly>|</includeonly>}}}{{{sect4|}}}
|title = {{{group4<includeonly>|</includeonly>}}}{{{sect4|}}}
Baris 2.287: Baris 1.251:
{{#if:{{{group5|}}}{{{sect5|}}}
{{#if:{{{group5|}}}{{{sect5|}}}
| {{Navbox|child
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr5}}} |uncollapsed |{{{state5|
|state = {{#ifeq:{{{selected}}}|{{{abbr5}}} |uncollapsed |{{{state5|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group5style|}}}

collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}

{{{group5style|}}}
|liststyle = {{{liststyle|}}}{{{list5style|}}}
|liststyle = {{{liststyle|}}}{{{list5style|}}}
|title = {{{group5<includeonly>|</includeonly>}}}{{{sect5|}}}
|title = {{{group5<includeonly>|</includeonly>}}}{{{sect5|}}}
Baris 2.306: Baris 1.266:
{{#if:{{{group6|}}}{{{sect6|}}}
{{#if:{{{group6|}}}{{{sect6|}}}
| {{Navbox|child
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr6}}} |uncollapsed |{{{state6|
|state = {{#ifeq:{{{selected}}}|{{{abbr6}}} |uncollapsed |{{{state6|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group6style|}}}

collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}

{{{group6style|}}}
|liststyle = {{{liststyle|}}}{{{list6style|}}}
|liststyle = {{{liststyle|}}}{{{list6style|}}}
|title = {{{group6<includeonly>|</includeonly>}}}{{{sect6|}}}
|title = {{{group6<includeonly>|</includeonly>}}}{{{sect6|}}}
Baris 2.325: Baris 1.281:
{{#if:{{{group7|}}}{{{sect7|}}}
{{#if:{{{group7|}}}{{{sect7|}}}
| {{Navbox|child
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr7}}} |uncollapsed |{{{state7|
|state = {{#ifeq:{{{selected}}}|{{{abbr7}}} |uncollapsed |{{{state7|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group7style|}}}

collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}

{{{group7style|}}}
|liststyle = {{{liststyle|}}}{{{list7style|}}}
|liststyle = {{{liststyle|}}}{{{list7style|}}}
|title = {{{group7<includeonly>|</includeonly>}}}{{{sect7|}}}
|title = {{{group7<includeonly>|</includeonly>}}}{{{sect7|}}}
Baris 2.344: Baris 1.296:
{{#if:{{{group8|}}}{{{sect8|}}}
{{#if:{{{group8|}}}{{{sect8|}}}
| {{Navbox|child
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr8}}} |uncollapsed |{{{state8|
|state = {{#ifeq:{{{selected}}}|{{{abbr8}}} |uncollapsed |{{{state8|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group8style|}}}

collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}

{{{group8style|}}}
|liststyle = {{{liststyle|}}}{{{list8style|}}}
|liststyle = {{{liststyle|}}}{{{list8style|}}}
|title = {{{group8<includeonly>|</includeonly>}}}{{{sect8|}}}
|title = {{{group8<includeonly>|</includeonly>}}}{{{sect8|}}}
Baris 2.363: Baris 1.311:
{{#if:{{{group9|}}}{{{sect9|}}}
{{#if:{{{group9|}}}{{{sect9|}}}
| {{Navbox|child
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr9}}} |uncollapsed |{{{state9|
|state = {{#ifeq:{{{selected}}}|{{{abbr9}}} |uncollapsed |{{{state9|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group9style|}}}

collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}

{{{group9style|}}}
|liststyle = {{{liststyle|}}}{{{list9style|}}}
|liststyle = {{{liststyle|}}}{{{list9style|}}}
|title = {{{group9<includeonly>|</includeonly>}}}{{{sect9|}}}
|title = {{{group9<includeonly>|</includeonly>}}}{{{sect9|}}}
Baris 2.382: Baris 1.326:
{{#if:{{{group10|}}}{{{sect10|}}}
{{#if:{{{group10|}}}{{{sect10|}}}
| {{Navbox|child
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr10}}} |uncollapsed |{{{state10|
|state = {{#ifeq:{{{selected}}}|{{{abbr10}}} |uncollapsed |{{{state10|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group10style|}}}

collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}

{{{group10style|}}}
|liststyle = {{{liststyle|}}}{{{list1style|}}}
|liststyle = {{{liststyle|}}}{{{list1style|}}}
|title = {{{group10<includeonly>|</includeonly>}}}{{{sect10|}}}
|title = {{{group10<includeonly>|</includeonly>}}}{{{sect10|}}}
Baris 2.401: Baris 1.341:
{{#if:{{{group11|}}}{{{sect11|}}}
{{#if:{{{group11|}}}{{{sect11|}}}
| {{Navbox|child
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr11}}} |uncollapsed |{{{state11|
|state = {{#ifeq:{{{selected}}}|{{{abbr11}}} |uncollapsed |{{{state11|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group11style|}}}

collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}

{{{group11style|}}}
|liststyle = {{{liststyle|}}}{{{list1style|}}}
|liststyle = {{{liststyle|}}}{{{list1style|}}}
|title = {{{group11<includeonly>|</includeonly>}}}{{{sect11|}}}
|title = {{{group11<includeonly>|</includeonly>}}}{{{sect11|}}}
Baris 2.421: Baris 1.357:
{{#if:{{{group12|}}}{{{sect12|}}}
{{#if:{{{group12|}}}{{{sect12|}}}
| {{Navbox|child
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr12}}} |uncollapsed |{{{state12|
|state = {{#ifeq:{{{selected}}}|{{{abbr12}}} |uncollapsed |{{{state12|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group12style|}}}

collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}

{{{group12style|}}}
|liststyle = {{{liststyle|}}}{{{list1style|}}}
|liststyle = {{{liststyle|}}}{{{list1style|}}}
|title = {{{group12<includeonly>|</includeonly>}}}{{{sect12|}}}
|title = {{{group12<includeonly>|</includeonly>}}}{{{sect12|}}}
Baris 2.464: Baris 1.396:
{{#if:{{{group1<includeonly>|</includeonly>}}}{{{sect1|}}}
{{#if:{{{group1<includeonly>|</includeonly>}}}{{{sect1|}}}
| {{Navbox|child
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr1}}} |uncollapsed |{{{state1|
|state = {{#ifeq:{{{selected}}}|{{{abbr1}}} |uncollapsed |{{{state1|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group1style|}}}

collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}

{{{group1style|}}}
|liststyle = {{{liststyle|}}}{{{list1style|}}}
|liststyle = {{{liststyle|}}}{{{list1style|}}}
|title = {{{group1<includeonly>|</includeonly>}}}{{{sect1|}}}
|title = {{{group1<includeonly>|</includeonly>}}}{{{sect1|}}}
Baris 2.483: Baris 1.411:
{{#if:{{{group2<includeonly>|</includeonly>}}}{{{sect2|}}}
{{#if:{{{group2<includeonly>|</includeonly>}}}{{{sect2|}}}
| {{Navbox|child
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr2}}} |uncollapsed |{{{state2|
|state = {{#ifeq:{{{selected}}}|{{{abbr2}}} |uncollapsed |{{{state2|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group2style|}}}

collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}

{{{group2style|}}}
|liststyle = {{{liststyle|}}}{{{list2style|}}}
|liststyle = {{{liststyle|}}}{{{list2style|}}}
|title = {{{group2<includeonly>|</includeonly>}}}{{{sect2|}}}
|title = {{{group2<includeonly>|</includeonly>}}}{{{sect2|}}}
Baris 2.502: Baris 1.426:
{{#if:{{{group3<includeonly>|</includeonly>}}}{{{sect3|}}}
{{#if:{{{group3<includeonly>|</includeonly>}}}{{{sect3|}}}
| {{Navbox|child
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr3}}} |uncollapsed |{{{state3|
|state = {{#ifeq:{{{selected}}}|{{{abbr3}}} |uncollapsed |{{{state3|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group3style|}}}

collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}

{{{group3style|}}}
|liststyle = {{{liststyle|}}}{{{list3style|}}}
|liststyle = {{{liststyle|}}}{{{list3style|}}}
|title = {{{group3<includeonly>|</includeonly>}}}{{{sect3|}}}
|title = {{{group3<includeonly>|</includeonly>}}}{{{sect3|}}}
Baris 2.521: Baris 1.441:
{{#if:{{{group4<includeonly>|</includeonly>}}}{{{sect4|}}}
{{#if:{{{group4<includeonly>|</includeonly>}}}{{{sect4|}}}
| {{Navbox|child
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr4}}} |uncollapsed |{{{state4|
|state = {{#ifeq:{{{selected}}}|{{{abbr4}}} |uncollapsed |{{{state4|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group4style|}}}

collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}

{{{group4style|}}}
|liststyle = {{{liststyle|}}}{{{list4style|}}}
|liststyle = {{{liststyle|}}}{{{list4style|}}}
|title = {{{group4<includeonly>|</includeonly>}}}{{{sect4|}}}
|title = {{{group4<includeonly>|</includeonly>}}}{{{sect4|}}}
Baris 2.540: Baris 1.456:
{{#if:{{{group5|}}}{{{sect5|}}}
{{#if:{{{group5|}}}{{{sect5|}}}
| {{Navbox|child
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr5}}} |uncollapsed |{{{state5|
|state = {{#ifeq:{{{selected}}}|{{{abbr5}}} |uncollapsed |{{{state5|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group5style|}}}

collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}

{{{group5style|}}}
|liststyle = {{{liststyle|}}}{{{list5style|}}}
|liststyle = {{{liststyle|}}}{{{list5style|}}}
|title = {{{group5<includeonly>|</includeonly>}}}{{{sect5|}}}
|title = {{{group5<includeonly>|</includeonly>}}}{{{sect5|}}}
Baris 2.559: Baris 1.471:
{{#if:{{{group6|}}}{{{sect6|}}}
{{#if:{{{group6|}}}{{{sect6|}}}
| {{Navbox|child
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr6}}} |uncollapsed |{{{state6|
|state = {{#ifeq:{{{selected}}}|{{{abbr6}}} |uncollapsed |{{{state6|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group6style|}}}

collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}

{{{group6style|}}}
|liststyle = {{{liststyle|}}}{{{list6style|}}}
|liststyle = {{{liststyle|}}}{{{list6style|}}}
|title = {{{group6<includeonly>|</includeonly>}}}{{{sect6|}}}
|title = {{{group6<includeonly>|</includeonly>}}}{{{sect6|}}}
Baris 2.578: Baris 1.486:
{{#if:{{{group7|}}}{{{sect7|}}}
{{#if:{{{group7|}}}{{{sect7|}}}
| {{Navbox|child
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr7}}} |uncollapsed |{{{state7|
|state = {{#ifeq:{{{selected}}}|{{{abbr7}}} |uncollapsed |{{{state7|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group7style|}}}

collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}

{{{group7style|}}}
|liststyle = {{{liststyle|}}}{{{list7style|}}}
|liststyle = {{{liststyle|}}}{{{list7style|}}}
|title = {{{group7<includeonly>|</includeonly>}}}{{{sect7|}}}
|title = {{{group7<includeonly>|</includeonly>}}}{{{sect7|}}}
Baris 2.597: Baris 1.501:
{{#if:{{{group8|}}}{{{sect8|}}}
{{#if:{{{group8|}}}{{{sect8|}}}
| {{Navbox|child
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr8}}} |uncollapsed |{{{state8|
|state = {{#ifeq:{{{selected}}}|{{{abbr8}}} |uncollapsed |{{{state8|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group8style|}}}

collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}

{{{group8style|}}}
|liststyle = {{{liststyle|}}}{{{list8style|}}}
|liststyle = {{{liststyle|}}}{{{list8style|}}}
|title = {{{group8<includeonly>|</includeonly>}}}{{{sect8|}}}
|title = {{{group8<includeonly>|</includeonly>}}}{{{sect8|}}}
Baris 2.616: Baris 1.516:
{{#if:{{{group9|}}}{{{sect9|}}}
{{#if:{{{group9|}}}{{{sect9|}}}
| {{Navbox|child
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr9}}} |uncollapsed |{{{state9|
|state = {{#ifeq:{{{selected}}}|{{{abbr9}}} |uncollapsed |{{{state9|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group9style|}}}

collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}

{{{group9style|}}}
|liststyle = {{{liststyle|}}}{{{list9style|}}}
|liststyle = {{{liststyle|}}}{{{list9style|}}}
|title = {{{group9<includeonly>|</includeonly>}}}{{{sect9|}}}
|title = {{{group9<includeonly>|</includeonly>}}}{{{sect9|}}}
Baris 2.635: Baris 1.531:
{{#if:{{{group10|}}}{{{sect10|}}}
{{#if:{{{group10|}}}{{{sect10|}}}
| {{Navbox|child
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr10}}} |uncollapsed |{{{state10|
|state = {{#ifeq:{{{selected}}}|{{{abbr10}}} |uncollapsed |{{{state10|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group10style|}}}

collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}

{{{group10style|}}}
|liststyle = {{{liststyle|}}}{{{list1style|}}}
|liststyle = {{{liststyle|}}}{{{list1style|}}}
|title = {{{group10<includeonly>|</includeonly>}}}{{{sect10|}}}
|title = {{{group10<includeonly>|</includeonly>}}}{{{sect10|}}}
Baris 2.654: Baris 1.546:
{{#if:{{{group11|}}}{{{sect11|}}}
{{#if:{{{group11|}}}{{{sect11|}}}
| {{Navbox|child
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr11}}} |uncollapsed |{{{state11|
|state = {{#ifeq:{{{selected}}}|{{{abbr11}}} |uncollapsed |{{{state11|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group11style|}}}

collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}

{{{group11style|}}}
|liststyle = {{{liststyle|}}}{{{list1style|}}}
|liststyle = {{{liststyle|}}}{{{list1style|}}}
|title = {{{group11<includeonly>|</includeonly>}}}{{{sect11|}}}
|title = {{{group11<includeonly>|</includeonly>}}}{{{sect11|}}}
Baris 2.674: Baris 1.562:
{{#if:{{{group12|}}}{{{sect12|}}}
{{#if:{{{group12|}}}{{{sect12|}}}
| {{Navbox|child
| {{Navbox|child
|state = {{#ifeq:{{{selected}}}|{{{abbr12}}} |uncollapsed |{{{state12|
|state = {{#ifeq:{{{selected}}}|{{{abbr12}}} |uncollapsed |{{{state12|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group12style|}}}

collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}

{{{group12style|}}}
|liststyle = {{{liststyle|}}}{{{list1style|}}}
|liststyle = {{{liststyle|}}}{{{list1style|}}}
|title = {{{group12<includeonly>|</includeonly>}}}{{{sect12|}}}
|title = {{{group12<includeonly>|</includeonly>}}}{{{sect12|}}}
Baris 2.695: Baris 1.579:


== Templat silsilah ==
== Templat silsilah ==
<div style="height: 500px; width: 100%; overflow: auto; padding: 3px;text-
<div style="height: 500px; width: 100%; overflow: auto; padding: 3px;text-align: left; border:1px solid black;" title="braglist - zum scrollen"; >
Templat familytree digunakan untuk membuat silsilah. Templat ini berasal dari en.wiki-indonesia.club/wiki/template:familytree.

align: left; border:1px solid black;" title="braglist - zum scrollen"; >
Templat familytree digunakan untuk membuat silsilah. Templat ini berasal

dari en.wiki-indonesia.club/wiki/template:familytree.


Contoh:<br>
Contoh:<br>
Baris 2.708: Baris 1.588:
{{familytree | | | | GRM |~|y|~| GRP | | GRM=Grandma|GRP=Grandpa}}
{{familytree | | | | GRM |~|y|~| GRP | | GRM=Grandma|GRP=Grandpa}}
{{familytree | | | | | | | |)|-|-|-|.| }}
{{familytree | | | | | | | |)|-|-|-|.| }}
{{familytree | | | MOM |y| DAD | |DAISY| MOM=Mom|DAD=Dad|DAISY=[[Aunt
{{familytree | | | MOM |y| DAD | |DAISY| MOM=Mom|DAD=Dad|DAISY=[[Aunt Daisy]]}}

Daisy]]}}
{{familytree | |,|-|-|-|+|-|-|-|.| | | }}
{{familytree | |,|-|-|-|+|-|-|-|.| | | }}
{{familytree | JOE | | ME | | SIS | | | JOE=My brother Joe|ME='''Me!'''|
{{familytree | JOE | | ME | | SIS | | | JOE=My brother Joe|ME='''Me!'''|SIS=My little sister}}

SIS=My little sister}}
{{familytree/end}}
{{familytree/end}}
</nowiki></pre>
</nowiki></pre>
Baris 2.721: Baris 1.597:
{{familytree | | | | GRM |~|y|~| GRP | | GRM=Grandma|GRP=Grandpa}}
{{familytree | | | | GRM |~|y|~| GRP | | GRM=Grandma|GRP=Grandpa}}
{{familytree | | | | | | | |)|-|-|-|.| }}
{{familytree | | | | | | | |)|-|-|-|.| }}
{{familytree | | | MOM |y| DAD | |DAISY| MOM=Mom|DAD=Dad|DAISY=[[Aunt
{{familytree | | | MOM |y| DAD | |DAISY| MOM=Mom|DAD=Dad|DAISY=[[Aunt Daisy]]}}

Daisy]]}}
{{familytree | |,|-|-|-|+|-|-|-|.| | | }}
{{familytree | |,|-|-|-|+|-|-|-|.| | | }}
{{familytree | JOE | | ME | | SIS | | | JOE=My brother Joe|ME='''Me!'''|
{{familytree | JOE | | ME | | SIS | | | JOE=My brother Joe|ME='''Me!'''|SIS=My little sister}}

SIS=My little sister}}
{{familytree/end}}
{{familytree/end}}


Baris 2.742: Baris 1.614:
|+ '''Utuh:'''
|+ '''Utuh:'''
|-
|-
| <big><tt>,</tt></big> ||style="border:1px solid gray"|
| <big><code>,</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|,}}{{familytree/end}}
| <big><code>v</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|v}}{{familytree/end}}

{{familytree/start}}{{familytree|,}}{{familytree/end}}
| <big><code>.</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|.}}{{familytree/end}}
| <big><tt>v</tt></big> ||style="border:1px solid gray"|

{{familytree/start}}{{familytree|v}}{{familytree/end}}
| <big><tt>.</tt></big> ||style="border:1px solid gray"|

{{familytree/start}}{{familytree|.}}{{familytree/end}}
|-
|-
| <big><tt>)</tt></big> ||style="border:1px solid gray"|
| <big><code>)</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|)}}{{familytree/end}}
| <big><code>+</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|+}}{{familytree/end}}

{{familytree/start}}{{familytree|)}}{{familytree/end}}
| <big><code>(</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|(}}{{familytree/end}}
| <big><tt>+</tt></big> ||style="border:1px solid gray"|

{{familytree/start}}{{familytree|+}}{{familytree/end}}
| <big><tt>(</tt></big> ||style="border:1px solid gray"|

{{familytree/start}}{{familytree|(}}{{familytree/end}}
|-
|-
| <big><tt>`</tt></big> ||style="border:1px solid gray"|
| <big><code>`</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|`}}{{familytree/end}}
| <big><code>^</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|^}}{{familytree/end}}

{{familytree/start}}{{familytree|`}}{{familytree/end}}
| <big><code>'</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|'}}{{familytree/end}}
| <big><tt>^</tt></big> ||style="border:1px solid gray"|

{{familytree/start}}{{familytree|^}}{{familytree/end}}
| <big><tt>'</tt></big> ||style="border:1px solid gray"|

{{familytree/start}}{{familytree|'}}{{familytree/end}}
|-
|-
| <big><tt>-</tt></big> ||style="border:1px solid gray"|
| <big><code>-</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|-}}{{familytree/end}}
| <big><code>!</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|!}}{{familytree/end}}

{{familytree/start}}{{familytree|-}}{{familytree/end}}
| <big><code> </code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree| }}{{familytree/end}}
| <big><tt>!</tt></big> ||style="border:1px solid gray"|

{{familytree/start}}{{familytree|!}}{{familytree/end}}
| <big><tt> </tt></big> ||style="border:1px solid gray"|

{{familytree/start}}{{familytree| }}{{familytree/end}}
|}
|}
{| style="float:left;margin-left:1em"
{| style="float:left;margin-left:1em"
|+ '''Putus-putus:'''
|+ '''Putus-putus:'''
|-
|-
| <big><tt>F</tt></big> ||style="border:1px solid gray"|
| <big><code>F</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|F}}{{familytree/end}}
| <big><code>V</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|V}}{{familytree/end}}

{{familytree/start}}{{familytree|F}}{{familytree/end}}
| <big><code>7</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|7}}{{familytree/end}}
| <big><tt>V</tt></big> ||style="border:1px solid gray"|

{{familytree/start}}{{familytree|V}}{{familytree/end}}
| <big><tt>7</tt></big> ||style="border:1px solid gray"|

{{familytree/start}}{{familytree|7}}{{familytree/end}}
|-
|-
| <big><tt>D</tt></big> ||style="border:1px solid gray"|
| <big><code>D</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|D}}{{familytree/end}}
| <big><code>%</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|%}}{{familytree/end}}

{{familytree/start}}{{familytree|D}}{{familytree/end}}
| <big><code>C</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|C}}{{familytree/end}}
| <big><tt>%</tt></big> ||style="border:1px solid gray"|

{{familytree/start}}{{familytree|%}}{{familytree/end}}
| <big><tt>C</tt></big> ||style="border:1px solid gray"|

{{familytree/start}}{{familytree|C}}{{familytree/end}}
|-
|-
| <big><tt>L</tt></big> ||style="border: 1px solid gray"|
| <big><code>L</code></big> ||style="border: 1px solid gray"| {{familytree/start}}{{familytree|L}}{{familytree/end}}
| <big><code>A</code></big> ||style="border: 1px solid gray"| {{familytree/start}}{{familytree|A}}{{familytree/end}}

{{familytree/start}}{{familytree|L}}{{familytree/end}}
| <big><code>J</code></big> ||style="border: 1px solid gray"| {{familytree/start}}{{familytree|J}}{{familytree/end}}
| <big><tt>A</tt></big> ||style="border: 1px solid gray"|

{{familytree/start}}{{familytree|A}}{{familytree/end}}
| <big><tt>J</tt></big> ||style="border: 1px solid gray"|

{{familytree/start}}{{familytree|J}}{{familytree/end}}
|-
|-
| <big><tt>~</tt></big> ||style="border:1px solid gray"|
| <big><code>~</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|~}}{{familytree/end}}
| <big><code>:</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|:}}{{familytree/end}}

{{familytree/start}}{{familytree|~}}{{familytree/end}}
| <big><code> </code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree| }}{{familytree/end}}
| <big><tt>:</tt></big> ||style="border:1px solid gray"|

{{familytree/start}}{{familytree|:}}{{familytree/end}}
| <big><tt> </tt></big> ||style="border:1px solid gray"|

{{familytree/start}}{{familytree| }}{{familytree/end}}
|}
|}
{|style="float:left;margin-left:1em"
{|style="float:left;margin-left:1em"
|+ '''Campur (1):'''
|+ '''Campur (1):'''
|-
|-
| <big><tt>r</tt></big> ||style="border:1px solid gray"|
| <big><code>r</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|r}}{{familytree/end}}
| <big><code>y</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|y}}{{familytree/end}}

{{familytree/start}}{{familytree|r}}{{familytree/end}}
| <big><code>n</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|n}}{{familytree/end}}
| <big><tt>y</tt></big> ||style="border:1px solid gray"|

{{familytree/start}}{{familytree|y}}{{familytree/end}}
| <big><tt>n</tt></big> ||style="border:1px solid gray"|

{{familytree/start}}{{familytree|n}}{{familytree/end}}
|-
|-
| <big><tt>]</tt></big> ||style="border:1px solid gray"|
| <big><code>]</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|]}}{{familytree/end}}
| <big><code>#</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|#}}{{familytree/end}}

{{familytree/start}}{{familytree|]}}{{familytree/end}}
| <big><code>[</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|[}}{{familytree/end}}
| <big><tt>#</tt></big> ||style="border:1px solid gray"|

{{familytree/start}}{{familytree|#}}{{familytree/end}}
| <big><tt>[</tt></big> ||style="border:1px solid gray"|

{{familytree/start}}{{familytree|[}}{{familytree/end}}
|-
|-
| <big><tt>c</tt></big> ||style="border:1px solid gray"|
| <big><code>c</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|c}}{{familytree/end}}
| <big><code>h</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|h}}{{familytree/end}}

{{familytree/start}}{{familytree|c}}{{familytree/end}}
| <big><code>j</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|j}}{{familytree/end}}
| <big><tt>h</tt></big> ||style="border:1px solid gray"|

{{familytree/start}}{{familytree|h}}{{familytree/end}}
| <big><tt>j</tt></big> ||style="border:1px solid gray"|

{{familytree/start}}{{familytree|j}}{{familytree/end}}
|-
|-
| <big><tt>~</tt></big> ||style="border:1px solid gray"|
| <big><code>~</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|~}}{{familytree/end}}
| <big><code>!</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|!}}{{familytree/end}}

{{familytree/start}}{{familytree|~}}{{familytree/end}}
| <big><code> </code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree| }}{{familytree/end}}
| <big><tt>!</tt></big> ||style="border:1px solid gray"|

{{familytree/start}}{{familytree|!}}{{familytree/end}}
| <big><tt> </tt></big> ||style="border:1px solid gray"|

{{familytree/start}}{{familytree| }}{{familytree/end}}
|}
|}
{|style="float:left;margin-left:1em"
{|style="float:left;margin-left:1em"
|+ '''Campur (2):'''
|+ '''Campur (2):'''
|-
|-
| <big><tt>p</tt></big> ||style="border:1px solid gray"|
| <big><code>p</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|p}}{{familytree/end}}
| <big><code>u</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|u}}{{familytree/end}}

{{familytree/start}}{{familytree|p}}{{familytree/end}}
| <big><code>q</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|q}}{{familytree/end}}
| <big><tt>u</tt></big> ||style="border:1px solid gray"|

{{familytree/start}}{{familytree|u}}{{familytree/end}}
| <big><tt>q</tt></big> ||style="border:1px solid gray"|

{{familytree/start}}{{familytree|q}}{{familytree/end}}
|-
|-
| <big><tt>}</tt></big> ||style="border:1px solid gray"|
| <big><code>}</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|}|}}{{familytree/end}}
| <big><code>*</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|*}}{{familytree/end}}

{{familytree/start}}{{familytree|}|}}{{familytree/end}}
| <big><code>{</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|{|}}{{familytree/end}}
| <big><tt>*</tt></big> ||style="border:1px solid gray"|

{{familytree/start}}{{familytree|*}}{{familytree/end}}
| <big><tt>{</tt></big> ||style="border:1px solid gray"|

{{familytree/start}}{{familytree|{|}}{{familytree/end}}
|-
|-
| <big><tt>b</tt></big> ||style="border:1px solid gray"|
| <big><code>b</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|b}}{{familytree/end}}
| <big><code>t</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|t|}}{{familytree/end}}

{{familytree/start}}{{familytree|b}}{{familytree/end}}
| <big><code>d</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|d}}{{familytree/end}}
| <big><tt>t</tt></big> ||style="border:1px solid gray"|

{{familytree/start}}{{familytree|t|}}{{familytree/end}}
| <big><tt>d</tt></big> ||style="border:1px solid gray"|

{{familytree/start}}{{familytree|d}}{{familytree/end}}
|-
|-
| <big><tt>-</tt></big> ||style="border:1px solid gray"|
| <big><code>-</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|-}}{{familytree/end}}
| <big><code>:</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|:}}{{familytree/end}}

{{familytree/start}}{{familytree|-}}{{familytree/end}}
| <big><code> </code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree| }}{{familytree/end}}
| <big><tt>:</tt></big> ||style="border:1px solid gray"|

{{familytree/start}}{{familytree|:}}{{familytree/end}}
| <big><tt> </tt></big> ||style="border:1px solid gray"|

{{familytree/start}}{{familytree| }}{{familytree/end}}
|}
|}
{|style="float:left;margin-left:1em"
{|style="float:left;margin-left:1em"
|+ '''Lainnya:'''<!-- this subset is an insufficient set or questionable:
|+ '''Lainnya:'''<!-- this subset is an insufficient set or questionable: -->

-->
|-
|-
| ||
| ||
| <big><tt>T</tt></big> ||style="border:1px solid gray"|
| <big><code>T</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|T}}{{familytree/end}}

{{familytree/start}}{{familytree|T}}{{familytree/end}}
|-
|-
| <big><tt>G</tt></big> ||style="border:1px solid gray"|
| <big><code>G</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|G}}{{familytree/end}}
| <big><code>X</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|X}}{{familytree/end}}

{{familytree/start}}{{familytree|G}}{{familytree/end}}
| <big><code>K</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|K}}{{familytree/end}}
| <big><tt>X</tt></big> ||style="border:1px solid gray"|
| <big><code>k</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|k}}{{familytree/end}}

{{familytree/start}}{{familytree|X}}{{familytree/end}}
| <big><tt>K</tt></big> ||style="border:1px solid gray"|

{{familytree/start}}{{familytree|K}}{{familytree/end}}
| <big><tt>k</tt></big> ||style="border:1px solid gray"|

{{familytree/start}}{{familytree|k}}{{familytree/end}}
|-
|-
| ||
| ||
| <big><tt>U</tt></big> ||style="border:1px solid gray"|
| <big><code>U</code></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|U}}{{familytree/end}}

{{familytree/start}}{{familytree|U}}{{familytree/end}}
|}
|}
<br clear="left" />
<br clear="left" />
Baris 2.945: Baris 1.707:
<pre><nowiki>
<pre><nowiki>
{{familytree/start}}
{{familytree/start}}
{{familytree|border=0|boxstyle=background:#dfd;| | FOO |y| BAR | |FOO=Box
{{familytree|border=0|boxstyle=background:#dfd;| | FOO |y| BAR | |FOO=Box 1|BAR=Box 2}}

1|BAR=Box 2}}
{{familytree|border=0|boxstyle=background:#dfd;| | |,|-|^|-|.| | }}
{{familytree|border=0|boxstyle=background:#dfd;| | |,|-|^|-|.| | }}
{{familytree|border=0|boxstyle=background:#dfd;| | FOO | | BAR | |FOO=Box
{{familytree|border=0|boxstyle=background:#dfd;| | FOO | | BAR | |FOO=Box 3|BAR=Box 4}}

3|BAR=Box 4}}
{{familytree/end}}
{{familytree/end}}
</nowiki></pre>
</nowiki></pre>
Baris 2.958: Baris 1.716:


{{familytree/start}}
{{familytree/start}}
{{familytree|border=0|boxstyle=background:#dfd;| | FOO |y| BAR | |FOO=Box
{{familytree|border=0|boxstyle=background:#dfd;| | FOO |y| BAR | |FOO=Box 1|BAR=Box 2}}

1|BAR=Box 2}}
{{familytree|border=0|boxstyle=background:#dfd;| | |,|-|^|-|.| | }}
{{familytree|border=0|boxstyle=background:#dfd;| | |,|-|^|-|.| | }}
{{familytree|border=0|boxstyle=background:#dfd;| | FOO | | BAR | |FOO=Box
{{familytree|border=0|boxstyle=background:#dfd;| | FOO | | BAR | |FOO=Box 3|BAR=Box 4}}

3|BAR=Box 4}}
{{familytree/end}}
{{familytree/end}}



kode:
kode:
<pre style="overflow:auto;">
<pre style="overflow:auto;">
{{familytree/start |White box with three children Red box, Green box, Blue
{{familytree/start |White box with three children Red box, Green box, Blue box, all married to each other}}

box, all married to each other}}
{{familytree| | | | |WHITE| | | | |WHITE=White box}}
{{familytree| | | | |WHITE| | | | |WHITE=White box}}
{{familytree| |,|-|-|'|!|`|-|-|.| }}
{{familytree| |,|-|-|'|!|`|-|-|.| }}
Baris 2.985: Baris 1.736:
menghasilkan:
menghasilkan:


{{familytree/start |White box with three children Red box, Green box, Blue
{{familytree/start |White box with three children Red box, Green box, Blue box, all married to each other}}

box, all married to each other}}
{{familytree| | | | |WHITE| | | | |WHITE=White box}}
{{familytree| | | | |WHITE| | | | |WHITE=White box}}
{{familytree| |,|-|-|'|!|`|-|-|.| }}
{{familytree| |,|-|-|'|!|`|-|-|.| }}
Baris 3.004: Baris 1.753:
|- valign="top" width="100%"
|- valign="top" width="100%"
|
|
{|border="0"
{|
!style="background:lightgrey;" | Nama Warna
!style="background:lightgrey;" | Nama Warna
!colspan=1 style="background:lightgrey;"| kode Hex<br />RGB
!colspan=1 style="background:lightgrey;"| kode Hex<br />RGB
!colspan=1 style="background:lightgrey;"| kode Desimal<br />RGB
!colspan=1 style="background:lightgrey;"| kode Desimal<br />RGB
Baris 3.063: Baris 1.812:
|Yellow ||FF FF 00||255 255 0
|Yellow ||FF FF 00||255 255 0
|- style="background:lightyellow; color:black;"
|- style="background:lightyellow; color:black;"
|LightYellow ||FF FF E0||255 255 224
|LightYellow ||FF FF E0||255 255 224
|- style="background:lemonchiffon; color:black;"
|- style="background:lemonchiffon; color:black;"
|LemonChiffon ||FF FA CD||255 250 205
|LemonChiffon ||FF FA CD||255 250 205
|- style="background:lightgoldenrodyellow; color:black;"
|- style="background:lightgoldenrodyellow; color:black;"
|LightGoldenrodYellow||FA FA D2||250 250 210
|LightGoldenrodYellow||FA FA D2||250 250 210
|- style="background:papayawhip; color:black;"
|- style="background:papayawhip; color:black;"
|PapayaWhip ||FF EF D5||255 239 213
|PapayaWhip ||FF EF D5||255 239 213
|- style="background:moccasin; color:black;"
|- style="background:moccasin; color:black;"
|Moccasin ||FF E4 B5||255 228 181
|Moccasin ||FF E4 B5||255 228 181
|- style="background:peachpuff; color:black;"
|- style="background:peachpuff; color:black;"
|PeachPuff ||FF DA B9||255 218 185
|PeachPuff ||FF DA B9||255 218 185
|- style="background:palegoldenrod; color:black;"
|- style="background:palegoldenrod; color:black;"
|PaleGoldenrod ||EE E8 AA||238 232 170
|PaleGoldenrod ||EE E8 AA||238 232 170
|- style="background:khaki; color:black;"
|- style="background:khaki; color:black;"
|Khaki ||F0 E6 8C||240 230 140
|Khaki ||F0 E6 8C||240 230 140
|- style="background:darkkhaki; color:white;"
|- style="background:darkkhaki; color:white;"
|DarkKhaki ||BD B7 6B||189 183 107
|DarkKhaki ||BD B7 6B||189 183 107
|-
|-
|colspan=3; style="background:whitesmoke; color:slategray; text-align:left;"|<big>'''Warna dasar Ungu'''</big>
|colspan=3; style="background:whitesmoke; color:slategray; text-align:left;"|<big>'''Warna dasar Ungu'''</big>
|- style="background:lavender; color:black;"
|- style="background:lavender; color:black;"
|Lavender ||E6 E6 FA||230 230 250
|Lavender ||E6 E6 FA||230 230 250
|- style="background:thistle; color:white;"
|- style="background:thistle; color:white;"
|Thistle ||D8 BF D8||216 191 216
|Thistle ||D8 BF D8||216 191 216
|- style="background:plum; color:white;"
|- style="background:plum; color:white;"
|Plum ||DD A0 DD||221 160 221
|Plum ||DD A0 DD||221 160 221
|- style="background:violet; color:white;"
|- style="background:violet; color:white;"
|Violet ||EE 82 EE||238 130 238
|Violet ||EE 82 EE||238 130 238
|- style="background:orchid; color:white;"
|- style="background:orchid; color:white;"
|Orchid ||DA 70 D6||218 112 214
|Orchid ||DA 70 D6||218 112 214
|- style="background:fuchsia; color:white;"
|- style="background:fuchsia; color:white;"
|Fuchsia ||FF 00 FF||255 0 255
|Fuchsia ||FF 00 FF||255 0 255
|- style="background:magenta; color:white;"
|- style="background:magenta; color:white;"
|Magenta||FF 00 FF||255 0 255
|Magenta||FF 00 FF||255 0 255
|- style="background:mediumorchid; color:white;"
|- style="background:mediumorchid; color:white;"
|MediumOrchid ||BA 55 D3||186 85 211
|MediumOrchid ||BA 55 D3||186 85 211
|- style="background:mediumpurple; color:white;"
|- style="background:mediumpurple; color:white;"
|MediumPurple ||93 70 DB||147 112 219
|MediumPurple ||93 70 DB||147 112 219
|- style="background:blueviolet; color:white;"
|- style="background:blueviolet; color:white;"
|BlueViolet ||8A 2B E2||138 43 226
|BlueViolet ||8A 2B E2||138 43 226
|- style="background:darkviolet; color:white;"
|- style="background:darkviolet; color:white;"
|DarkViolet ||94 00 D3||148 0 211
|DarkViolet ||94 00 D3||148 0 211
|- style="background:darkorchid; color:white;"
|- style="background:darkorchid; color:white;"
|DarkOrchid ||99 32 CC||153 50 204
|DarkOrchid ||99 32 CC||153 50 204
|- style="background:darkmagenta; color:white;"
|- style="background:darkmagenta; color:white;"
|DarkMagenta ||8B 00 8B||139 0 139
|DarkMagenta ||8B 00 8B||139 0 139
|- style="background:purple; color:white;"
|- style="background:purple; color:white;"
|Purple ||80 00 80||128 0 128
|Purple ||80 00 80||128 0 128
|- style="background:indigo; color:white;"
|- style="background:indigo; color:white;"
|Indigo ||4B 00 82|| 75 0 130
|Indigo ||4B 00 82|| 75 0 130
|- style="background:slateblue; color:white;"
|- style="background:slateblue; color:white;"
|SlateBlue ||6A 5A CD||106 90 205
|SlateBlue ||6A 5A CD||106 90 205
Baris 3.119: Baris 1.868:
|colspan=3; style="background:whitesmoke; color:slategray; text-align:left;"|<big>'''Warna dasar Hijau'''</big>
|colspan=3; style="background:whitesmoke; color:slategray; text-align:left;"|<big>'''Warna dasar Hijau'''</big>
|- style="background:greenyellow; color:black;"
|- style="background:greenyellow; color:black;"
|GreenYellow ||AD FF 2F||173 255 47
|GreenYellow ||AD FF 2F||173 255 47
|- style="background:chartreuse; color:black;"
|- style="background:chartreuse; color:black;"
|Chartreuse ||7F FF 00||127 255 0
|Chartreuse ||7F FF 00||127 255 0
|- style="background:lawngreen; color:black;"
|- style="background:lawngreen; color:black;"
|LawnGreen ||7C FC 00||124 252 0
|LawnGreen ||7C FC 00||124 252 0
|- style="background:lime; color:black;"
|- style="background:lime; color:black;"
|Lime ||00 FF 00|| 0 255 0
|Lime ||00 FF 00|| 0 255 0
|- style="background:limegreen; color:black;"
|- style="background:limegreen; color:black;"
|LimeGreen ||32 CD 32|| 50 205 50
|LimeGreen ||32 CD 32|| 50 205 50
|- style="background:palegreen; color:black;"
|- style="background:palegreen; color:black;"
|PaleGreen ||98 FB 98||152 251 152
|PaleGreen ||98 FB 98||152 251 152
|- style="background:lightgreen; color:black;"
|- style="background:lightgreen; color:black;"
|LightGreen ||90 EE 90||144 238 144
|LightGreen ||90 EE 90||144 238 144
|- style="background:mediumspringgreen; color:black;"
|- style="background:mediumspringgreen; color:black;"
|MediumSpringGreen||00 FA 9A|| 0 250 154
|MediumSpringGreen||00 FA 9A|| 0 250 154
|- style="background:springgreen; color:black;"
|- style="background:springgreen; color:black;"
|SpringGreen ||00 FF 7F|| 0 255 127
|SpringGreen ||00 FF 7F|| 0 255 127
|- style="background:mediumseagreen; color:white;"
|- style="background:mediumseagreen; color:white;"
|MediumSeaGreen ||3C B3 71|| 60 179 113
|MediumSeaGreen ||3C B3 71|| 60 179 113
|- style="background:seagreen; color:white;"
|- style="background:seagreen; color:white;"
|SeaGreen ||2E 8B 57|| 46 139 87
|SeaGreen ||2E 8B 57|| 46 139 87
|- style="background:forestgreen; color:white;"
|- style="background:forestgreen; color:white;"
|ForestGreen ||22 8B 22|| 34 139 34
|ForestGreen ||22 8B 22|| 34 139 34
|- style="background:green; color:white;"
|- style="background:green; color:white;"
|Green ||00 80 00|| 0 128 0
|Green ||00 80 00|| 0 128 0
|- style="background:darkgreen; color:white;"
|- style="background:darkgreen; color:white;"
|DarkGreen ||00 64 00|| 0 100 0
|DarkGreen ||00 64 00|| 0 100 0
|- style="background:yellowgreen; color:white;"
|- style="background:yellowgreen; color:white;"
|YellowGreen ||9A CD 32||154 205 50
|YellowGreen ||9A CD 32||154 205 50
|- style="background:olivedrab; color:white;"
|- style="background:olivedrab; color:white;"
|OliveDrab ||6B 8E 23||107 142 35
|OliveDrab ||6B 8E 23||107 142 35
|- style="background:olive; color:white;"
|- style="background:olive; color:white;"
|Olive ||80 80 00||128 128 0
|Olive ||80 80 00||128 128 0
|- style="background:darkolivegreen; color:white;"
|- style="background:darkolivegreen; color:white;"
|DarkOliveGreen ||55 6B 2F|| 85 107 47
|DarkOliveGreen ||55 6B 2F|| 85 107 47
|- style="background:mediumaquamarine; color:black;"
|- style="background:mediumaquamarine; color:black;"
|MediumAquamarine||66 CD AA||102 205 170
|MediumAquamarine||66 CD AA||102 205 170
|- style="background:darkseagreen; color:white;"
|- style="background:darkseagreen; color:white;"
|DarkSeaGreen ||8F BC 8F||143 188 143
|DarkSeaGreen ||8F BC 8F||143 188 143
|- style="background:lightseagreen; color:white;"
|- style="background:lightseagreen; color:white;"
|LightSeaGreen ||20 B2 AA|| 32 178 170
|LightSeaGreen ||20 B2 AA|| 32 178 170
|- style="background:darkcyan; color:white;"
|- style="background:darkcyan; color:white;"
|DarkCyan ||00 8B 8B|| 0 139 139
|DarkCyan ||00 8B 8B|| 0 139 139
|- style="background:teal; color:white;"
|- style="background:teal; color:white;"
|Teal ||00 80 80|| 0 128 128
|Teal ||00 80 80|| 0 128 128
|-
|-
|}
|}
|
|
{|
{|
!style="background:lightgrey;" | Nama Warna
!style="background:lightgrey;" | Nama Warna
!colspan=1 style="background:lightgrey;"| kode Hex<br />RGB
!colspan=1 style="background:lightgrey;"| kode Hex<br />RGB
!colspan=1 style="background:lightgrey;"| kode Desimal<br />RGB
!colspan=1 style="background:lightgrey;"| kode Desimal<br />RGB
Baris 3.178: Baris 1.927:
|Cyan ||00 FF FF|| 0 255 255
|Cyan ||00 FF FF|| 0 255 255
|- style="background:lightcyan; color:black;"
|- style="background:lightcyan; color:black;"
|LightCyan ||E0 FF FF||224 255 255
|LightCyan ||E0 FF FF||224 255 255
|- style="background:paleturquoise; color:black;"
|- style="background:paleturquoise; color:black;"
|PaleTurquoise ||AF EE EE||175 238 238
|PaleTurquoise ||AF EE EE||175 238 238
|- style="background:aquamarine; color:black;"
|- style="background:aquamarine; color:black;"
|Aquamarine ||7F FF D4||127 255 212
|Aquamarine ||7F FF D4||127 255 212
|- style="background:turquoise; color:black;"
|- style="background:turquoise; color:black;"
|Turquoise ||40 E0 D0|| 64 224 208
|Turquoise ||40 E0 D0|| 64 224 208
|- style="background:mediumturquoise; color:white;"
|- style="background:mediumturquoise; color:white;"
|MediumTurquoise ||48 D1 CC|| 72 209 204
|MediumTurquoise ||48 D1 CC|| 72 209 204
|- style="background:darkturquoise; color:white;"
|- style="background:darkturquoise; color:white;"
|DarkTurquoise||00 CE D1|| 0 206 209
|DarkTurquoise||00 CE D1|| 0 206 209
|- style="background:cadetblue; color:white;"
|- style="background:cadetblue; color:white;"
|CadetBlue ||5F 9E A0|| 95 158 160
|CadetBlue ||5F 9E A0|| 95 158 160
|- style="background:steelblue; color:white;"
|- style="background:steelblue; color:white;"
|SteelBlue ||46 82 B4|| 70 130 180
|SteelBlue ||46 82 B4|| 70 130 180
|- style="background:lightsteelblue; color:black;"
|- style="background:lightsteelblue; color:black;"
|LightSteelBlue ||B0 C4 DE||176 196 222
|LightSteelBlue ||B0 C4 DE||176 196 222
|- style="background:powderblue; color:black;"
|- style="background:powderblue; color:black;"
|PowderBlue ||B0 E0 E6||176 224 230
|PowderBlue ||B0 E0 E6||176 224 230
|- style="background:lightblue; color:black;"
|- style="background:lightblue; color:black;"
|LightBlue ||AD D8 E6||173 216 230
|LightBlue ||AD D8 E6||173 216 230
|- style="background:skyblue; color:black;"
|- style="background:skyblue; color:black;"
|SkyBlue ||87 CE EB||135 206 235
|SkyBlue ||87 CE EB||135 206 235
|- style="background:lightskyblue; color:black;"
|- style="background:lightskyblue; color:black;"
|LightSkyBlue||87 CE FA||135 206 250
|LightSkyBlue||87 CE FA||135 206 250
|- style="background:deepskyblue; color:white;"
|- style="background:deepskyblue; color:white;"
|DeepSkyBlue ||00 BF FF|| 0 191 255
|DeepSkyBlue ||00 BF FF|| 0 191 255
|- style="background:dodgerblue; color:white;"
|- style="background:dodgerblue; color:white;"
|DodgerBlue ||1E 90 FF|| 30 144 255
|DodgerBlue ||1E 90 FF|| 30 144 255
Baris 3.210: Baris 1.959:
|CornflowerBlue||64 95 ED||100 149 237
|CornflowerBlue||64 95 ED||100 149 237
|- style="background:mediumslateblue; color:white;"
|- style="background:mediumslateblue; color:white;"
|MediumSlateBlue||7B 68 EE||123 104 238
|MediumSlateBlue||7B 68 EE||123 104 238
|- style="background:royalblue; color:white;"
|- style="background:royalblue; color:white;"
|RoyalBlue ||41 69 E1|| 65 105 225
|RoyalBlue ||41 69 E1|| 65 105 225
|- style="background:blue; color:white;"
|- style="background:blue; color:white;"
|Blue ||00 00 FF|| 0 0 255
|Blue ||00 00 FF|| 0 0 255
|- style="background:mediumblue; color:white;"
|- style="background:mediumblue; color:white;"
|MediumBlue ||00 00 CD|| 0 0 205
|MediumBlue ||00 00 CD|| 0 0 205
|- style="background:darkblue; color:white;"
|- style="background:darkblue; color:white;"
|DarkBlue ||00 00 8B|| 0 0 139
|DarkBlue ||00 00 8B|| 0 0 139
|- style="background:navy; color:white;"
|- style="background:navy; color:white;"
|Navy ||00 00 80|| 0 0 128
|Navy ||00 00 80|| 0 0 128
|- style="background:midnightblue; color:white;"
|- style="background:midnightblue; color:white;"
|MidnightBlue ||19 19 70|| 25 25 112
|MidnightBlue ||19 19 70|| 25 25 112
|-
|-
|colspan=3; style="background:whitesmoke; color:slategray; text-align:left;"|<big>'''Warna dasar Coklat'''</big>
|colspan=3; style="background:whitesmoke; color:slategray; text-align:left;"|<big>'''Warna dasar Coklat'''</big>
|- style="background:cornsilk; color:black;"
|- style="background:cornsilk; color:black;"
|Cornsilk ||FF F8 DC||255 248 220
|Cornsilk ||FF F8 DC||255 248 220
|- style="background:blanchedalmond; color:black;"
|- style="background:blanchedalmond; color:black;"
|BlanchedAlmond ||FF EB CD||255 235 205
|BlanchedAlmond ||FF EB CD||255 235 205
|- style="background:bisque; color:black;"
|- style="background:bisque; color:black;"
|Bisque ||FF E4 C4||255 228 196
|Bisque ||FF E4 C4||255 228 196
|- style="background:navajowhite; color:black;"
|- style="background:navajowhite; color:black;"
|NavajoWhite ||FF DE AD||255 222 173
|NavajoWhite ||FF DE AD||255 222 173
|- style="background:wheat; color:black;"
|- style="background:wheat; color:black;"
|Wheat ||F5 DE B3||245 222 179
|Wheat ||F5 DE B3||245 222 179
|- style="background:burlywood; color:white;"
|- style="background:burlywood; color:white;"
|BurlyWood ||DE B8 87||222 184 135
|BurlyWood ||DE B8 87||222 184 135
|- style="background:tan; color:white;"
|- style="background:tan; color:white;"
|Tan ||D2 B4 8C||210 180 140
|Tan ||D2 B4 8C||210 180 140
|- style="background:rosybrown; color:white;"
|- style="background:rosybrown; color:white;"
|RosyBrown ||BC 8F 8F||188 143 143
|RosyBrown ||BC 8F 8F||188 143 143
|- style="background:sandybrown; color:white;"
|- style="background:sandybrown; color:white;"
|SandyBrown ||F4 A4 60||244 164 96
|SandyBrown ||F4 A4 60||244 164 96
|- style="background:goldenrod; color:white;"
|- style="background:goldenrod; color:white;"
|Goldenrod ||DA A5 20||218 165 32
|Goldenrod ||DA A5 20||218 165 32
|- style="background:darkgoldenrod; color:white;"
|- style="background:darkgoldenrod; color:white;"
|DarkGoldenrod ||B8 86 0B||184 134 11
|DarkGoldenrod ||B8 86 0B||184 134 11
|- style="background:peru; color:white;"
|- style="background:peru; color:white;"
|Peru ||CD 85 3F||205 133 63
|Peru ||CD 85 3F||205 133 63
|- style="background:chocolate; color:white;"
|- style="background:chocolate; color:white;"
|Chocolate ||D2 69 1E||210 105 30
|Chocolate ||D2 69 1E||210 105 30
|- style="background:saddlebrown; color:white;"
|- style="background:saddlebrown; color:white;"
|SaddleBrown ||8B 45 13||139 69 19
|SaddleBrown ||8B 45 13||139 69 19
|- style="background:sienna; color:white;"
|- style="background:sienna; color:white;"
|Sienna ||A0 52 2D||160 82 45
|Sienna ||A0 52 2D||160 82 45
|- style="background:brown; color:white;"
|- style="background:brown; color:white;"
|Brown ||A5 2A 2A||165 42 42
|Brown ||A5 2A 2A||165 42 42
|- style="background:maroon; color:white;"
|- style="background:maroon; color:white;"
|Maroon ||80 00 00||128 0 0
|Maroon ||80 00 00||128 0 0
Baris 3.262: Baris 2.011:
|colspan=3; style="background:whitesmoke; color:slategray; text-align:left;"|<big>'''Warna dasar Putih'''</big>
|colspan=3; style="background:whitesmoke; color:slategray; text-align:left;"|<big>'''Warna dasar Putih'''</big>
|- style="background:white; color:black;"
|- style="background:white; color:black;"
|White ||FF FF FF||255 255 255
|White ||FF FF FF||255 255 255
|- style="background:snow; color:black;"
|- style="background:snow; color:black;"
|Snow ||FF FA FA||255 250 250
|Snow ||FF FA FA||255 250 250
|- style="background:honeydew; color:black;"
|- style="background:honeydew; color:black;"
|Honeydew ||F0 FF F0||240 255 240
|Honeydew ||F0 FF F0||240 255 240
|- style="background:mintcream; color:black;"
|- style="background:mintcream; color:black;"
|MintCream ||F5 FF FA||245 255 250
|MintCream ||F5 FF FA||245 255 250
|- style="background:azure; color:black;"
|- style="background:azure; color:black;"
|Azure ||F0 FF FF||240 255 255
|Azure ||F0 FF FF||240 255 255
|- style="background:aliceblue; color:black;"
|- style="background:aliceblue; color:black;"
|AliceBlue ||F0 F8 FF||240 248 255
|AliceBlue ||F0 F8 FF||240 248 255
|- style="background:ghostwhite; color:black;"
|- style="background:ghostwhite; color:black;"
|GhostWhite ||F8 F8 FF||248 248 255
|GhostWhite ||F8 F8 FF||248 248 255
|- style="background:whitesmoke; color:black;"
|- style="background:whitesmoke; color:black;"
|WhiteSmoke ||F5 F5 F5||245 245 245
|WhiteSmoke ||F5 F5 F5||245 245 245
|- style="background:seashell; color:black;"
|- style="background:seashell; color:black;"
|Seashell ||FF F5 EE||255 245 238
|Seashell ||FF F5 EE||255 245 238
|- style="background:beige; color:black;"
|- style="background:beige; color:black;"
|Beige ||F5 F5 DC||245 245 220
|Beige ||F5 F5 DC||245 245 220
|- style="background:oldlace; color:black;"
|- style="background:oldlace; color:black;"
|OldLace ||FD F5 E6||253 245 230
|OldLace ||FD F5 E6||253 245 230
|- style="background:floralwhite; color:black;"
|- style="background:floralwhite; color:black;"
|FloralWhite ||FF FA F0||255 250 240
|FloralWhite ||FF FA F0||255 250 240
|- style="background:ivory; color:black;"
|- style="background:ivory; color:black;"
|Ivory ||FF FF F0||255 255 240
|Ivory ||FF FF F0||255 255 240
|- style="background:antiquewhite; color:black;"
|- style="background:antiquewhite; color:black;"
|AntiqueWhite ||FA EB D7||250 235 215
|AntiqueWhite ||FA EB D7||250 235 215
|- style="background:linen; color:black;"
|- style="background:linen; color:black;"
|Linen ||FA F0 E6||250 240 230
|Linen ||FA F0 E6||250 240 230
|- style="background:lavenderblush; color:black;"
|- style="background:lavenderblush; color:black;"
|LavenderBlush ||FF F0 F5||255 240 245
|LavenderBlush ||FF F0 F5||255 240 245
|- style="background:mistyrose; color:black;"
|- style="background:mistyrose; color:black;"
|MistyRose ||FF E4 E1||255 228 225
|MistyRose ||FF E4 E1||255 228 225
|-
|-
|colspan=3; style="background:whitesmoke; color:slategray; text-align:left;"|<big>'''Warna dasar Abu-abu'''</big>
|colspan=3; style="background:whitesmoke; color:slategray; text-align:left;"|<big>'''Warna dasar Abu-abu'''</big>
|- style="background:gainsboro; color:black;"
|- style="background:gainsboro; color:black;"
|Gainsboro ||DC DC DC||220 220 220
|Gainsboro ||DC DC DC||220 220 220
|- style="background:lightgrey; color:black;"
|- style="background:lightgrey; color:black;"
|LightGrey ||D3 D3 D3||211 211 211
|LightGrey ||D3 D3 D3||211 211 211
|- style="background:silver; color:black;"
|- style="background:silver; color:black;"
|Silver ||C0 C0 C0||192 192 192
|Silver ||C0 C0 C0||192 192 192
|- style="background:darkgray; color:black;"
|- style="background:darkgray; color:black;"
|DarkGray ||A9 A9 A9||169 169 169
|DarkGray ||A9 A9 A9||169 169 169
|- style="background:gray; color:white;"
|- style="background:gray; color:white;"
|Gray ||80 80 80||128 128 128
|Gray ||80 80 80||128 128 128
|- style="background:dimgray; color:white;"
|- style="background:dimgray; color:white;"
|DimGray ||69 69 69||105 105 105
|DimGray ||69 69 69||105 105 105
|- style="background:lightslategray; color:white;"
|- style="background:lightslategray; color:white;"
|LightSlateGray ||77 88 99||119 136 153
|LightSlateGray ||77 88 99||119 136 153
|- style="background:slategray; color:white;"
|- style="background:slategray; color:white;"
|SlateGray ||70 80 90||112 128 144
|SlateGray ||70 80 90||112 128 144
|- style="background:darkslategray; color:white;"
|- style="background:darkslategray; color:white;"
|DarkSlateGray ||2F 4F 4F|| 47 79 79
|DarkSlateGray ||2F 4F 4F|| 47 79 79
|- style="background:black; color:white;"
|- style="background:black; color:white;"
|Black ||00 00 00|| 0 0 0
|Black ||00 00 00|| 0 0 0
|}
|}
|-
|-
Baris 3.324: Baris 2.073:


== Magic words ==
== Magic words ==
<div style="height: 500px; width: 100%; overflow: auto; padding: 3px;text-
<div style="height: 500px; width: 100%; overflow: auto; padding: 3px;text-align: left; border:1px solid black;">

align: left; border:1px solid black;">
==General information==
==General information==
There are three types of magic words:
There are three types of magic words:
*'''Behavior switches:''' uppercase words surrounded by double underscores,
*'''Behavior switches:''' uppercase words surrounded by double underscores, e.g. <code><nowiki>__NOTOC__</nowiki></code>, or keywords using parser function syntax
*'''Variables:''' uppercase words surrounded by double braces, e.g. <code><nowiki>{{PAGENAME}}</nowiki></code> (thus resembling [[Help:Templates|templates]])
*'''Parser functions:''' keywords (some beginning #) in double braces with parameters after a colon, e.g. <code><nowiki>{{#expr:2+2}}</nowiki></code>


Some magic words are case-insensitive, but not all. Whitespace is stripped from the start and end of keywords and parameters, as in template syntax.
e.g. <tt><nowiki>__NOTOC__</nowiki></tt>, or keywords using parser function


Page-dependent magic words will affect or return data about the ''current'' page, even if the word is added through a transcluded template or included system message.
syntax
*'''Variables:''' uppercase words surrounded by double braces, e.g.


It is possible to [[Help:Substitution|substitute]] parser functions and variables in the same way that templates are substituted (using the <code>subst:</code> keyword). This causes their current value (as evaluated at the time of substitution) to be written into the wikitext.
<tt><nowiki>{{PAGENAME}}</nowiki></tt> (thus resembling [[Help:Templates|

templates]])
*'''Parser functions:''' keywords (some beginning #) in double braces with

parameters after a colon, e.g. <tt><nowiki>{{#expr:2+2}}</nowiki></tt>

Some magic words are case-insensitive, but not all. Whitespace is stripped

from the start and end of keywords and parameters, as in template syntax.

Page-dependent magic words will affect or return data about the ''current''

page, even if the word is added through a transcluded template or included

system message.

It is possible to [[Help:Substitution|substitute]] parser functions and

variables in the same way that templates are substituted (using the

<tt>subst:</tt> keyword). This causes their current value (as evaluated at

the time of substitution) to be written into the wikitext.


==Behavior switches==
==Behavior switches==
''For documentation, refer to the [[mw:Help:Magic words#Behavior switches|
''For documentation, refer to the [[mw:Help:Magic words#Behavior switches|Behavior Switches]] section of the MediaWiki page.''
*<code><nowiki>__NOTOC__</nowiki></code> (can appear anywhere in the wikitext; suppresses the table of contents)

*<code><nowiki>__FORCETOC__</nowiki></code> (can appear anywhere in the wikitext; makes a table of contents appear in its normal position above the first header)
Behavior Switches]] section of the MediaWiki page.''
*<tt><nowiki>__NOTOC__</nowiki></tt> (can appear anywhere in the wikitext;
*<code><nowiki>__TOC__</nowiki></code> (places a table of contents at the word's position)

suppresses the table of contents)
*<tt><nowiki>__FORCETOC__</nowiki></tt> (can appear anywhere in the

wikitext; makes a table of contents appear in its normal position above the

first header)
*<tt><nowiki>__TOC__</nowiki></tt> (places a table of contents at the word's

position)

*<tt><nowiki>__NOEDITSECTION__</nowiki></tt> (hides the section edit links

beside headings)
*<tt><nowiki>__NEWSECTIONLINK__</nowiki></tt> (adds a "+" link for adding a

new section on a non-"Talk" page)
*<tt><nowiki>__NONEWSECTIONLINK__</nowiki></tt> (removes the "+" link on

"Talk" pages)

*<tt><nowiki>__NOGALLERY__</nowiki></tt> (on a category page, replaces

thumbnails with normal links)
*<tt><nowiki>__HIDDENCAT__</nowiki></tt> (on a category page, makes it a

[[WP:HIDDENCAT|hidden category]])
*<tt><nowiki>__INDEX__</nowiki></tt> (tells search engines to index the

page)
*<tt><nowiki>__NOINDEX__</nowiki></tt> (tells search engines not to index

the page)


*<code><nowiki>__NOEDITSECTION__</nowiki></code> (hides the section edit links beside headings)
*<tt><nowiki>{{DISPLAYTITLE:</nowiki>''title''<nowiki>}}</nowiki></tt>
*<code><nowiki>__NEWSECTIONLINK__</nowiki></code> (adds a "+" link for adding a new section on a non-"Talk" page)
*<code><nowiki>__NONEWSECTIONLINK__</nowiki></code> (removes the "+" link on "Talk" pages)


*<code><nowiki>__NOGALLERY__</nowiki></code> (on a category page, replaces thumbnails with normal links)
(changes the [[WP:DISPLAYTITLE|displayed form]] of the page title)
*<code><nowiki>__HIDDENCAT__</nowiki></code> (on a category page, makes it a [[WP:HIDDENCAT|hidden category]])
*<tt><nowiki>{{DEFAULTSORT:</nowiki>''sortkey''<nowiki>}}</nowiki></tt>
*<code><nowiki>__INDEX__</nowiki></code> (tells search engines to index the page)
*<code><nowiki>__NOINDEX__</nowiki></code> (tells search engines not to index the page)


*<code><nowiki>{{DISPLAYTITLE:</nowiki>''title''<nowiki>}}</nowiki></code> (changes the [[WP:DISPLAYTITLE|displayed form]] of the page title)
(sets a default category [[WP:SORTKEY|sort key]])
*<code><nowiki>{{DEFAULTSORT:</nowiki>''sortkey''<nowiki>}}</nowiki></code> (sets a default category [[WP:SORTKEY|sort key]])


==Variables==
==Variables==
''For documentation, refer to the [[mw:Help:Magic words#Variables|
''For documentation, refer to the [[mw:Help:Magic words#Variables|Variables]] section of the MediaWiki page.''
*<code><nowiki>{{FULLPAGENAME}}</nowiki></code> ([[Help:Page name|page title]] including [[help:namespace|namespace]])
*<code><nowiki>{{PAGENAME}}</nowiki></code> (page title excluding namespace)
*<code><nowiki>{{BASEPAGENAME}}</nowiki></code> (page title excluding ''current'' [[Help:Subpages|subpage]] and namespace - effectively the parent page without the namespace.)
*<code><nowiki>{{SUBPAGENAME}}</nowiki></code> (subpage part of title)
*<code><nowiki>{{SUBJECTPAGENAME}}</nowiki></code> (associated non-talk page)
*<code><nowiki>{{TALKPAGENAME}}</nowiki></code> (associated talk page)
*<code><nowiki>{{NAMESPACE}}</nowiki></code> (namespace of current page)
*<code><nowiki>{{SUBJECTSPACE}}, {{ARTICLESPACE}}</nowiki></code> (associated non-talk namespace)
*<code><nowiki>{{TALKSPACE}}</nowiki></code> (associated talk namespace)
* <code><nowiki>{{FULLPAGENAMEE}}, {{NAMESPACEE}}</nowiki></code> etc. (equivalents encoded for use in MediaWiki URLs)


The above can all take a parameter, to operate on a page other than the current page.
Variables]] section of the MediaWiki page.''
*<tt><nowiki>{{FULLPAGENAME}}</nowiki></tt> ([[Help:Page name|page title]]


*<code><nowiki>{{SITENAME}}</nowiki></code> ({{SITENAME}})
including [[help:namespace|namespace]])
*<tt><nowiki>{{PAGENAME}}</nowiki></tt> (page title excluding namespace)
*<code><nowiki>{{SERVER}}</nowiki></code> ({{SERVER}})
*<tt><nowiki>{{BASEPAGENAME}}</nowiki></tt> (page title excluding
*<code><nowiki>{{SERVERNAME}}</nowiki></code> ({{SERVERNAME}})
*<code><nowiki>{{SCRIPTPATH}}</nowiki></code> ({{SCRIPTPATH}})
*<code><nowiki>{{CURRENTVERSION}}</nowiki></code> (current MediaWiki version)
*<code><nowiki>{{REVISIONID}}</nowiki></code> (latest revision to current page)
*<code><nowiki>{{REVISIONDAY}}, {{REVISIONDAY2}}, {{REVISIONMONTH}}, {{REVISIONYEAR}}, {{REVISIONTIMESTAMP}}, {{REVISIONUSER}}</nowiki></code> (date, time, editor at last edit)


*<code><nowiki>{{CURRENTYEAR}}, {{CURRENTMONTH}}, {{CURRENTMONTHNAME}}, {{CURRENTMONTHABBREV}}, {{CURRENTDAY}}, {{CURRENTDAY2}}, {{CURRENTDOW}}, {{CURRENTDAYNAME}}, {{CURRENTTIME}}, {{CURRENTHOUR}}, {{CURRENTWEEK}}, {{CURRENTTIMESTAMP}}</nowiki></code> (current date/time variables)
''current'' [[Help:Subpages|subpage]] and namespace - effectively the parent
*<code><nowiki>{{LOCALYEAR}}</nowiki></code> etc. (as above, based on site's local time)


*<code><nowiki>{{NUMBEROFPAGES}}, {{NUMBEROFARTICLES}}, {{NUMBEROFFILES}}, {{NUMBEROFEDITS}}, {{NUMBEROFVIEWS}}, {{NUMBEROFUSERS}}, {{NUMBEROFADMINS}}, {{NUMBEROFACTIVEUSERS}}</nowiki></code> (statistics on English Wikipedia; add <code>:R</code> to return numbers without commas)
page without the namespace.)
*<tt><nowiki>{{SUBPAGENAME}}</nowiki></tt> (subpage part of title)
*<tt><nowiki>{{SUBJECTPAGENAME}}</nowiki></tt> (associated non-talk page)
*<tt><nowiki>{{TALKPAGENAME}}</nowiki></tt> (associated talk page)
*<tt><nowiki>{{NAMESPACE}}</nowiki></tt> (namespace of current page)
*<tt><nowiki>{{SUBJECTSPACE}}, {{ARTICLESPACE}}</nowiki></tt> (associated

non-talk namespace)
*<tt><nowiki>{{TALKSPACE}}</nowiki></tt> (associated talk namespace)
* <tt><nowiki>{{FULLPAGENAMEE}}, {{NAMESPACEE}}</nowiki></tt> etc.

(equivalents encoded for use in MediaWiki URLs)

The above can all take a parameter, to operate on a page other than the

current page.

*<tt><nowiki>{{SITENAME}}</nowiki></tt> ({{SITENAME}})
*<tt><nowiki>{{SERVER}}</nowiki></tt> ({{SERVER}})
*<tt><nowiki>{{SERVERNAME}}</nowiki></tt> ({{SERVERNAME}})
*<tt><nowiki>{{SCRIPTPATH}}</nowiki></tt> ({{SCRIPTPATH}})
*<tt><nowiki>{{CURRENTVERSION}}</nowiki></tt> (current MediaWiki version)
*<tt><nowiki>{{REVISIONID}}</nowiki></tt> (latest revision to current page)
*<tt><nowiki>{{REVISIONDAY}}, {{REVISIONDAY2}}, {{REVISIONMONTH}},

{{REVISIONYEAR}}, {{REVISIONTIMESTAMP}}, {{REVISIONUSER}}</nowiki></tt>

(date, time, editor at last edit)

*<tt><nowiki>{{CURRENTYEAR}}, {{CURRENTMONTH}}, {{CURRENTMONTHNAME}},

{{CURRENTMONTHABBREV}}, {{CURRENTDAY}}, {{CURRENTDAY2}}, {{CURRENTDOW}},

{{CURRENTDAYNAME}}, {{CURRENTTIME}}, {{CURRENTHOUR}}, {{CURRENTWEEK}},

{{CURRENTTIMESTAMP}}</nowiki></tt> (current date/time variables)
*<tt><nowiki>{{LOCALYEAR}}</nowiki></tt> etc. (as above, based on site's

local time)

*<tt><nowiki>{{NUMBEROFPAGES}}, {{NUMBEROFARTICLES}}, {{NUMBEROFFILES}},

{{NUMBEROFEDITS}}, {{NUMBEROFVIEWS}}, {{NUMBEROFUSERS}}, {{NUMBEROFADMINS}},

{{NUMBEROFACTIVEUSERS}}</nowiki></tt> (statistics on English Wikipedia; add

<tt>:R</tt> to return numbers without commas)


==Parser functions==
==Parser functions==
{{Shortcut|WP:PF}}
{{Shortcut|WP:PF}}
''These are documented at the [[mw:Help:Magic words|main documentation
''These are documented at the [[mw:Help:Magic words|main documentation page]] unless otherwise stated.''

page]] unless otherwise stated.''
===Metadata===
===Metadata===
*<tt><nowiki>{{PAGESIZE:</nowiki>''page name''<nowiki>}}</nowiki></tt> (size
*<code><nowiki>{{PAGESIZE:</nowiki>''page name''<nowiki>}}</nowiki></code> (size of page in bytes)
*<code><nowiki>{{PROTECTIONLEVEL:</nowiki>''action''<nowiki>}}</nowiki></code> (protection level for given action on the current page)

*<code><nowiki>{{PAGESINCATEGORY:</nowiki>''categoryname''<nowiki>}}</nowiki></code> (number of pages in the given [[Help:Categories|category]])
of page in bytes)
*<tt><nowiki>{{PROTECTIONLEVEL:</nowiki>''action''<nowiki>}}</nowiki></tt>
*<code><nowiki>{{NUMBERINGROUP:</nowiki>''groupname''<nowiki>}}</nowiki></code> (number of users in a specific [[Help:User rights|group]])

(protection level for given action on the current page)
*<tt><nowiki>{{PAGESINCATEGORY:</nowiki>''categoryname''<nowiki>}}

</nowiki></tt> (number of pages in the given [[Help:Categories|category]])
*<tt><nowiki>{{NUMBERINGROUP:</nowiki>''groupname''<nowiki>}}</nowiki></tt>

(number of users in a specific [[Help:User rights|group]])


Add <tt>|R</tt> to return numbers without commas.
Add <code>|R</code> to return numbers without commas.


===Formatting===
===Formatting===
*<tt><nowiki>{{lc:</nowiki>''string''<nowiki>}}</nowiki></tt> (convert to
*<code><nowiki>{{lc:</nowiki>''string''<nowiki>}}</nowiki></code> (convert to lower case)
*<code><nowiki>{{lcfirst:</nowiki>''string''<nowiki>}}</nowiki></code> (convert first character to lower case)

*<code><nowiki>{{uc:</nowiki>''string''<nowiki>}}</nowiki></code> (convert to upper case)
lower case)
*<tt><nowiki>{{lcfirst:</nowiki>''string''<nowiki>}}</nowiki></tt> (convert
*<code><nowiki>{{ucfirst:</nowiki>''string''<nowiki>}}</nowiki></code> (convert first character to upper case)
*<code><nowiki>{{formatnum:</nowiki>''unformatted&nbsp;num''<nowiki>}}</nowiki></code> (format a number with comma separators; add <code><nowiki>|</nowiki>R</code> to unformat a number)

*<code><nowiki>{{#formatdate:</nowiki>''date''|''format''<nowiki>}}</nowiki></code> (formats a date according to user preferences; a default can be given as an optional case-sensitive second parameter for users without date preference; can convert a date from an existing format to any of <code>dmy</code>, <code>mdy</code>, <code>ymd</code> or <code>ISO 8601</code> formats, with the user's preference overriding the specified format)
first character to lower case)
*<code><nowiki>{{padleft:xyz|</nowiki>''stringlength''<nowiki>}}</nowiki></code>, <code><nowiki>{{padright:xyz|</nowiki>''stringlength''<nowiki>}}</nowiki></code> (pad with zeros to the right or left; an alternative padding string can be given as a third parameter; the alternative padding string may be truncated if its length does not evenly divide the required number of characters)
*<tt><nowiki>{{uc:</nowiki>''string''<nowiki>}}</nowiki></tt> (convert to
*<code><nowiki>{{plural:</nowiki>''n''|''is''<nowiki>|</nowiki>''are''<nowiki>}}</nowiki></code> (produces alternative text according to whether ''n'' is greater than 1)

*<code><nowiki>{{#time:</nowiki>''format string''|''date/time object''<nowiki>}}</nowiki></code> (for date/time formatting; also <code>#timel</code> for local time. Covered at the [[mw:Help:Extension:ParserFunctions##time|extension documentation page]].)
upper case)
*<code><nowiki>{{gender:</nowiki>''username''|''masculine''|''female''|''neutral''}}</code> (produces alternate text according to the gender specified by the given user in his/her preferences)
*<tt><nowiki>{{ucfirst:</nowiki>''string''<nowiki>}}</nowiki></tt> (convert

first character to upper case)
*<tt><nowiki>{{formatnum:</nowiki>''unformatted&nbsp;num''<nowiki>}}

</nowiki></tt> (format a number with comma separators; add <tt><nowiki>|

</nowiki>R</tt> to unformat a number)
*<tt><nowiki>{{#formatdate:</nowiki>''date''|''format''<nowiki>}}

</nowiki></tt> (formats a date according to user preferences; a default can

be given as an optional case-sensitive second parameter for users without

date preference; can convert a date from an existing format to any of

<tt>dmy</tt>, <tt>mdy</tt>, <tt>ymd</tt> or <tt>ISO 8601</tt> formats, with

the user's preference overriding the specified format)
*<tt><nowiki>{{padleft:xyz|</nowiki>''stringlength''<nowiki>}}

</nowiki></tt>, <tt><nowiki>{{padright:xyz|

</nowiki>''stringlength''<nowiki>}}</nowiki></tt> (pad with zeros to the

right or left; an alternative padding string can be given as a third

parameter; the alternative padding string may be truncated if its length

does not evenly divide the required number of characters)
*<tt><nowiki>{{plural:</nowiki>''n''|''is''<nowiki>|

</nowiki>''are''<nowiki>}}</nowiki></tt> (produces alternative text

according to whether ''n'' is greater than 1)
*<tt><nowiki>{{#time:</nowiki>''format string''|''date/time

object''<nowiki>}}</nowiki></tt> (for date/time formatting; also

<tt>#timel</tt> for local time. Covered at the

[[mw:Help:Extension:ParserFunctions##time|extension documentation page]].)
*<tt><nowiki>

{{gender:</nowiki>''username''|''masculine''|''female''|''neutral''}}</tt>

(produces alternate text according to the gender specified by the given user

in his/her preferences)


===Paths===
===Paths===
*<tt><nowiki>{{localurl:</nowiki>''page name''<nowiki>}}</nowiki></tt>,
*<code><nowiki>{{localurl:</nowiki>''page name''<nowiki>}}</nowiki></code>, <code><nowiki>{{localurl:</nowiki>''page name''<nowiki>|</nowiki>''query string''<nowiki>}}</nowiki></code> (relative path to the title)
*<code><nowiki>{{fullurl:</nowiki>''page name''<nowiki>}}</nowiki></code>, <code><nowiki>{{fullurl:</nowiki>''page name''<nowiki>|</nowiki>''query_string''<nowiki>}}</nowiki></code> (absolute path to the title)

<tt><nowiki>{{localurl:</nowiki>''page name''<nowiki>|</nowiki>''query
*<code><nowiki>{{filepath:</nowiki>''file name''<nowiki>}}</nowiki></code> (absolute URL to a media file)
*<code><nowiki>{{urlencode:</nowiki>''string''<nowiki>}}</nowiki></code> (input encoded for use in URLs)

string''<nowiki>}}</nowiki></tt> (relative path to the title)
*<code><nowiki>{{anchorencode:</nowiki>''string''<nowiki>}}</nowiki></code> (input encoded for use in URL section anchors)
*<tt><nowiki>{{fullurl:</nowiki>''page name''<nowiki>}}</nowiki></tt>,
*<code><nowiki>{{ns:</nowiki>''n''<nowiki>}}</nowiki></code> (name for the [[Help:Namespace|namespace]] with index ''n''; use <code><nowiki>{{nse:}}</nowiki></code> for the equivalent encoded for MediaWiki URLs)
*<code><nowiki>{{#rel2abs:</nowiki> ''path'' <nowiki>}}</nowiki></code> (converts a relative file path to absolute; see the [[mw:Help:Extension:ParserFunctions|extension documentation]])

*<code><nowiki>{{#titleparts:</nowiki> ''pagename'' | ''number of segments to return'' | ''first segment to return'' <nowiki>}}</nowiki></code> (splits title into parts; see the [[mw:Help:Extension:ParserFunctions|extension documentation]])
<tt><nowiki>{{fullurl:</nowiki>''page name''<nowiki>|

</nowiki>''query_string''<nowiki>}}</nowiki></tt> (absolute path to the

title)
*<tt><nowiki>{{filepath:</nowiki>''file name''<nowiki>}}</nowiki></tt>

(absolute URL to a media file)
*<tt><nowiki>{{urlencode:</nowiki>''string''<nowiki>}}</nowiki></tt> (input

encoded for use in URLs)
*<tt><nowiki>{{anchorencode:</nowiki>''string''<nowiki>}}</nowiki></tt>

(input encoded for use in URL section anchors)
*<tt><nowiki>{{ns:</nowiki>''n''<nowiki>}}</nowiki></tt> (name for the

[[Help:Namespace|namespace]] with index ''n''; use <tt><nowiki>{{nse:}}

</nowiki></tt> for the equivalent encoded for MediaWiki URLs)
*<tt><nowiki>{{#rel2abs:</nowiki> ''path'' <nowiki>}}</nowiki></tt>

(converts a relative file path to absolute; see the

[[mw:Help:Extension:ParserFunctions|extension documentation]])
*<tt><nowiki>{{#titleparts:</nowiki> ''pagename'' | ''number of segments to

return'' | ''first segment to return'' <nowiki>}}</nowiki></tt> (splits

title into parts; see the [[mw:Help:Extension:ParserFunctions|extension

documentation]])


===Conditional expressions===
===Conditional expressions===
These are covered at the [[mw:Help:Extension:ParserFunctions|extension
These are covered at the [[mw:Help:Extension:ParserFunctions|extension documentation page]]. Some parameters are optional.
*<code><nowiki>{{#expr:</nowiki> ''expression'' <nowiki>}}</nowiki></code> (evaluates the given expression; see [[Help:Calculation]])

*<code><nowiki>{{#if:</nowiki> ''test string'' | ''value if non-empty'' | ''value if empty'' <nowiki>}}</nowiki></code> (selects one of two values based on whether the test string is empty)
documentation page]]. Some parameters are optional.
*<code><nowiki>{{#ifeq:</nowiki> ''string 1'' <nowiki>|</nowiki> ''string 2'' <nowiki>|</nowiki> ''value if equal'' <nowiki>|</nowiki> ''value if unequal'' <nowiki>}}</nowiki></code> (selects one of two values based on whether the test strings are equal – numerically if applicable)
*<tt><nowiki>{{#expr:</nowiki> ''expression'' <nowiki>}}</nowiki></tt>
*<code><nowiki>{{#iferror:</nowiki> ''test string'' <nowiki>|</nowiki> ''value if error'' <nowiki>|</nowiki> ''value if correct'' <nowiki>}}</nowiki></code> (selects value based on whether the test string generates a parser error)

*<code><nowiki>{{#ifexpr:</nowiki> ''expression'' <nowiki>|</nowiki> ''value if true'' <nowiki>|</nowiki> ''value if false'' <nowiki>}}</nowiki></code> (selects value based on evaluation of expression)
(evaluates the given expression; see [[Help:Calculation]])
*<tt><nowiki>{{#if:</nowiki> ''test string'' | ''value if non-empty'' |
*<code><nowiki>{{#ifexist:</nowiki> ''page title'' | ''value if exists'' | ''value if doesn't exist'' <nowiki>}}</nowiki></code> (selects value depending on whether a page title exists)
*<code><nowiki>{{#switch:</nowiki> ''test'' | ''case1'' = ''value for case 1'' | ... | ''default'' <nowiki>}}</nowiki></code> (provides alternatives based on the value of the test string)

''value if empty'' <nowiki>}}</nowiki></tt> (selects one of two values based

on whether the test string is empty)
*<tt><nowiki>{{#ifeq:</nowiki> ''string 1'' <nowiki>|</nowiki> ''string 2''

<nowiki>|</nowiki> ''value if equal'' <nowiki>|</nowiki> ''value if

unequal'' <nowiki>}}</nowiki></tt> (selects one of two values based on

whether the test strings are equal – numerically if applicable)
*<tt><nowiki>{{#iferror:</nowiki> ''test string'' <nowiki>|</nowiki> ''value

if error'' <nowiki>|</nowiki> ''value if correct'' <nowiki>}}</nowiki></tt>

(selects value based on whether the test string generates a parser error)
*<tt><nowiki>{{#ifexpr:</nowiki> ''expression'' <nowiki>|</nowiki> ''value

if true'' <nowiki>|</nowiki> ''value if false'' <nowiki>}}</nowiki></tt>

(selects value based on evaluation of expression)
*<tt><nowiki>{{#ifexist:</nowiki> ''page title'' | ''value if exists'' |

''value if doesn't exist'' <nowiki>}}</nowiki></tt> (selects value depending

on whether a page title exists)
*<tt><nowiki>{{#switch:</nowiki> ''test'' | ''case1'' = ''value for case 1''

| ... | ''default'' <nowiki>}}</nowiki></tt> (provides alternatives based on

the value of the test string)

For the use of these functions in tables, see [[Wikipedia:Conditional


tables|Conditional tables]].
For the use of these functions in tables, see [[Wikipedia:Conditional tables|Conditional tables]].


==See also==
==See also==
*[[mw:Internationalisation]]
*[[mw:Internationalisation]]
*[[mw:Manual:Extending_wiki_markup|Adding parser functions]]
*[[mw:Manual:Extending_wiki_markup|Adding parser functions]]
*[http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/parser/CoreParserFunctions.php?view=log CoreParserFunctions.php]
*
* [[User:Cacycle/wikEd|wikEd]], a MediaWiki editor with syntax highlighting for templates and parser functions

[http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/parser/Core

ParserFunctions.php?view=log CoreParserFunctions.php]
* [[User:Cacycle/wikEd|wikEd]], a MediaWiki editor with syntax highlighting

for templates and parser functions
</div></div>
</div></div>
{{br}}
{{br}}


== Kode ==
== Kode ==
<div style="height: 500px; width: 100%; overflow: auto; padding: 3px;text-
<div style="height: 500px; width: 100%; overflow: auto; padding: 3px;text-align: left; border:1px solid black;" title="braglist - zum scrollen"; >

align: left; border:1px solid black;" title="braglist - zum scrollen"; >
=== Scroll bar ===
=== Scroll bar ===
<pre>
<pre>
<div style="height: 500px; width: 100%; overflow: auto; padding: 3px;text-
<div style="height: [xxx]px; width: [xxx]%; overflow: auto; padding: [xxx]px; text-align: [xxx]; border:[xxx]px solid [color];">...</div>

align: left; border:1px solid black;">...</div>
</pre>
</pre>


=== Blinking text ===
=== Blinking text ===
<pre>
<pre>
<span style="text-decoration:blink; background:xxx">...</span>
<span style="text-decoration:blink; background:#[xxx]">...</span>
</pre>
</pre>

=== Plain link ===
<pre>
<span class="plainlinks">...</span>
</pre>

</div>
</div>

Revisi terkini sejak 8 April 2022 22.15

Halaman baru

[sunting | sunting sumber]

19 Oktober 2024

  • 00.2519 Oktober 2024 00.25 Sungai Kedunggaleng (riw | sunting) [1.075 bita] Ahmed Fikrie (bicara | kontrib) (←Membuat halaman berisi '{{Infobox river | name = Sungai Kedunggaleng | image = 280px | image_caption = Salah satu bendungan Sungai Kedunggaleng di Kota Probolinggo. | source1 = Pegunungan Tengger | mouth = Selat Madura | country = | length = 38 km | elevation = | discharge = | watershed = 231,9 km<sup>2</sup> }} '''Sungai Rondoningo''' adalah sebuah sungai yang terletak di Kabupaten Probolinggo,...') Tag: Suntingan perangkat seluler Suntingan peramban seluler Suntingan seluler lanjutan

18 Oktober 2024


Templat navigasi

[sunting | sunting sumber]

Please remove the parameters that are left blank.

{{Navbox
|name    = {{subst:PAGENAME}}
|title   =
|image   =
|above   =

|group1  =
|list1   =

|group2  =
|list2   =
 ...
|group20 =
|list20  =

|below   =
}}

Parameter list

[sunting | sunting sumber]

The navbox uses lowercase parameter names, as shown in the box (at right). The mandatory name and title will create a one-line box if other parameters are omitted.

Notice "group1" (etc.) is optional, as are sections named "above/below".

The basic and most common parameters are as follows (see below for the full list):

name - the name of the template.
title - text in the title bar, such as: [[Widget stuff]].
state - autocollapse, uncollapsed, collapsed: the status of box expansion, where "autocollapse" hides stacked navboxes automatically.
titlestyle - a CSS style for the title-bar, such as: background:gray;
groupstyle - a CSS style for the group-cells, such as: background:#eee;
image - an optional right-side image (coded as the whole image tag: [[Image:XX.jpg|90px]] ).
imageleft - an optional left-side image (code the same was as the "image" parameter).
above - text to appear above the group/list section (could be a list of overall wikilinks).
groupn - the left-side text before list-n (if group-n omitted, list-n starts at left of box).
listn - text listing wikilinks, often separated by middot templates, such as: [[A]]{{·}} [[B]]
below - optional text to appear below the group/list section.

Further details, and complex restrictions, are explained below under section Parameter descriptions. See some alternate navbox formats under: Layout of table.

Parameter descriptions

[sunting | sunting sumber]

The following is a complete list of parameters for using {{Navbox}}. In most cases, the only required parameters are name, title, and list1, though child navboxes do not even require those to be set.

{{Navbox}} shares numerous common parameter names as its sister templates {{Navbox with columns}} and {{Navbox with collapsible groups}} for consistency and ease of use. Parameters marked with a cross are common to all three master templates.

Setup parameters

[sunting | sunting sumber]
name
The name of the template, which is needed for the "v · d · e" ("view · discuss · edit") links to work properly on all pages where the template is used. You can enter {{subst:PAGENAME}} for this value as a shortcut. The name parameter is only mandatory if a title is specified, and the border parameter is not set.
state [autocollapse, uncollapsed, collapsed, plain, off]
  • Defaults to autocollapse. A navbox with autocollapse will start out collapsed if there are two or more tables on the same page that use other collapsible tables. Otherwise, the navbox will be expanded. For the technically minded, see MediaWiki:Common.js.
  • If set to collapsed, the navbox will always start out in a collapsed state.
  • If set to plain, the navbox will always be expanded with no [hide] link on the right, and the title will remain centered (by using padding to offset the v • d • e links).
  • If set to off, the navbox will always be expanded with no [hide] link on the right, but no padding will be used to keep the title centered. This is for advanced use only; the "plain" option should suffice for most applications where the [show]/[hide] button needs to be hidden.
  • If set to anything other than autocollapse, collapsed, plain, or off (such as "uncollapsed"), the navbox will always start out in an expanded state, but have the "hide" button.
To show the box when standalone (non-included) but then auto-hide contents when in an article, put "uncollapsed" inside <noinclude> tags:
  • state = <noinclude>uncollapsed</noinclude>
  • That setting will force the box visible when standalone (even when followed by other boxes), displaying "[hide]" but then auto-collapse the box when stacked inside an article.
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:
  • | state = {{{state<includeonly>|your_desired_initial_state</includeonly>}}}
  • The <includeonly>| will make the template expanded when viewing the template page by itself.
  • Example: {{peso}} with autocollapse as the default initial state. Bolivian peso transcludes it and has only one navbox. So the peso navbox shows. Chilean peso has two navboxes. So the peso navbox collapses.
  • Example: {{Historical currencies of Hungary}} with expanded as the default initial state. All transcluding articles shows the content by default, unless there were an hypothetical article that specifies state = collapsed when transcluding.
navbar
Defaults to Tnavbar. If set to plain, the v • d • e links on the left side of the titlebar will not be displayed, and padding will be automatically used to keep the title centered. Use off to remove the v • d • e links, but not apply padding (this is for advanced use only; the "plain" option should suffice for most applications where a navbar is not desired). Note that it is highly recommended that one does not hide the navbar, in order to make it easier for users to edit the template, and to keep a standard style across pages.
border
See section below on using navboxes within one another for examples and a more complete description. If set to child or subgroup, then the navbox can be used as a borderless child that fits snuggly in another navbox. The border is hidden and there is no padding on the sides of the table, so it fits into the list area of its parent navbox. If set to none, then the border is hidden and padding is removed, and the navbox may be used as a child of another container (do not use the none option inside of another navbox; similarly, only use the child/subgroup option inside of another navbox). If set to anything else (default), then a regular navbox is displayed with a 1px border. An alternate way to specify the border to be a subgroup style is like this (i.e. use the first unnamed parameter instead of the named border parameter):
{{Navbox|child
...
}}
title
Text that appears centered in the top row of the table. It is usually the template's topic, i.e. a succinct description of the body contents. This should be a single line, but if a second line is needed, use {{-}} to ensure proper centering. This parameter is technically not mandatory, but using {{Navbox}} is rather pointless without a title.
groupn
(i.e. group1, group2, etc.) If specified, text appears in a header cell displayed to the left of listn. If omitted, listn uses the full width of the table.
listn
(i.e. list1, list2, etc.) The body of the template, usually a list of links. Format is inline, although the text can be entered on separate lines if the entire list is enclosed within <div> </div>. At least one list parameter is required; each additional list is displayed in a separate row of the table. Each listn may be preceded by a corresponding groupn parameter, if provided (see below).
image
An image to be displayed in a cell below the title and to the right of the body (the groups/lists). For the image to display properly, the list1 parameter must be specified. The image parameter accepts standard wikicode for displaying an image, i.e.
image = [[Image:Example.jpg|100px]]
imageleft
An image to be displayed in a cell below the title and to the left of the body (lists). For the image to display properly, the list1 parameter must be specified and no groups can be specified. The imageleft parameter accepts standard wikicode for displaying an image, i.e.
imageleft = [[Image:Example.jpg|100px]]
above
A full-width cell displayed between the titlebar and first group/list, i.e. above the template's body (groups, lists and image). In a template without an image, above behaves in the same way as the list1 parameter without the group1 parameter.
below
A full-width cell displayed below the template's body (groups, lists and image). In a template without an image, below behaves in the same way as the template's final listn parameter without a groupn parameter. For an example of the below parameter in use, see {{Lists of the provinces and territories of Canada}}.

Style parameters

[sunting | sunting sumber]

Styles are generally not recommended as to maintain consistency among templates and pages in Wikipedia. However, the option to modify styles is given.

style
Specifies CSS styles to apply to the template body. The parameter bodystyle also does the example same thing and can be used in place of this style parameter. This option should be used sparingly as it can lead to visual inconsistencies. Examples:
style = background:#nnnnnn;
style = width:N [em/%/px or width:auto];
style = float:[left/right/none];
style = clear:[right/left/both/none];
basestyle
CSS styles to apply to the title, above, below, and group cells all at once. The style are not applied to list cells. This is convenient for easily changing the basic color of the navbox without having to repeat the style specifications for the different parts of the navbox. Examples:
basestyle = background:lightskyblue;
titlestyle
CSS styles to apply to title, most often the titlebar's background color:
titlestyle = background:#nnnnnn;
titlestyle = background:name;
groupstyle
CSS styles to apply to the groupN cells. This option overrides any styles that are applied to the entire table. Examples:
groupstyle = background:#nnnnnn;
groupstyle = text-align:[left/center/right];
groupstyle = vertical-align:[top/middle/bottom];
groupnstyle
CSS styles to apply to a specific group, in addition to any styles specified by the groupstyle parameter. This parameter should only be used when absolutely necessary in order to maintain standardization and simplicity. Examples:
group3style = background:red;color:white;
liststyle
CSS styles to apply to all lists. Overruled by the oddstyle and evenstyle parameters (if specified) below.
listnstyle
CSS styles to apply to a specific group, in addition to any styles specified by the groupstyle parameter. This parameter should only be used when absolutely necessary in order to maintain standardization and simplicity. Examples:
list5style = background:#ddddff;
listpadding
A number and unit specifying the padding in each list cell. The list cells come equipped with a default padding of 0.25em on the left and right, and 0em on the top and bottom. Due to complex technical reasons, simply setting "liststyle=padding:0.5em;" (or any other padding setting) will not work. Examples:
listpadding = 0.5em 0em; (sets 0.5em padding for the left/right, and 0em padding for the top/bottom.)
listpadding = 0em; (removes all list padding.)
oddstyle
evenstyle
Applies to odd/even list numbers. Overrules styles defined by liststyle. The default behavior is to add striped colors (white and gray) to odd/even rows, respectively, in order to improve readability. These should not be changed except in extraordinary circumstances.
evenodd [swap, even, odd, off]
If set to swap, then the automatic striping of even and odd rows is reversed. Normally, even rows get a light gray background for striping; when this parameter is used, the odd rows receive the gray striping instead of the even rows. Setting to even or odd sets all rows to have that striping color. Setting to off disables automatic row striping. This advanced parameter should only be used to fix problems when the navbox is being used as a child of another navbox and the stripes do not match up. Examples and a further description can be found in the section on child navboxes below.
abovestyle
belowstyle
CSS styles to apply to the top cell (specified via the above parameter) and bottom cell (specified via the below parameter). Typically used to set background color or text alignment:
abovestyle = background:#nnnnnn;
abovestyle = text-align:[left/center/right];
imagestyle
imageleftstyle
CSS styles to apply to the cells where the image/imageleft sits. These styles should only be used in exceptional circumstances, usually to fix width problems if the width of groups is set and the width of the image cell grows too large. Examples:
imagestyle = width:5em;
Default styles
[sunting | sunting sumber]

The style settings listed here are those that editors using the navbox change most often. The other more complex style settings were left out of this list to keep it simple. Most styles are set in MediaWiki:Common.css.

bodystyle = background:#fdfdfd; width:100%; vertical-align:middle;
titlestyle = background:#ccccff; padding-left:1em; padding-right:1em; text-align:center;
abovestyle = background:#ddddff; padding-left:1em; padding-right:1em; text-align:center;
belowstyle = background:#ddddff; padding-left:1em; padding-right:1em; text-align:center;
groupstyle = background:#ddddff; padding-left:1em; padding-right:1em; text-align:right;
liststyle = background:transparent; text-align:left/center;
oddstyle = background:transparent;
evenstyle = background:#f7f7f7;

Since liststyle and oddstyle are transparent odd lists have the color of the bodystyle, which defaults to #fdfdfd (white with a hint of gray). A list has text-align:left; if it has a group, if not it has text-align:center;. Since only bodystyle has a vertical-align all the others inherit its vertical-align:middle;.

Advanced parameters

[sunting | sunting sumber]
titlegroup
This puts a group in the title area, with the same default styles as groupn. It should be used only in exceptional circumstances (usually advanced meta-templates) and its use requires some knowledge of the internal code of {{Navbox}}; you should be ready to manually set up CSS styles to get everything to work properly if you wish to use it. If you think you have an application for this parameter, it might be best to change your mind, or consult the talk page first.
titlegroupstyle
The styles for the titlegroup cell.
innerstyle
A very advanced parameter to be used only for advanced meta-templates employing the navbox. Internally, the navbox uses an outer table to draw the border, and then an inner table for everything else (title/above/groups/lists/below/images, etc.). The style/bodystyle parameter sets the style for the outer table, which the inner table inherits, but in advanced cases (meta-templates) it may be necessary to directly set the style for the inner table. This parameter provides access to that inner table so styles can be applied. Use at your own risk.

Layout of table

[sunting | sunting sumber]

Table generated by {{Navbox}} without image, above and below parameters (gray list background color added for illustration only):

Table generated by {{Navbox}} with image, above and below parameters (gray list background color added for illustration only):

Table generated by {{Navbox}} with image, imageleft, lists, and without groups, above, below (gray list background color added for illustration only):

{{Navbox
|name  = Navbox/doc
|title = [[Multimedia Super Corridor|MSC (Multimedia Super Corridor) Malaysia]]{{-}}''without image''

|group1 = Centre
|list1  = [[Cyberjaya]]

|group2 = Area
|list2  = [[Klang Valley]]

|group3 = Major landmarks
|list3  = [[Petronas Twin Towers]]{{·}} [[Kuala Lumpur Tower]]{{·}} [[Kuala Lumpur Sentral]]{{·}} [[Technology Park Malaysia]]{{·}} [[Putrajaya]]{{·}} [[Cyberjaya]]{{·}}
[[Kuala Lumpur International Airport]]

|group4 = Infrastructure
|list4  = [[Express Rail Link]]{{·}} [[KL-KLIA Dedicated Expressway]]

|group5 = Prime applications
|list5  = [[EGovernment]]{{·}} [[MyKad]]
}}

With image, without groups

[sunting | sunting sumber]
{{Navbox
|name  = Navbox/doc
|title = [[Multimedia Super Corridor|MSC (Multimedia Super Corridor) Malaysia]]
|image = [[Image:Flag of Malaysia.svg|80px]]
|list1 = [[Petronas Twin Towers]]{{·}} [[Kuala Lumpur Tower]]{{·}} [[Kuala Lumpur Sentral]]{{·}} [[Technology Park Malaysia]]{{·}} [[Putrajaya]]{{·}} [[Cyberjaya]]{{·}} [[Kuala Lumpur International Airport]]
}}

With two images, without groups, multiple lists

[sunting | sunting sumber]
{{Navbox
|name  = Navbox/doc
|title = [[Multimedia Super Corridor|MSC (Multimedia Super Corridor) Malaysia]]
|image = [[Image:Flag of Malaysia.svg|80px]]
|imageleft = [[Image:Flag of Malaysia.svg|80px]]
|list1 = [[Petronas Twin Towers]]{{·}} [[Kuala Lumpur Tower]]{{·}} [[Kuala Lumpur Sentral]]
|list2 = [[Express Rail Link]]{{·}} [[KL-KLIA Dedicated Expressway]]
|list3 = [[EGovernment]]{{·}} [[MyKad]]
|list4 = [[Klang Valley]]
}}

With image, groups, above, below

[sunting | sunting sumber]
{{Navbox
|name  = Navbox/doc
|title = [[Multimedia Super Corridor|MSC (Multimedia Super Corridor) Malaysia]]
|image = [[Image:Flag of Malaysia.svg|80px]]

|above = Above text goes here

|group1 = Centre
|list1  = [[Cyberjaya]]

|group2 = Area
|list2  = [[Klang Valley]]

|group3 = Major landmarks
|list3  = [[Petronas Twin Towers]]{{·}} [[Kuala Lumpur Tower]]{{·}} [[Kuala Lumpur Sentral]]{{·}} [[Technology Park Malaysia]]{{·}} [[Putrajaya]]{{·}} [[Cyberjaya]]{{·}} [[Kuala Lumpur International Airport]]

|group4 = Infrastructure
|list4  = [[Express Rail Link]]{{·}} [[KL-KLIA Dedicated Expressway]]

|group5 = Prime applications
|list5  = [[EGovernment]]{{·}} [[MyKad]]

|below  = Website: [http://www.msc.com.my/ www.msc.com.my]
}}

Child navboxes

[sunting | sunting sumber]

It is possible to place multiple navboxes within a single border with the use of the border parameter, or by specifying the first parameter to be "child". The basic code for doing this is as follows (which adds a subgroup for the first group/list area):

{{Navbox
|name = {{subst:PAGENAME}}
|title = Title

|group1 = [optional]
|list1 = {{Navbox|child
   ...child navbox parameters...
 }}

...
}}

Subgroups example

[sunting | sunting sumber]

This example shows how subgroups can be used. It is recommended that one uses {{Navbox subgroup}}, but the same result can be reached by using {{Navbox}} with border = child or the first unnamed parameter set to child. Note that the evenodd parameter is used to reverse striping in some of the subgroups in order to get all of the stripes to line up properly. If you wish to remove the striping altogether, you can set liststyle = background:transparent; in each of the navboxes.

Multiple show/hides in a single container

[sunting | sunting sumber]

The example below is generated using a regular navbox for the main container, then its list1, list2, and list3 parameters each contain another navbox, with border = child set. Note that each of the child navboxes has its own VDE navbar; these could be hidden using navbar = plain for each of them, or by just leaving out the name parameter (child navboxes do not require the name parameter to be set, unlike regular navboxes).

Additional examples

[sunting | sunting sumber]

You may find additional examples of complex subgroups and child navboxes at the advanced navbox examples page and the Navbox code test page.

Relationship with other Navbox templates

[sunting | sunting sumber]

This navbox template is specifically designed to work in conjunction two other sister templates: {{Navbox with columns}} and {{Navbox with collapsible groups}}. All three of these templates share common parameters for consistency and ease of use (such parameters are marked with a in the complete parameter list above). Most importantly, all three of these templates can each be used as children of one another (by using the border = child parameter, or by specifying the first unnamed parameter to be child (i.e. use {{Navbox|child, {{Navbox with columns|child, or {{Navbox with collapsible groups|child). For examples on how this is done, see the page on advanced navbox examples.

Technical details

[sunting | sunting sumber]
  • This template uses CSS classes for most of its looks, thus it is fully skinnable.
  • Internally this meta template uses HTML markup instead of wiki markup for the table code. That is the usual way we make meta templates since wiki markup has several drawbacks. For instance it makes it harder to use parser functions and special characters in parameters.

Intricacies

[sunting | sunting sumber]
  • The 2px wide border between groups and lists is drawn using the border-left property of the list cell. Thus, if you wish to change the background color of the template (for example bodystyle = background:purple;), then you'll need to make the border-left-color match the background color (i.e. liststyle = border-left-color:purple;). If you wish to have a border around each list cell, then the 2px border between the list cells and group cells will disappear; you'll have to come up with your own solution.
  • The list cell width is initially set to 100%. Thus, if you wish to manually set the width of group cells, you'll need to also specify the liststyle to have width:auto. If you wish to set the group width and use images, it's up to you to figure out the CSS in the groupstyle, liststyle, imagestyle, and imageleftstyle parameters to get everything to work correctly. Example of setting group width:
groupstyle = width:10em;
liststyle = width:auto;
  • Adjacent navboxes have only a 1 pixel border between them (except in IE6, which doesn't support the necessary CSS). If you set the top or bottom margin of style/bodystyle, then this will not work.
  • The default margin-left and margin-right of the outer navbox table are set to "auto;". If you wish to use navbox as a float, you need to manually set the margin-left and margin-right values, because the auto margins interfere with the float option. For example, add the following code to use the navbox as a float:
style = width:22em;float:right;margin-left:1em;margin-right:0em;
  • {{Navbox with columns}} – Allows columns instead of groups/lists
  • {{Navbox with collapsible groups}} – Another variation.
  • Wikipedia:Line break handling – The how-to guide about how to handle word wraps (line breaks) on Wikipedia, such as the wrapping of the link lists used in navboxes.
  • {{Nowrap begin}} – The recommended format for adding bullets, pipes, or dashes between list items. The page describes how to go about using them with proper wrapping.
  • {{Nobold}} – To display text at normal font-weight within a context where the default font-weight is bold, e.g. header cells in tables.
  • {{·}} and {{•}} – The dot and bullet commonly used to separate items in Navbox lists.

Navbox with columns

[sunting | sunting sumber]

Basic syntax

[sunting | sunting sumber]

Only required parameters and colwidth included.

{{Navbox with columns
|name  = {{subst:PAGENAME}}
|title =
|colwidth =  <!--(to set a default width for each column,
                  preferably in a proportional unit such as 'em'*)-->
|col1  =
|col2  =
}}
* See Em (typography). Using proportional units means the template should still be displayed correctly across a range of browser font-sizes. If colwidth not specified, a default 10em is used.

Parameters

[sunting | sunting sumber]

Required parameters in bold. Parameters marked with a cross are parameters in common with the sister templates {{Navbox}} and {{Navbox with collapsible groups}}. A much more complete description of those parameters is available at {{Navbox}}.

Setup parameters

[sunting | sunting sumber]
name
The name of the template. The name of this template, for example, is "Navbox with columns".
state
Possible values are collapsed, uncollapsed, plain, off, and the default autocollapse. See {{Navbox}} for more information.
navbar
Possible values are plain, off, and the default value of blank. See {{Navbox}} for more information.
border
Possible values are child, none, and the default value of blank. Set to child if you wish to use the navbox inside of another navbox; with this option, the child navbox is borderless and fits snuggly inside of its parent navbox. The parent navbox may be the list area of {{Navbox}}, a columns of another {{Navbox with columns}}, or a section of {{Navbox with collapsible groups}}. See {{Navbox}} for more information and examples.

Basic data parameters

[sunting | sunting sumber]
title
The title of the template, displayed centered in the titlebar at the top of the template.
above
Text or other elements to appear above the columns.
image
Image to the right of all of the columns.
imageleft
Image to the left of all of the columns.
below
Text or other elements to appear below the columns.

Style parameters

[sunting | sunting sumber]
bodystyle
CSS style/s to apply to the template's body (i.e. including space not used by columns)
titlestyle
CSS style/s to apply to titlebar; usually background:color (background defaults to NavHead default).
abovestyle
belowstyle
CSS style/s to apply to the above and below parameters, respectively.
basestyle
CSS style/s to apply to the title, above, and below, parameters, all at the same time.
imagestyle
CSS style/s to apply to the image parameter.
imageleftstyle
CSS style/s to apply to the imageleft parameter
colstyle
CSS style/s to apply across all columns; if used, usually background:color per titlestyle above.
oddcolstyle
evencolstyle
CSS style/s to apply to all odd/even-numbered columns, respectively.
colnstyle
CSS style/s to apply to the nth column only.
colheaderstyle
CSS style/s to apply to all column headers.
colnheaderstyle
CSS style/s to apply to the nth column header.
colnfooterstyle
CSS style/s to apply to the nth column footer cell.

Columns parameters

[sunting | sunting sumber]
colwidth
Width, preferably in a proportional unit such as 'em', or as a percentage, used for each column whose width not specified by colNwidth below. Defaults to 10em. Examples:
colwidth = 15em
colwidth = 25%
fullwidth
If set to anything, then the total width of the columns are scaled linearly to make the sum of the widths 100%. A rather advanced parameter, this usually need not be used and should be left blank. If a colheader or colfooter is used, then fullwidth is used automatically. Example:
fullwidth = true
padding
Padding before first column, preferably in a proportional unit. Defaults to 5em. Padding is disabled by setting it to 0 (or 0em, or 0%).
colnwidth
The nth column's width (overrides colwidth above).
coln
The content of the nth column. If any columns are used, then col1 is required. There can be a maximum of 20 columns.
colnheader
A header cell for the nth column that appears above the column. See below for examples.
colnfooter
A footer cell that appears below the nth column.
colnheadercolspan
A number specifying how many columns the nth column header should span. It defaults to 1. If it is greater than one, then do not specify column headers that it covers. For example, if col1headercolspan = 3, then leave col2header and col3header blank.
colnfootercolspan
A number specifying how many columns the nth column footer should span. It defaults to 1. If it is greater than one, then do not specify column footers that it covers. For example, if col1footercolspan = 3, then leave col2footer and col3footer blank.

Additional groups/lists

[sunting | sunting sumber]

You may wish to add a few extra groups and/or lists below the columns. The following parameters are given to provide such functionality. See {{Navbox}} for a more complete description of how they work, and for more examples.

groupn
Allows up to 6 additional groups to go along with the lists below the columns.
listn
Allows up to 6 additional lists below the columns.
groupstyle
The general CSS style/s for the groups.
groupnstyle
CSS style/s for the nth group parameter.
liststyle
The general CSS style/s for the lists.
listnstyle
CSS style/s for the nth list parameter.
listpadding
Amount of padding to have in each list cell.
oddstyle
evenstyle
Applies to odd/even list numbers. Overrules styles defined by liststyle. The default behavior is to add striped colors (white and gray) to odd/even rows, respectively, in order to improve readability. These should not be changed except in extraordinary circumstances.
evenodd [swap, even, odd, off]
See {{Navbox}} for description.

Basic example

[sunting | sunting sumber]
{{Navbox with columns
|name    = East Asia Summit (EAS)
|title   = Member states of the [[East Asia Summit|East Asia Summit (EAS)]]
|width   = 18.25em
|padding = 10em

|above = ''This is where the {{{above}}} would appear.''

|col1 = {{AUS}}<br/> {{BRU}}<br/> {{CAM}}<br/> {{IND}}
|col2 = {{IDN}}<br/> {{JPN}}<br/> {{LAO}}<br/> {{MAS}}
|col3 = {{MYA}}<br/> {{NZL}}<br/> {{CHN-PRC}}<br/> {{PHI}}
|col4width=17em
|col4 = {{SIN}}<br/> {{KOR}}<br/> {{THA}}<br/> {{VIE}}

|below = '''Potential future members'''{{spaces|6}}{{TLS}}{{spaces|3}}{{RUS}}
}}

Example with percentage widths

[sunting | sunting sumber]
{{Navbox with columns
| name = Plastics
| title = [[Plastic]]s
| colwidth = 33%
| colstyle = text-align: center
| col1 = [[Polyethylene]] (PE)<br />[[Polyethylene terephthalate]] (PET or PETE)<br />[[Polyvinyl chloride]] (PVC)<br />[[Polyvinylidene chloride]] (PVDC)<br />[[Polylactic acid]] (PLA)
| col2 = [[Polypropylene]] (PP)<br />[[Polyamide]] (PA)<br />[[Polycarbonate]] (PC)<br />[[Polytetrafluoroethylene]] (PTFE)<br />[[Polyurethane]] (PU)
| col3 = [[Polystyrene]] (PS)<br /> [[Polyester]]<br /> [[Acrylonitrile butadiene styrene]] (ABS)<br /> [[Acrylic glass|Polymethyl methacrylate]] (PMMA)<br /> [[Polyoxymethylene]] (POM)
}}

Example with colnheader and colnfooter

[sunting | sunting sumber]

The gray background for the columns is added for illustration only.

Example with colnheader using colnheadercolspan

[sunting | sunting sumber]

The gray background for the columns is added for illustration only. This example shows the colnheadercolspan parameter being used, but you may also use colnfootercolspan to adjust the span of the footer cells.

Example to illustrate most fields

[sunting | sunting sumber]

The gray background and centered text for the columns is for illustration only. The columns default to an off-white background and left text alignment. This example shows how you can use up to six additional groups/lists after the columns.

Using child navboxes

[sunting | sunting sumber]

All three types of navbox templates, namely {{Navbox}}, {{Navbox with columns}}, and {{Navbox with collapsible groups}}, can be nested inside of one another using the border parameter (which is common to all three). For complex templates, it may be necessary to use nesting to achieve a desired look.

Nesting Navbox with columns in itself

[sunting | sunting sumber]

This example shows how one can nest multiple {{Navbox with columns}} templates to get the right look. Edit this section to view the code. There is a main {{Navbox with columns}} and two additional {{Navbox with columns}} templates, with the "child" option set (see code).

Nesting other Navbox forms

[sunting | sunting sumber]

This example shows {{Navbox}}, {{Navbox with collapsible groups}} and {{Navbox with columns}} all working together. Press the edit button for the section to view the code. Note that each of the child navboxes has the first parameter set to child


Navbox subgroup

[sunting | sunting sumber]

Berikut ini adalag contoh Navbox subgroup yang digunakan dengan templat Navbox.

{{Navbox
| name   = Protected Areas of Colorado
| title  = Protected Areas of Colorado
| group1 = National Park Service
| list1  =
  {{Navbox subgroup
   |group1 = National Parks
   |list1  = [[Black Canyon of the Gunnison National Park|Black Canyon of the Gunnison]]{{•}} [[Great Sand Dunes National Park and Preserve|Great Sand Dunes]]{{•}} [[Mesa Verde National Park|Mesa Verde]]{{•}} [[Rocky Mountain National Park|Rocky Mountain]]
   |group2 = National Monuments
   |list2  = [[Colorado National Monument|Colorado]]{{•}} [[Florissant Fossil Beds National Monument|Florissant Fossil Beds]]{{•}} [[Hovenweep National Monument|Hovenweep]]{{•}} [[Yucca House National Monument|Yucca House]]
   |group3 = National Historic Sites
   |list3  = [[Bent's Old Fort National Historic Site|Bent's Old Fort]]{{•}} [[Sand Creek Massacre National Historic Site|Sand Creek Massacre]]
   |group4 = National Recreation Area
   |list4  = [[Curecanti National Recreation Area|Curecanti]]
  }}
| group2 = National Forests
| list2  = [[Arapaho National Forest|Arapaho]]{{•}} [[Grand Mesa National Forest|Grand Mesa]]{{•}} [[Gunnison National Forest|Gunnison]]{{•}} [[Pike National Forest|Pike]]{{•}} [[Rio Grande National Forest|Rio Grande]]{{•}} [[Roosevelt National Forest|Roosevelt]]{{•}} [[Medicine Bow - Routt National Forest|Medicine Bow - Routt]]{{•}} [[San Isabel National Forest|San Isabel]]{{•}} [[San Juan National Forest|San Juan]]{{•}} [[Uncompahgre National Forest|Uncompahgre]]{{•}} [[White River National Forest|White River]]
}}
{{Navbox
| name  = Roman Emperors
| title = Roman Emperors
| group1 = Crisis 235 AD - 284 AD
| list1  = [[Maximinus Thrax]]{{·}} [[Gordian I]]{{·}} [[Gordian II]]{{·}} [[Pupienus]] and [[Balbinus]]{{·}} [[Gordian III]]{{·}} [[Philip the Arab]]{{·}} [[Decius]]{{·}} [[Trebonianus Gallus]]{{·}} [[Aemilianus]]{{·}} [[Valerian (emperor)|Valerian]]{{·}} [[Gallienus]]{{·}} [[Claudius II]]{{·}} [[Quintillus]]{{·}} [[Aurelian]]{{·}} [[Marcus Claudius Tacitus]]{{·}} [[Florianus]]{{·}} [[Probus]]{{·}} [[Carus]]{{·}} [[Numerian]]{{·}} [[Carinus]]
| group2 = Dominate
| list2  =
  {{Navbox subgroup
   |list1style = background:#ddf;
   |list1 = '''284 AD - 395 AD'''
   |list2 = [[Diocletian]]{{·}} [[Maximian]]{{·}} [[Constantius Chlorus|Constantius I]]{{·}} [[Galerius]]{{·}} [[Flavius Valerius Severus|Severus II]]{{·}} [[Maxentius]]{{·}} [[Maximinus]]{{·}} [[Licinius]]{{·}} [[Constantine I]]{{·}} [[Constantine II (emperor)|Constantine II]]{{·}} [[Constans|Constans I]]{{·}} [[Constantius II]]{{·}} [[Julian the Apostate]]{{·}} [[Jovian]]{{·}} [[Valentinian I]]{{·}} [[Valens]]{{·}} [[Gratian]]{{·}} [[Valentinian II]]{{·}} [[Eugenius]]{{·}} [[Theodosius I]]
   |list3style = background:#ddf;
   |list3 = '''Western Empire (393 AD - 476 AD)'''
   |list4 = [[Honorius (emperor)|Honorius]]{{·}} [[Constantius III]]{{·}} [[Joannes]]{{·}} [[Valentinian III]]{{·}} [[Petronius Maximus]]{{·}} [[Avitus]]{{·}} [[Majorian]]{{·}} [[Libius Severus]]{{·}} [[Anthemius]]{{·}} [[Olybrius]]{{·}} [[Glycerius]]{{·}} [[Julius Nepos]]{{·}} [[Romulus Augustus]]
  }}
}}

Navbox with collapsible groups

[sunting | sunting sumber]

kode:

{{Navbox
|name = {{{name|<noinclude>Navbox with collapsible sections</noinclude>}}}
|navbar = {{{navbar|}}}
|state = {{{state<noinclude>|uncollapsed</noinclude>}}}
|border = {{{border|{{{1|}}}}}}

|title = {{{title<includeonly>|</includeonly>}}}
|above = {{{above|}}}
|below = {{{below|}}}
|image = {{{image|}}}
|imageleft = {{{imageleft|}}}

|style = {{{style|}}}{{{bodystyle|}}}
|basestyle = {{{basestyle|}}}
|titlestyle = {{{titlestyle|}}}
|abovestyle = {{{abovestyle|}}}
|belowstyle = {{{belowstyle|}}}
|imagestyle = {{{imagestyle|}}}
|imageleftstyle = {{{imageleftstyle|}}}

|list1 =
{{#if:{{{group1<includeonly>|</includeonly>}}}{{{sect1|}}}
 | {{Navbox|child
    |state = {{#ifeq:{{{selected}}}|{{{abbr1}}} |uncollapsed |{{{state1|collapsed}}}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group1style|}}}
    |liststyle  = {{{liststyle|}}}{{{list1style|}}}
    |title = {{{group1<includeonly>|</includeonly>}}}{{{sect1|}}}
    |list1 = {{{list1<includeonly>|</includeonly>}}}
    |image = {{{image1|}}}
    |imageleft = {{{imageleft1|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
   }}
 | {{{list1|}}}
}}

|list2 =
{{#if:{{{group2<includeonly>|</includeonly>}}}{{{sect2|}}}
 | {{Navbox|child
    |state = {{#ifeq:{{{selected}}}|{{{abbr2}}} |uncollapsed |{{{state2|collapsed}}}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group2style|}}}
    |liststyle  = {{{liststyle|}}}{{{list2style|}}}
    |title = {{{group2<includeonly>|</includeonly>}}}{{{sect2|}}}
    |list1 = {{{list2<includeonly>|</includeonly>}}}
    |image = {{{image2|}}}
    |imageleft = {{{imageleft2|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
   }}
 | {{{list2|}}}
}}

|list3 =
{{#if:{{{group3<includeonly>|</includeonly>}}}{{{sect3|}}}
 | {{Navbox|child
    |state = {{#ifeq:{{{selected}}}|{{{abbr3}}} |uncollapsed |{{{state3|collapsed}}}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group3style|}}}
    |liststyle  = {{{liststyle|}}}{{{list3style|}}}
    |title = {{{group3<includeonly>|</includeonly>}}}{{{sect3|}}}
    |list1 = {{{list3<includeonly>|</includeonly>}}}
    |image = {{{image3|}}}
    |imageleft = {{{imageleft3|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
   }}
 | {{{list3|}}}
}}

|list4 =
{{#if:{{{group4<includeonly>|</includeonly>}}}{{{sect4|}}}
 | {{Navbox|child
    |state = {{#ifeq:{{{selected}}}|{{{abbr4}}} |uncollapsed |{{{state4|collapsed}}}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group4style|}}}
    |liststyle  = {{{liststyle|}}}{{{list4style|}}}
    |title = {{{group4<includeonly>|</includeonly>}}}{{{sect4|}}}
    |list1 = {{{list4<includeonly>|</includeonly>}}}
    |image = {{{image4|}}}
    |imageleft = {{{imageleft4|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
   }}
 | {{{list4|}}}
}}

|list5 =
{{#if:{{{group5|}}}{{{sect5|}}}
 | {{Navbox|child
    |state = {{#ifeq:{{{selected}}}|{{{abbr5}}} |uncollapsed |{{{state5|collapsed}}}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group5style|}}}
    |liststyle  = {{{liststyle|}}}{{{list5style|}}}
    |title = {{{group5<includeonly>|</includeonly>}}}{{{sect5|}}}
    |list1 = {{{list5<includeonly>|</includeonly>}}}
    |image = {{{image5|}}}
    |imageleft = {{{imageleft5|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
   }}
 | {{{list5|}}}
}}

|list6 =
{{#if:{{{group6|}}}{{{sect6|}}}
 | {{Navbox|child
    |state = {{#ifeq:{{{selected}}}|{{{abbr6}}} |uncollapsed |{{{state6|collapsed}}}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group6style|}}}
    |liststyle  = {{{liststyle|}}}{{{list6style|}}}
    |title = {{{group6<includeonly>|</includeonly>}}}{{{sect6|}}}
    |list1 = {{{list6<includeonly>|</includeonly>}}}
    |image = {{{image6|}}}
    |imageleft = {{{imageleft6|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
   }}
 | {{{list6|}}}
}}

|list7 =
{{#if:{{{group7|}}}{{{sect7|}}}
 | {{Navbox|child
    |state = {{#ifeq:{{{selected}}}|{{{abbr7}}} |uncollapsed |{{{state7|collapsed}}}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group7style|}}}
    |liststyle  = {{{liststyle|}}}{{{list7style|}}}
    |title = {{{group7<includeonly>|</includeonly>}}}{{{sect7|}}}
    |list1 = {{{list7<includeonly>|</includeonly>}}}
    |image = {{{image7|}}}
    |imageleft = {{{imageleft7|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
   }}
 | {{{list7|}}}
}}

|list8 =
{{#if:{{{group8|}}}{{{sect8|}}}
 | {{Navbox|child
    |state = {{#ifeq:{{{selected}}}|{{{abbr8}}} |uncollapsed |{{{state8|collapsed}}}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group8style|}}}
    |liststyle  = {{{liststyle|}}}{{{list8style|}}}
    |title = {{{group8<includeonly>|</includeonly>}}}{{{sect8|}}}
    |list1 = {{{list8<includeonly>|</includeonly>}}}
    |image = {{{image8|}}}
    |imageleft = {{{imageleft8|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
   }}
 | {{{list8|}}}
}}

|list9 =
{{#if:{{{group9|}}}{{{sect9|}}}
 | {{Navbox|child
    |state = {{#ifeq:{{{selected}}}|{{{abbr9}}} |uncollapsed |{{{state9|collapsed}}}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group9style|}}}
    |liststyle  = {{{liststyle|}}}{{{list9style|}}}
    |title = {{{group9<includeonly>|</includeonly>}}}{{{sect9|}}}
    |list1 = {{{list9<includeonly>|</includeonly>}}}
    |image = {{{image9|}}}
    |imageleft = {{{imageleft9|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
   }}
 | {{{list9|}}}
}}

|list10 =
{{#if:{{{group10|}}}{{{sect10|}}}
 | {{Navbox|child
    |state = {{#ifeq:{{{selected}}}|{{{abbr10}}} |uncollapsed |{{{state10|collapsed}}}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group10style|}}}
    |liststyle  = {{{liststyle|}}}{{{list1style|}}}
    |title = {{{group10<includeonly>|</includeonly>}}}{{{sect10|}}}
    |list1 = {{{list10<includeonly>|</includeonly>}}}
    |image = {{{image10|}}}
    |imageleft = {{{imageleft10|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
   }}
 | {{{list10|}}}
}}

|list11 =
{{#if:{{{group11|}}}{{{sect11|}}}
 | {{Navbox|child
    |state = {{#ifeq:{{{selected}}}|{{{abbr11}}} |uncollapsed |{{{state11|collapsed}}}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group11style|}}}
    |liststyle  = {{{liststyle|}}}{{{list1style|}}}
    |title = {{{group11<includeonly>|</includeonly>}}}{{{sect11|}}}
    |list1 = {{{list11<includeonly>|</includeonly>}}}
    |image = {{{image11|}}}
    |imageleft = {{{imageleft11|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
   }}
 | {{{list11|}}}

}}

|list12 =
{{#if:{{{group12|}}}{{{sect12|}}}
 | {{Navbox|child
    |state = {{#ifeq:{{{selected}}}|{{{abbr12}}} |uncollapsed |{{{state12|collapsed}}}}}
    |titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group12style|}}}
    |liststyle  = {{{liststyle|}}}{{{list1style|}}}
    |title = {{{group12<includeonly>|</includeonly>}}}{{{sect12|}}}
    |list1 = {{{list12<includeonly>|</includeonly>}}}
    |image = {{{image12|}}}
    |imageleft = {{{imageleft12|}}}
    |{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
   }}
 | {{{list12|}}}

}}
}}

menghasilkan:


Templat silsilah

[sunting | sunting sumber]

Templat familytree digunakan untuk membuat silsilah. Templat ini berasal dari en.wiki-indonesia.club/wiki/template:familytree.

Contoh:
code:

{{familytree/start}}
{{familytree | | | | GRM |~|y|~| GRP | | GRM=Grandma|GRP=Grandpa}}
{{familytree | | | | | | | |)|-|-|-|.| }}
{{familytree | | | MOM |y| DAD | |DAISY| MOM=Mom|DAD=Dad|DAISY=[[Aunt Daisy]]}}
{{familytree | |,|-|-|-|+|-|-|-|.| | | }}
{{familytree | JOE | | ME  | | SIS | | | JOE=My brother Joe|ME='''Me!'''|SIS=My little sister}}
{{familytree/end}}

Menghasilkan:

 
 
 
Grandma
 
 
 
Grandpa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Mom
 
Dad
 
Aunt Daisy
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
My brother Joe
 
Me!
 
My little sister
 
 


Templat yang digunakan

[sunting | sunting sumber]

Parameter yang digunakan

[sunting | sunting sumber]

Parameter-parameter yang digunakan di templat "familytree"

[sunting | sunting sumber]
Utuh:
,
 
 
 
 
v
 
 
 
.
 
 
 
)
 
 
 
+
 
 
 
 
(
 
 
 
`
 
 
 
^
 
 
 
'
 
 
 
-
 
 
!
 
 
 
Putus-putus:
F
 
 
 
 
V
 
 
 
7
 
 
 
D
 
 
 
%
 
 
 
 
C
 
 
 
L
 
 
 
A
 
 
 
J
 
 
 
~
 
 
:
 
 
 
Campur (1):
r
 
 
 
 
y
 
 
 
n
 
 
 
]
 
 
 
#
 
 
 
 
[
 
 
 
c
 
 
 
h
 
 
 
j
 
 
 
~
 
 
!
 
 
 
Campur (2):
p
 
 
 
 
u
 
 
 
q
 
 
 
}
 
 
 
*
 
 
 
 
{
 
 
 
b
 
 
 
t
 
 
 
d
 
 
 
-
 
 
:
 
 
 
Lainnya:
T
 
 
 
 
G
 
 
 
 
X
 
 
 
 
K
 
 
 
k
 
 
 
U
 
 
 


Menambahkan warna latar belakang ke kotak

[sunting | sunting sumber]

Kode:

{{familytree/start}}
{{familytree|border=0|boxstyle=background:#dfd;| | FOO |y| BAR | |FOO=Box 1|BAR=Box 2}}
{{familytree|border=0|boxstyle=background:#dfd;| | |,|-|^|-|.| | }}
{{familytree|border=0|boxstyle=background:#dfd;| | FOO | | BAR | |FOO=Box 3|BAR=Box 4}}
{{familytree/end}}

menghasilkan:

 
Box 1
 
Box 2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Box 3
 
Box 4
 


kode:

{{familytree/start |White box with three children Red box, Green box, Blue box, all married to each other}}
{{familytree| | | | |WHITE| | | | |WHITE=White box}}
{{familytree| |,|-|-|'|!|`|-|-|.| }}
{{familytree|RED  |~|GREEN|~|BLUE |RED=Red box|GREEN=Green box|BLUE=Blue box
|boxstyle_RED  =background-color: #faa;
|boxstyle_GREEN=background-color: #afa;
|boxstyle_BLUE =background-color: #aaf;
}}
{{familytree/end}}

menghasilkan:

 
 
 
 
White box
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Red box
 
Green box
 
Blue box
 
 


Daftar warna

[sunting | sunting sumber]
Nama Warna kode Hex
RGB
kode Desimal
RGB
Warna dasar Merah
IndianRed CD 5C 5C 205 92 92
LightCoral F0 80 80 240 128 128
Salmon FA 80 72 250 128 114
DarkSalmon E9 96 7A 233 150 122
LightSalmon FF A0 7A 255 160 122
Crimson DC 14 3C 220 20 60
Red FF 00 00 255 0 0
FireBrick B2 22 22 178 34 34
DarkRed 8B 00 00 139 0 0
Warna dasar Merah Jambu
Pink FF C0 CB 255 192 203
LightPink FF B6 C1 255 182 193
HotPink FF 69 B4 255 105 180
DeepPink FF 14 93 255 20 147
MediumVioletRed C7 15 85 199 21 133
PaleVioletRed DB 70 93 219 112 147
Warna dasar Oranye
LightSalmon FF A0 7A 255 160 122
Coral FF 7F 50 255 127 80
Tomato FF 63 47 255 99 71
OrangeRed FF 45 00 255 69 0
DarkOrange FF 8C 00 255 140 0
Orange FF A5 00 255 165 0
Warna dasar Kuning
Gold FF D7 00 255 215 0
Yellow FF FF 00 255 255 0
LightYellow FF FF E0 255 255 224
LemonChiffon FF FA CD 255 250 205
LightGoldenrodYellow FA FA D2 250 250 210
PapayaWhip FF EF D5 255 239 213
Moccasin FF E4 B5 255 228 181
PeachPuff FF DA B9 255 218 185
PaleGoldenrod EE E8 AA 238 232 170
Khaki F0 E6 8C 240 230 140
DarkKhaki BD B7 6B 189 183 107
Warna dasar Ungu
Lavender E6 E6 FA 230 230 250
Thistle D8 BF D8 216 191 216
Plum DD A0 DD 221 160 221
Violet EE 82 EE 238 130 238
Orchid DA 70 D6 218 112 214
Fuchsia FF 00 FF 255 0 255
Magenta FF 00 FF 255 0 255
MediumOrchid BA 55 D3 186 85 211
MediumPurple 93 70 DB 147 112 219
BlueViolet 8A 2B E2 138 43 226
DarkViolet 94 00 D3 148 0 211
DarkOrchid 99 32 CC 153 50 204
DarkMagenta 8B 00 8B 139 0 139
Purple 80 00 80 128 0 128
Indigo 4B 00 82 75 0 130
SlateBlue 6A 5A CD 106 90 205
DarkSlateBlue 48 3D 8B 72 61 139
Warna dasar Hijau
GreenYellow AD FF 2F 173 255 47
Chartreuse 7F FF 00 127 255 0
LawnGreen 7C FC 00 124 252 0
Lime 00 FF 00 0 255 0
LimeGreen 32 CD 32 50 205 50
PaleGreen 98 FB 98 152 251 152
LightGreen 90 EE 90 144 238 144
MediumSpringGreen 00 FA 9A 0 250 154
SpringGreen 00 FF 7F 0 255 127
MediumSeaGreen 3C B3 71 60 179 113
SeaGreen 2E 8B 57 46 139 87
ForestGreen 22 8B 22 34 139 34
Green 00 80 00 0 128 0
DarkGreen 00 64 00 0 100 0
YellowGreen 9A CD 32 154 205 50
OliveDrab 6B 8E 23 107 142 35
Olive 80 80 00 128 128 0
DarkOliveGreen 55 6B 2F 85 107 47
MediumAquamarine 66 CD AA 102 205 170
DarkSeaGreen 8F BC 8F 143 188 143
LightSeaGreen 20 B2 AA 32 178 170
DarkCyan 00 8B 8B 0 139 139
Teal 00 80 80 0 128 128
Nama Warna kode Hex
RGB
kode Desimal
RGB
Warna dasar Biru
Aqua 00 FF FF 0 255 255
Cyan 00 FF FF 0 255 255
LightCyan E0 FF FF 224 255 255
PaleTurquoise AF EE EE 175 238 238
Aquamarine 7F FF D4 127 255 212
Turquoise 40 E0 D0 64 224 208
MediumTurquoise 48 D1 CC 72 209 204
DarkTurquoise 00 CE D1 0 206 209
CadetBlue 5F 9E A0 95 158 160
SteelBlue 46 82 B4 70 130 180
LightSteelBlue B0 C4 DE 176 196 222
PowderBlue B0 E0 E6 176 224 230
LightBlue AD D8 E6 173 216 230
SkyBlue 87 CE EB 135 206 235
LightSkyBlue 87 CE FA 135 206 250
DeepSkyBlue 00 BF FF 0 191 255
DodgerBlue 1E 90 FF 30 144 255
CornflowerBlue 64 95 ED 100 149 237
MediumSlateBlue 7B 68 EE 123 104 238
RoyalBlue 41 69 E1 65 105 225
Blue 00 00 FF 0 0 255
MediumBlue 00 00 CD 0 0 205
DarkBlue 00 00 8B 0 0 139
Navy 00 00 80 0 0 128
MidnightBlue 19 19 70 25 25 112
Warna dasar Coklat
Cornsilk FF F8 DC 255 248 220
BlanchedAlmond FF EB CD 255 235 205
Bisque FF E4 C4 255 228 196
NavajoWhite FF DE AD 255 222 173
Wheat F5 DE B3 245 222 179
BurlyWood DE B8 87 222 184 135
Tan D2 B4 8C 210 180 140
RosyBrown BC 8F 8F 188 143 143
SandyBrown F4 A4 60 244 164 96
Goldenrod DA A5 20 218 165 32
DarkGoldenrod B8 86 0B 184 134 11
Peru CD 85 3F 205 133 63
Chocolate D2 69 1E 210 105 30
SaddleBrown 8B 45 13 139 69 19
Sienna A0 52 2D 160 82 45
Brown A5 2A 2A 165 42 42
Maroon 80 00 00 128 0 0
Warna dasar Putih
White FF FF FF 255 255 255
Snow FF FA FA 255 250 250
Honeydew F0 FF F0 240 255 240
MintCream F5 FF FA 245 255 250
Azure F0 FF FF 240 255 255
AliceBlue F0 F8 FF 240 248 255
GhostWhite F8 F8 FF 248 248 255
WhiteSmoke F5 F5 F5 245 245 245
Seashell FF F5 EE 255 245 238
Beige F5 F5 DC 245 245 220
OldLace FD F5 E6 253 245 230
FloralWhite FF FA F0 255 250 240
Ivory FF FF F0 255 255 240
AntiqueWhite FA EB D7 250 235 215
Linen FA F0 E6 250 240 230
LavenderBlush FF F0 F5 255 240 245
MistyRose FF E4 E1 255 228 225
Warna dasar Abu-abu
Gainsboro DC DC DC 220 220 220
LightGrey D3 D3 D3 211 211 211
Silver C0 C0 C0 192 192 192
DarkGray A9 A9 A9 169 169 169
Gray 80 80 80 128 128 128
DimGray 69 69 69 105 105 105
LightSlateGray 77 88 99 119 136 153
SlateGray 70 80 90 112 128 144
DarkSlateGray 2F 4F 4F 47 79 79
Black 00 00 00 0 0 0


Magic words

[sunting | sunting sumber]

General information

[sunting | sunting sumber]

There are three types of magic words:

  • Behavior switches: uppercase words surrounded by double underscores, e.g. __NOTOC__, or keywords using parser function syntax
  • Variables: uppercase words surrounded by double braces, e.g. {{PAGENAME}} (thus resembling templates)
  • Parser functions: keywords (some beginning #) in double braces with parameters after a colon, e.g. {{#expr:2+2}}

Some magic words are case-insensitive, but not all. Whitespace is stripped from the start and end of keywords and parameters, as in template syntax.

Page-dependent magic words will affect or return data about the current page, even if the word is added through a transcluded template or included system message.

It is possible to substitute parser functions and variables in the same way that templates are substituted (using the subst: keyword). This causes their current value (as evaluated at the time of substitution) to be written into the wikitext.

Behavior switches

[sunting | sunting sumber]

For documentation, refer to the Behavior Switches section of the MediaWiki page.

  • __NOTOC__ (can appear anywhere in the wikitext; suppresses the table of contents)
  • __FORCETOC__ (can appear anywhere in the wikitext; makes a table of contents appear in its normal position above the first header)
  • __TOC__ (places a table of contents at the word's position)
  • __NOEDITSECTION__ (hides the section edit links beside headings)
  • __NEWSECTIONLINK__ (adds a "+" link for adding a new section on a non-"Talk" page)
  • __NONEWSECTIONLINK__ (removes the "+" link on "Talk" pages)
  • __NOGALLERY__ (on a category page, replaces thumbnails with normal links)
  • __HIDDENCAT__ (on a category page, makes it a hidden category)
  • __INDEX__ (tells search engines to index the page)
  • __NOINDEX__ (tells search engines not to index the page)
  • {{DISPLAYTITLE:title}} (changes the displayed form of the page title)
  • {{DEFAULTSORT:sortkey}} (sets a default category sort key)

Variables

[sunting | sunting sumber]

For documentation, refer to the Variables section of the MediaWiki page.

  • {{FULLPAGENAME}} (page title including namespace)
  • {{PAGENAME}} (page title excluding namespace)
  • {{BASEPAGENAME}} (page title excluding current subpage and namespace - effectively the parent page without the namespace.)
  • {{SUBPAGENAME}} (subpage part of title)
  • {{SUBJECTPAGENAME}} (associated non-talk page)
  • {{TALKPAGENAME}} (associated talk page)
  • {{NAMESPACE}} (namespace of current page)
  • {{SUBJECTSPACE}}, {{ARTICLESPACE}} (associated non-talk namespace)
  • {{TALKSPACE}} (associated talk namespace)
  • {{FULLPAGENAMEE}}, {{NAMESPACEE}} etc. (equivalents encoded for use in MediaWiki URLs)

The above can all take a parameter, to operate on a page other than the current page.

  • {{SITENAME}} (Wikipedia)
  • {{SERVER}} (//wiki-indonesia.club)
  • {{SERVERNAME}} (wiki-indonesia.club)
  • {{SCRIPTPATH}} (/w)
  • {{CURRENTVERSION}} (current MediaWiki version)
  • {{REVISIONID}} (latest revision to current page)
  • {{REVISIONDAY}}, {{REVISIONDAY2}}, {{REVISIONMONTH}}, {{REVISIONYEAR}}, {{REVISIONTIMESTAMP}}, {{REVISIONUSER}} (date, time, editor at last edit)
  • {{CURRENTYEAR}}, {{CURRENTMONTH}}, {{CURRENTMONTHNAME}}, {{CURRENTMONTHABBREV}}, {{CURRENTDAY}}, {{CURRENTDAY2}}, {{CURRENTDOW}}, {{CURRENTDAYNAME}}, {{CURRENTTIME}}, {{CURRENTHOUR}}, {{CURRENTWEEK}}, {{CURRENTTIMESTAMP}} (current date/time variables)
  • {{LOCALYEAR}} etc. (as above, based on site's local time)
  • {{NUMBEROFPAGES}}, {{NUMBEROFARTICLES}}, {{NUMBEROFFILES}}, {{NUMBEROFEDITS}}, {{NUMBEROFVIEWS}}, {{NUMBEROFUSERS}}, {{NUMBEROFADMINS}}, {{NUMBEROFACTIVEUSERS}} (statistics on English Wikipedia; add :R to return numbers without commas)

Parser functions

[sunting | sunting sumber]

These are documented at the main documentation page unless otherwise stated.

  • {{PAGESIZE:page name}} (size of page in bytes)
  • {{PROTECTIONLEVEL:action}} (protection level for given action on the current page)
  • {{PAGESINCATEGORY:categoryname}} (number of pages in the given category)
  • {{NUMBERINGROUP:groupname}} (number of users in a specific group)

Add |R to return numbers without commas.

Formatting

[sunting | sunting sumber]
  • {{lc:string}} (convert to lower case)
  • {{lcfirst:string}} (convert first character to lower case)
  • {{uc:string}} (convert to upper case)
  • {{ucfirst:string}} (convert first character to upper case)
  • {{formatnum:unformatted num}} (format a number with comma separators; add |R to unformat a number)
  • {{#formatdate:date|format}} (formats a date according to user preferences; a default can be given as an optional case-sensitive second parameter for users without date preference; can convert a date from an existing format to any of dmy, mdy, ymd or ISO 8601 formats, with the user's preference overriding the specified format)
  • {{padleft:xyz|stringlength}}, {{padright:xyz|stringlength}} (pad with zeros to the right or left; an alternative padding string can be given as a third parameter; the alternative padding string may be truncated if its length does not evenly divide the required number of characters)
  • {{plural:n|is|are}} (produces alternative text according to whether n is greater than 1)
  • {{#time:format string|date/time object}} (for date/time formatting; also #timel for local time. Covered at the extension documentation page.)
  • {{gender:username|masculine|female|neutral}} (produces alternate text according to the gender specified by the given user in his/her preferences)
  • {{localurl:page name}}, {{localurl:page name|query string}} (relative path to the title)
  • {{fullurl:page name}}, {{fullurl:page name|query_string}} (absolute path to the title)
  • {{filepath:file name}} (absolute URL to a media file)
  • {{urlencode:string}} (input encoded for use in URLs)
  • {{anchorencode:string}} (input encoded for use in URL section anchors)
  • {{ns:n}} (name for the namespace with index n; use {{nse:}} for the equivalent encoded for MediaWiki URLs)
  • {{#rel2abs: path }} (converts a relative file path to absolute; see the extension documentation)
  • {{#titleparts: pagename | number of segments to return | first segment to return }} (splits title into parts; see the extension documentation)

Conditional expressions

[sunting | sunting sumber]

These are covered at the extension documentation page. Some parameters are optional.

  • {{#expr: expression }} (evaluates the given expression; see Help:Calculation)
  • {{#if: test string | value if non-empty | value if empty }} (selects one of two values based on whether the test string is empty)
  • {{#ifeq: string 1 | string 2 | value if equal | value if unequal }} (selects one of two values based on whether the test strings are equal – numerically if applicable)
  • {{#iferror: test string | value if error | value if correct }} (selects value based on whether the test string generates a parser error)
  • {{#ifexpr: expression | value if true | value if false }} (selects value based on evaluation of expression)
  • {{#ifexist: page title | value if exists | value if doesn't exist }} (selects value depending on whether a page title exists)
  • {{#switch: test | case1 = value for case 1 | ... | default }} (provides alternatives based on the value of the test string)

For the use of these functions in tables, see Conditional tables.


Scroll bar

[sunting | sunting sumber]
<div style="height: [xxx]px; width: [xxx]%; overflow: auto; padding: [xxx]px; text-align: [xxx]; border:[xxx]px solid [color];">...</div>

Blinking text

[sunting | sunting sumber]
<span style="text-decoration:blink; background:#[xxx]">...</span>
[sunting | sunting sumber]
<span class="plainlinks">...</span>