Currently there may be errors shown on top of a page, because of a missing Wiki update (PHP version and extension DPL3).
Navigation
Topics Help • Register • News • History • How to • Sequences statistics • Template prototypes

Difference between revisions of "Template:Navbox Main"

From Prime-Wiki
Jump to: navigation, search
(margin top)
m
Line 7: Line 7:
 
| title    = Test
 
| title    = Test
 
| subitem1 = Sub1
 
| subitem1 = Sub1
| content1 =*[[Main Page]]
+
| content1 =
 +
*[[Main Page]]
 
*[[Prime]]
 
*[[Prime]]
 +
*[[Number]]
 
| subitem2 = Sub2
 
| subitem2 = Sub2
| content2 =*[[Test]]
+
| content2 =
 +
*[[Test]]
 +
*[[Project]]
 
}}
 
}}
 
</pre>
 
</pre>
Line 18: Line 22:
 
| title    = Test
 
| title    = Test
 
| subitem1 = Sub1
 
| subitem1 = Sub1
| content1 =*[[Main Page]]
+
| content1 =
 +
*[[Main Page]]
 
*[[Prime]]
 
*[[Prime]]
 +
*[[Number]]
 
| subitem2 = Sub2
 
| subitem2 = Sub2
| content2 =*[[Test]]
+
| content2 =
 +
*[[Examples]]
 +
*[[Project]]
 
}}
 
}}
  

Revision as of 12:08, 7 March 2019

Template: Navbox Main

Example

{{Navbox Main
| title    = Test
| subitem1 = Sub1
| content1 =
*[[Main Page]]
*[[Prime]]
*[[Number]]
| subitem2 = Sub2
| content2 =
*[[Test]]
*[[Project]]
}}

will create this

Test

Up to 10 subitems are maintained at once.

Paramters

{{Navbox Main
| title    =
| subitem1 =
| content1 =
| subitem2 =
| content2 =
| subitem3 =
| content3 =
| subitem4 =
| content4 =
| subitem5 =
| content5 =
| subitem6 =
| content6 =
| subitem7 =
| content7 =
| subitem8 =
| content8 =
| subitem9 =
| content9 =
| subitem10 =
| content10 =
}}