Difference between revisions of "Template:Unbulleted list"
From Hgames Wiki
(Move comment location) |
(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) |
||
(12 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: |
− | {{#if: {{{1|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item1_style|}}}">{{{1}}}</li>}} | + | {{{1|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item1_style|}}}">{{{1}}}</li>}}{{#if: |
− | {{#if: {{{2|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item2_style|}}}">{{{2}}}</li>}} | + | {{{2|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item2_style|}}}">{{{2}}}</li>}}{{#if: |
− | {{#if: {{{3|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item3_style|}}}">{{{3}}}</li>}} | + | {{{3|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item3_style|}}}">{{{3}}}</li>}}{{#if: |
− | {{#if: {{{4|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item4_style|}}}">{{{4}}}</li>}} | + | {{{4|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item4_style|}}}">{{{4}}}</li>}}{{#if: |
− | {{#if: {{{5|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item5_style|}}}">{{{5}}}</li>}} | + | {{{5|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item5_style|}}}">{{{5}}}</li>}}{{#if: |
− | {{#if: {{{6|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item6_style|}}}">{{{6}}}</li>}} | + | {{{6|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item6_style|}}}">{{{6}}}</li>}}{{#if: |
− | {{#if: {{{7|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item7_style|}}}">{{{7}}}</li>}} | + | {{{7|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item7_style|}}}">{{{7}}}</li>}}{{#if: |
− | {{#if: {{{8|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item8_style|}}}">{{{8}}}</li>}} | + | {{{8|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item8_style|}}}">{{{8}}}</li>}}{{#if: |
− | {{#if: {{{9|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item9_style|}}}">{{{9}}}</li>}} | + | {{{9|}}} | <li style="margin-bottom: 0; {{{item_style|}}} {{{item9_style|}}}">{{{9}}}</li>}} |
</ul> | </ul> | ||
− | }}<noinclude> | + | </div><!-- }} --><noinclude> |
− | {{documentation}} | + | {{documentation}} |
− | |||
− | |||
</noinclude> | </noinclude> |
Latest revision as of 22:43, 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?)