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
m
(using Hlist template)
Line 4: Line 4:
 
==Parameter==
 
==Parameter==
 
*title
 
*title
*(list of) subitem/links (delimited by <code>;</code>, replaced by <code>&bull;</code>)
+
*list of subitems/links
  
 
==Example==
 
==Example==
Line 10: Line 10:
 
{{InfoboxSubitem
 
{{InfoboxSubitem
 
| Examples
 
| Examples
| [[Examples]];[[Test]];[[Prime]];[[Main Page]]
+
|*[[Examples]]
 +
*[[:Category:Templates|Templates]]
 +
*[[Prime]]
 +
*[[Main Page]]
 
}}
 
}}
 
</pre>
 
</pre>
Line 17: Line 20:
 
{{InfoboxSubitem
 
{{InfoboxSubitem
 
| Examples
 
| Examples
| [[Examples]];[[Test]];[[Prime]];[[Main Page]]
+
|*[[Examples]]
 +
*[[:Category:Templates|Templates]]
 +
*[[Prime]]
 +
*[[Main Page]]
 
}}
 
}}
 
</div>
 
</div>
Line 28: Line 34:
 
}}
 
}}
 
</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%;">{{#replace:{{{2}}}|;|&nbsp;&bull;&nbsp;}}</div></includeonly>
+
[[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>

Revision as of 09:23, 7 March 2019

Creates a subitem in a InfoboxMain:

Parameter

  • title
  • list of subitems/links

Example

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

Template:InfoboxSubitem

Template

{{InfoboxSubitem
| <title>
| <itemlist>
}}