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 Subitem"

From Prime-Wiki
Jump to: navigation, search
(using Hlist template)
(naxbox)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
Creates a subitem in a InfoboxMain:
+
Creates a subitem in a [[:Template:Navbox Main|Navbox Main]]:
  
 
==Parameter==
 
==Parameter==
Line 8: Line 8:
 
==Example==
 
==Example==
 
<pre>
 
<pre>
{{InfoboxSubitem
+
{{Navbox Subitem
 
| Examples
 
| Examples
 
|*[[Examples]]
 
|*[[Examples]]
Line 18: Line 18:
  
 
<div style="overflow:auto">
 
<div style="overflow:auto">
{{InfoboxSubitem
+
{{Navbox Subitem
 
| Examples
 
| Examples
 
|*[[Examples]]
 
|*[[Examples]]
Line 29: Line 29:
 
==Template==
 
==Template==
 
<pre>
 
<pre>
{{InfoboxSubitem
+
{{Navbox Subitem
 
| <title>
 
| <title>
 
| <itemlist>
 
| <itemlist>
 
}}
 
}}
 
</pre>
 
</pre>
[[Category:Infoboxes|Subitem]]</noinclude><includeonly><div style="float:left; margin-top:5px; padding-left:5px; width:15%; background-color:SkyBlue; font-weight:bold;">{{{1}}}</div><div style="float:left; margin-top:5px; padding-left:5px; width:84%;">{{Hlist|{{{2}}}}}</div></includeonly>
+
[[Category:Navboxes| Subitem]]</noinclude><includeonly><div style="float:left; margin-top:5px; padding-left:5px; width:15%; background-color:SkyBlue; font-weight:bold;">{{{1}}}</div><div style="float:left; margin-top:5px; padding-left:5px; width:84%;">{{Hlist|{{{2}}}}}</div></includeonly>

Revision as of 09:36, 7 March 2019

Creates a subitem in a Navbox Main:

Parameter

  • title
  • list of subitems/links

Example

{{Navbox Subitem
| Examples
|*[[Examples]]
*[[:Category:Templates|Templates]]
*[[Prime]]
*[[Main Page]]
}}
Examples

Template

{{Navbox Subitem
| <title>
| <itemlist>
}}