v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template:Navbox"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(rmv extraneous stuff; as long as list1 is used first, these bits aren't necessary)
(more grouplists; max now 30)
Line 142: Line 142:
 
  --><td {{#if:{{{group20|}}}||colspan="2"}} style="background: transparent; {{#switch:{{{border|{{{1|}}}}}}|subgroup|child=border-top: {{#if:{{{title|{{{above|{{{list1|}}}}}}}}}|2px solid #fdfdfd|none}}; border-left: {{#if:{{{group20|}}}|2px solid #fdfdfd|none}};|#default=}} padding: 0; text-align: {{#if:{{{group20|}}}|left|{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=left|#default=center}}}}; {{{liststyle|}}}; {{{list20style|}}}"><div style="padding: {{{listpadding|0em 0.25em}}}">
 
  --><td {{#if:{{{group20|}}}||colspan="2"}} style="background: transparent; {{#switch:{{{border|{{{1|}}}}}}|subgroup|child=border-top: {{#if:{{{title|{{{above|{{{list1|}}}}}}}}}|2px solid #fdfdfd|none}}; border-left: {{#if:{{{group20|}}}|2px solid #fdfdfd|none}};|#default=}} padding: 0; text-align: {{#if:{{{group20|}}}|left|{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=left|#default=center}}}}; {{{liststyle|}}}; {{{list20style|}}}"><div style="padding: {{{listpadding|0em 0.25em}}}">
 
{{{list20}}}</div></td></tr>|}}<!--
 
{{{list20}}}</div></td></tr>|}}<!--
 +
 +
--- 21st group/list ---
 +
