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)
m
 
(8 intermediate revisions by the same user not shown)
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>{| style="border-collapse:collapse; margin-left:-2px; margin-top:2px;"
 +
| class="color-NavBox" style="width:12em; padding-left:5px; height=100%; font-weight:bold;" |{{{1}}}
 +
| style="padding-left:5px;" | {{Hlist|{{{2}}}}}
 +
|}</includeonly>

Latest revision as of 08:42, 26 July 2021

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>
}}