Template:Navbox: Difference between revisions

From Vintage Story Wiki
no edit summary
(New navbox template)
No edit summary
Line 2: Line 2:


{{WIP}}
{{WIP}}
<big>''Note that the example template below is still showing as [[Template:Content]] due to the above redirect. Until a navbox is made that can replace the latter, the new template looks as follows:</big>
{{User:Sana/Sandbox/Template:Sana_template
|title = Example navbox
|group1 = Group 1
|cnt1 = Group 1 content
|group2 = Group 2
|cnt2 = {{User:Sana/Sandbox/Template:Sana_template
  |child = true
  |group1 = Group 2.1
  |cnt1 = Group 2.1 content
  |group2 = Group 2.2
  |cnt2 = Group 2.2 content
  |group3 = Group 2.3
  |cnt3 = Group 2.3 content
  }}
|group3 = Group 3
|cnt3 = Group 3 content<br/>
With a second line
}}


<includeonly><div style="margin: auto; {{#if: {{{child|}}} |margin: -3px; |padding: 4px;  border-color: #382b1e; border-width: 3px; border-style: solid; margin: auto; width: 90%; border-radius: 4px; background-color: #e0cfbb;"}}>
<includeonly><div style="margin: auto; {{#if: {{{child|}}} |margin: -3px; |padding: 4px;  border-color: #382b1e; border-width: 3px; border-style: solid; margin: auto; width: 90%; border-radius: 4px; background-color: #e0cfbb;"}}>
Confirmedusers, Interface administrators
1,131

edits