Difference between revisions of "Template:Unbulleted list"

From Hgames Wiki
Jump to: navigation, search
(Fix erroneous inclusion of </div> end tag)
(Add missing parameter labels)
Line 1: Line 1:
 
<!-- 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.
 
<!-- 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.
 
-->{{plainlist
 
-->{{plainlist
{{#if: {{{class|}}} | {{!}} {{{class}}} }}
+
{{#if: {{{class|}}} | {{!}} class = {{{class}}} }}
{{#if: {{{style|}}} | {{!}} {{{style}}} }}
+
{{#if: {{{style|}}} | {{!}} style = {{{style}}} }}
 
| <ul style="line-height: inherit; list-style: none; margin: 0; padding: 0; {{{list_style|}}}">
 
| <ul style="line-height: inherit; list-style: none; margin: 0; padding: 0; {{{list_style|}}}">
 
{{#if: {{{1|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item1_style|}}}">{{{1}}}</li>}}
 
{{#if: {{{1|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item1_style|}}}">{{{1}}}</li>}}

Revision as of 21:40, 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.