Alswo96284 (토론 | 기여) (fix suggested by DarkShadowTNT) |
Leehan020816 (토론 | 기여) 편집 요약 없음 |
||
(같은 사용자의 중간 판 하나는 보이지 않습니다) | |||
1번째 줄: | 1번째 줄: | ||
+ | |||
<includeonly>{{#ifeq: {{{1}}} | child || <table class="navbox" cellpadding="0" cellspacing="0" style="border: 1px solid #ccc; margin: 1em auto 0em; clear: both; {{{bodystyle|}}}"> |
<includeonly>{{#ifeq: {{{1}}} | child || <table class="navbox" cellpadding="0" cellspacing="0" style="border: 1px solid #ccc; margin: 1em auto 0em; clear: both; {{{bodystyle|}}}"> |
||
<tr><td> |
<tr><td> |
2017년 12월 9일 (토) 11:05 판
[캐시 제거]
이 문서는 설명문서입니다. 틀 페이지 본문에 삽입되어야 합니다. 자세한 정보는 틀:Documentation를 참조하십시오.This template should be used to in navbox templates, which should then be included at the bottom of each page that is linked in the template.
Usage
Parameter(s) | Usage | Default value(s) |
---|---|---|
{{{name}}} | Should be identical to the template's name without namespace. Does nothing unless {{{1}}} is set to navbar or navbar-mini. | {{{name}}} |
{{{title}}} | Sets the title used at the top of the navbox. | {{{title}}} |
{{{class}}} | Allows you to change the collapsing state of the table. More info. Collapsed is removed while on pages in the Template namespace, to make editing easier. | collapsible collapsed |
{{{1}}} | navbar: Will add a navigation bar giving links to view, discuss, and edit the template. Requires {{{name}}} to be set. Note: This will only correctly link to templates that are actually in the Template: namespace.
navbar-mini: Identical to navbar, except the titles of the links are v, d, and e instead of view, discuss, and edit. |
None |
{{{titlestyle}}} | Allows custom styling for the title area | None |
{{{bodystyle}}} | Allows custom styling for the body area | None |
{{{groupstyle}}} | Allows custom styling for the group area | None |
{{{liststyle}}} | Allows custom styling for the list area | None |
{{{groupn}}} | Adds the heading for the group number specified | {{{group1}}} = {{{group1}}} {{{group2+}}} = None |
{{{listn}}} | Adds text for the list number specified | {{{list1}}} = {{{list1}}} {{{list2+}}} = None |
Example
{{navbox | title = Example | group1 = Example group 1 | list1 = Example list 1 | group2 = Example group 2 | list2 = Text above a child navbox {{navbox | group1 = Example Sub-group 1 | list1 = Example Sub-list 1 | group2 = Example Sub-group 2 | list2 = Example Sub-list 2<br>Taking up two lines | group3 = Example Sub-group 3 | list3 = Example Sub-list 3 }} * Horizontal list * Under a child navbox }}
|
함께 보기
{{SimpleNavbox}}