Difference between revisions of "Template:Unbulleted list"

From Hgames Wiki
Jump to: navigation, search
(Testing why template doesn't seem to working)
(Re-arrange newlines so that any page that calls this template won't get a bunch of extra newlines added when there are unused parameters)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{plainlist|
+
<!-- {{plainlist| --><!-- NOTE: This doesn't work! We are forced to directly hard code the plainlist <div> element here due to some sort of bug in Hgames Wiki's installation of MediaWiki. See the coder comment in the {{plainlist}} template's documentation for more info.
<ul style="line-height: inherit; list-style: none; margin: 0; padding: 0;">
+
--><div class="plainlist"><ul style="line-height: inherit; list-style: none; margin: 0; padding: 0;">{{#if:
<li>YOU ARE HERE 1</li>
+
{{{1|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item1_style|}}}">{{{1}}}</li>}}{{#if:
<li>YOU ARE HERE 2</li>
+
{{{2|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item2_style|}}}">{{{2}}}</li>}}{{#if:
<!--
+
{{{3|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item3_style|}}}">{{{3}}}</li>}}{{#if:
{{#if: {{{1|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item1_style|}}}">{{{1}}}</li>}}
+
{{{4|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item4_style|}}}">{{{4}}}</li>}}{{#if:
{{#if: {{{2|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item2_style|}}}">{{{2}}}</li>}}
+
{{{5|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item5_style|}}}">{{{5}}}</li>}}{{#if:
{{#if: {{{3|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item3_style|}}}">{{{3}}}</li>}}
+
{{{6|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item6_style|}}}">{{{6}}}</li>}}{{#if:
{{#if: {{{4|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item4_style|}}}">{{{4}}}</li>}}
+
{{{7|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item7_style|}}}">{{{7}}}</li>}}{{#if:
{{#if: {{{5|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item5_style|}}}">{{{5}}}</li>}}
+
{{{8|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item8_style|}}}">{{{8}}}</li>}}{{#if:
{{#if: {{{6|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item6_style|}}}">{{{6}}}</li>}}
+
{{{9|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item9_style|}}}">{{{9}}}</li>}}
{{#if: {{{7|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item7_style|}}}">{{{7}}}</li>}}
 
{{#if: {{{8|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item8_style|}}}">{{{8}}}</li>}}
 
{{#if: {{{9|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item9_style|}}}">{{{9}}}</li>}}
 
-->
 
 
</ul>
 
</ul>
}}<noinclude>
+
</div><!-- }} --><noinclude>
{{documentation}}<!--
+
{{documentation}}
 
 
At the time this template was created, it seems that Hgames Wiki is unable to use [https://en.wikipedia.org/wiki/Wikipedia:Lua Lua-based modules], so we have manually reconstructed the output using basic conditionals instead. -->
 
 
</noinclude>
 
</noinclude>

Latest revision as of 21:43, 3 October 2024

Template documentation (for the above template, sometimes hidden or invisible)
Icon msgbox notice.png This template's code was copied directly from Wikipedia. For more information, including more details on how to use this template in your articles, please see Wikipedia's Template:Unbulleted_list documentation.


Note: At the time this template was created, it seems that Hgames Wiki is unable to use Lua-based modules, so instead of copying Wikipedia's template code, we have manually reconstructed the output using basic conditionals instead.


Visit Template:Unbulleted list/doc to edit this text! (How does this work?)