Difference between revisions of "Template:Unbulleted list"

From Hgames Wiki
Jump to: navigation, search
m
(Testing why template doesn't seem to be working)
Line 1: Line 1:
<!-- {{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 embedded comment in the {{plainlist}} template's source code for more info.
+
<!-- {{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.
 
--><div class="plainlist"><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;">
<li>YOU ARE HERE 1</li>
+
{{#if: {{{1|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item1_style|}}}">{{{1}}}</li>}}
<li>YOU ARE HERE 2</li>
+
{{#if: {{{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: {{{4|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item4_style|}}}">{{{4}}}</li>}}
 +
{{#if: {{{5|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item5_style|}}}">{{{5}}}</li>}}
 +
{{#if: {{{6|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item6_style|}}}">{{{6}}}</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>
 
</div><!-- }} --><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>

Revision as of 22:41, 3 October 2024





Template documentation (for the above template, sometimes hidden or invisible)

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?)