-->{{#if:{{{list21|}}}|<!--
 +
--><tr style="line-height: 1.5em;">{{#if:{{{group21|}}}|<th scope="row" style="background: #{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=e6e6ff; border-top: {{#if:{{{title|{{{above|{{{list1|}}}}}}}}}|2px solid #fdfdfd|none}}|#default=ddf}}; padding: 0.25em 1em; text-align: right; white-space: nowrap; width: 1%; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group21style|}}}">{{{group21}}}</th>|}}<!--
 +
--><td {{#if:{{{group21|}}}||colspan="2"}} style="background: transparent; {{#switch:{{{border|{{{1|}}}}}}|subgroup|child=border-top: {{#if:{{{title|{{{above|{{{list1|}}}}}}}}}|2px solid #fdfdfd|none}}; border-left: {{#if:{{{group21|}}}|2px solid #fdfdfd|none}};|#default=}} padding: 0; text-align: {{#if:{{{group21|}}}|left|{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=left|#default=center}}}}; {{{liststyle|}}}; {{{list21style|}}}"><div style="padding: {{{listpadding|0em 0.25em}}}">
 +
{{{list21}}}</div></td></tr>|}}<!--
 +
 +
--- 22nd group/list ---
 +
-->{{#if:{{{list22|}}}|<!--
 +
--><tr style="line-height: 1.5em;">{{#if:{{{group22|}}}|<th scope="row" style="background: #{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=e6e6ff; border-top: {{#if:{{{title|{{{above|{{{list1|}}}}}}}}}|2px solid #fdfdfd|none}}|#default=ddf}}; padding: 0.25em 1em; text-align: right; white-space: nowrap; width: 1%; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group22style|}}}">{{{group22}}}</th>|}}<!--
 +
--><td {{#if:{{{group22|}}}||colspan="2"}} style="background: transparent; {{#switch:{{{border|{{{1|}}}}}}|subgroup|child=border-top: {{#if:{{{title|{{{above|{{{list1|}}}}}}}}}|2px solid #fdfdfd|none}}; border-left: {{#if:{{{group22|}}}|2px solid #fdfdfd|none}};|#default=}} padding: 0; text-align: {{#if:{{{group22|}}}|left|{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=left|#default=center}}}}; {{{liststyle|}}}; {{{list22style|}}}"><div style="padding: {{{listpadding|0em 0.25em}}}">
 +
{{{list22}}}</div></td></tr>|}}<!--
 +
 +
--- 23rd group/list ---
 +
-->{{#if:{{{list23|}}}|<!--
 +
--><tr style="line-height: 1.5em;">{{#if:{{{group23|}}}|<th scope="row" style="background: #{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=e6e6ff; border-top: {{#if:{{{title|{{{above|{{{list1|}}}}}}}}}|2px solid #fdfdfd|none}}|#default=ddf}}; padding: 0.25em 1em; text-align: right; white-space: nowrap; width: 1%; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group23style|}}}">{{{group23}}}</th>|}}<!--
 +
--><td {{#if:{{{group23|}}}||colspan="2"}} style="background: transparent; {{#switch:{{{border|{{{1|}}}}}}|subgroup|child=border-top: {{#if:{{{title|{{{above|{{{list1|}}}}}}}}}|2px solid #fdfdfd|none}}; border-left: {{#if:{{{group23|}}}|2px solid #fdfdfd|none}};|#default=}} padding: 0; text-align: {{#if:{{{group23|}}}|left|{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=left|#default=center}}}}; {{{liststyle|}}}; {{{list23style|}}}"><div style="padding: {{{listpadding|0em 0.25em}}}">
 +
{{{list23}}}</div></td></tr>|}}<!--
 +
 +
--- 24th group/list ---
 +
-->{{#if:{{{list24|}}}|<!--
 +
--><tr style="line-height: 1.5em;">{{#if:{{{group24|}}}|<th scope="row" style="background: #{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=e6e6ff; border-top: {{#if:{{{title|{{{above|{{{list1|}}}}}}}}}|2px solid #fdfdfd|none}}|#default=ddf}}; padding: 0.25em 1em; text-align: right; white-space: nowrap; width: 1%; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group24style|}}}">{{{group24}}}</th>|}}<!--
 +
--><td {{#if:{{{group24|}}}||colspan="2"}} style="background: transparent; {{#switch:{{{border|{{{1|}}}}}}|subgroup|child=border-top: {{#if:{{{title|{{{above|{{{list1|}}}}}}}}}|2px solid #fdfdfd|none}}; border-left: {{#if:{{{group24|}}}|2px solid #fdfdfd|none}};|#default=}} padding: 0; text-align: {{#if:{{{group24|}}}|left|{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=left|#default=center}}}}; {{{liststyle|}}}; {{{list24style|}}}"><div style="padding: {{{listpadding|0em 0.25em}}}">
 +
{{{list24}}}</div></td></tr>|}}<!--
 +
 +
--- 25th group/list ---
 +
-->{{#if:{{{list25|}}}|<!--
 +
--><tr style="line-height: 1.5em;">{{#if:{{{group25|}}}|<th scope="row" style="background: #{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=e6e6ff; border-top: {{#if:{{{title|{{{above|{{{list1|}}}}}}}}}|2px solid #fdfdfd|none}}|#default=ddf}}; padding: 0.25em 1em; text-align: right; white-space: nowrap; width: 1%; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group25style|}}}">{{{group25}}}</th>|}}<!--
 +
--><td {{#if:{{{group25|}}}||colspan="2"}} style="background: transparent; {{#switch:{{{border|{{{1|}}}}}}|subgroup|child=border-top: {{#if:{{{title|{{{above|{{{list1|}}}}}}}}}|2px solid #fdfdfd|none}}; border-left: {{#if:{{{group25|}}}|2px solid #fdfdfd|none}};|#default=}} padding: 0; text-align: {{#if:{{{group25|}}}|left|{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=left|#default=center}}}}; {{{liststyle|}}}; {{{list25style|}}}"><div style="padding: {{{listpadding|0em 0.25em}}}">
 +
{{{list25}}}</div></td></tr>|}}<!--
 +
 +
--- 26th group/list ---
 +
-->{{#if:{{{list26|}}}|<!--
 +
--><tr style="line-height: 1.5em;">{{#if:{{{group26|}}}|<th scope="row" style="background: #{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=e6e6ff; border-top: {{#if:{{{title|{{{above|{{{list1|}}}}}}}}}|2px solid #fdfdfd|none}}|#default=ddf}}; padding: 0.25em 1em; text-align: right; white-space: nowrap; width: 1%; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group26style|}}}">{{{group26}}}</th>|}}<!--
 +
--><td {{#if:{{{group26|}}}||colspan="2"}} style="background: transparent; {{#switch:{{{border|{{{1|}}}}}}|subgroup|child=border-top: {{#if:{{{title|{{{above|{{{list1|}}}}}}}}}|2px solid #fdfdfd|none}}; border-left: {{#if:{{{group26|}}}|2px solid #fdfdfd|none}};|#default=}} padding: 0; text-align: {{#if:{{{group26|}}}|left|{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=left|#default=center}}}}; {{{liststyle|}}}; {{{list26style|}}}"><div style="padding: {{{listpadding|0em 0.25em}}}">
 +
{{{list26}}}</div></td></tr>|}}<!--
 +
 +
--- 27th group/list ---
 +
-->{{#if:{{{list27|}}}|<!--
 +
--><tr style="line-height: 1.5em;">{{#if:{{{group27|}}}|<th scope="row" style="background: #{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=e6e6ff; border-top: {{#if:{{{title|{{{above|{{{list1|}}}}}}}}}|2px solid #fdfdfd|none}}|#default=ddf}}; padding: 0.25em 1em; text-align: right; white-space: nowrap; width: 1%; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group27style|}}}">{{{group27}}}</th>|}}<!--
 +
--><td {{#if:{{{group27|}}}||colspan="2"}} style="background: transparent; {{#switch:{{{border|{{{1|}}}}}}|subgroup|child=border-top: {{#if:{{{title|{{{above|{{{list1|}}}}}}}}}|2px solid #fdfdfd|none}}; border-left: {{#if:{{{group27|}}}|2px solid #fdfdfd|none}};|#default=}} padding: 0; text-align: {{#if:{{{group27|}}}|left|{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=left|#default=center}}}}; {{{liststyle|}}}; {{{list27style|}}}"><div style="padding: {{{listpadding|0em 0.25em}}}">
 +
{{{list27}}}</div></td></tr>|}}<!--
 +
 +
--- 28th group/list ---
 +
-->{{#if:{{{list28|}}}|<!--
 +
--><tr style="line-height: 1.5em;">{{#if:{{{group28|}}}|<th scope="row" style="background: #{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=e6e6ff; border-top: {{#if:{{{title|{{{above|{{{list1|}}}}}}}}}|2px solid #fdfdfd|none}}|#default=ddf}}; padding: 0.25em 1em; text-align: right; white-space: nowrap; width: 1%; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group28style|}}}">{{{group28}}}</th>|}}<!--
 +
--><td {{#if:{{{group28|}}}||colspan="2"}} style="background: transparent; {{#switch:{{{border|{{{1|}}}}}}|subgroup|child=border-top: {{#if:{{{title|{{{above|{{{list1|}}}}}}}}}|2px solid #fdfdfd|none}}; border-left: {{#if:{{{group28|}}}|2px solid #fdfdfd|none}};|#default=}} padding: 0; text-align: {{#if:{{{group28|}}}|left|{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=left|#default=center}}}}; {{{liststyle|}}}; {{{list28style|}}}"><div style="padding: {{{listpadding|0em 0.25em}}}">
 +
{{{list28}}}</div></td></tr>|}}<!--
 +
 +
--- 29th group/list ---
 +
-->{{#if:{{{list29|}}}|<!--
 +
--><tr style="line-height: 1.5em;">{{#if:{{{group29|}}}|<th scope="row" style="background: #{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=e6e6ff; border-top: {{#if:{{{title|{{{above|{{{list1|}}}}}}}}}|2px solid #fdfdfd|none}}|#default=ddf}}; padding: 0.25em 1em; text-align: right; white-space: nowrap; width: 1%; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group29style|}}}">{{{group29}}}</th>|}}<!--
 +
--><td {{#if:{{{group29|}}}||colspan="2"}} style="background: transparent; {{#switch:{{{border|{{{1|}}}}}}|subgroup|child=border-top: {{#if:{{{title|{{{above|{{{list1|}}}}}}}}}|2px solid #fdfdfd|none}}; border-left: {{#if:{{{group29|}}}|2px solid #fdfdfd|none}};|#default=}} padding: 0; text-align: {{#if:{{{group29|}}}|left|{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=left|#default=center}}}}; {{{liststyle|}}}; {{{list29style|}}}"><div style="padding: {{{listpadding|0em 0.25em}}}">
 +
{{{list29}}}</div></td></tr>|}}<!--
 +
 +
--- 30th group/list ---
 +
-->{{#if:{{{list30|}}}|<!--
 +
--><tr style="line-height: 1.5em;">{{#if:{{{group30|}}}|<th scope="row" style="background: #{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=e6e6ff; border-top: {{#if:{{{title|{{{above|{{{list1|}}}}}}}}}|2px solid #fdfdfd|none}}|#default=ddf}}; padding: 0.25em 1em; text-align: right; white-space: nowrap; width: 1%; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group30style|}}}">{{{group30}}}</th>|}}<!--
 +
--><td {{#if:{{{group30|}}}||colspan="2"}} style="background: transparent; {{#switch:{{{border|{{{1|}}}}}}|subgroup|child=border-top: {{#if:{{{title|{{{above|{{{list1|}}}}}}}}}|2px solid #fdfdfd|none}}; border-left: {{#if:{{{group30|}}}|2px solid #fdfdfd|none}};|#default=}} padding: 0; text-align: {{#if:{{{group30|}}}|left|{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=left|#default=center}}}}; {{{liststyle|}}}; {{{list30style|}}}"><div style="padding: {{{listpadding|0em 0.25em}}}">
 +
{{{list30}}}</div></td></tr>|}}<!--
  
  

Revision as of 16:50, 8 February 2022