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:Test"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
<noinclude>{{sandbox}}
 
<noinclude>{{sandbox}}
</noinclude><includeonly>
+
</noinclude><includeonly><table class="{{#if:{{{title|}}}|collapsible {{#if:{{{state|}}}|{{{state}}}|autocollapse}}|}} infobox" style="background: #fdfdfd; border-spacing: 0; font-size: inherit; vertical-align: middle; width: 100%; {{{bodystyle|}}}"><!--
<table class="collapsible {{{state|autocollapse}}} infobox" style="margin: 0 auto -1px; border: 1px solid #aaa; font-size: 90%; padding: 2px; width: 60%; {{{bodystyle|}}}"><!--
 
  
  
  title -->
+
--- title & navbar ---
{{#if:{{{title|}}}|<tr>
+
  -->{{#if:{{{title|}}}|<!--
<th colspan="2" style="border: 1px solid #aaa; padding: 0.2em 0.5em; line-height: 1.5em; background: #bbbbdb; {{{titlestyle|}}}">{{#if:{{{name|}}}|{{#switch:{{{navbar}}}|off=|#default=<div class="plainlinks" style="float: left; padding-left: 0.4em; font-size: 80%; font-weight: normal; white-space: nowrap;">[[Template:{{PAGENAME:{{{name}}}}}|V]]<span style="font-weight: bold; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;">&nbsp;·&nbsp;</span>[[Template talk:{{PAGENAME:{{{name}}}}}|T]]<span style="font-weight: bold; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;">&nbsp;·&nbsp;</span>[https://dwarffortresswiki.org/index.php?title=Template:{{urlencode:{{PAGENAME:{{{name}}}}}|WIKI}}&action=edit E]</div>}}|}}<div style="font-size: 114%; margin: 0 6em;">{{{title}}}</div></th>
+
--><tr><th colspan="2" style="background: #ddf; padding: 0.25em 1em; text-align: center; line-height: 1.5em; {{{titlestyle|}}}">{{#if:{{{name|}}}|{{#switch:{{{navbar}}}|off=|#default=<div class="plainlinks" style="float: left; padding-left: 0.4em; font-size: 70%; font-weight: normal; white-space: nowrap;">[[Template:{{PAGENAME:{{{name}}}}}|V]]<span style="font-weight: bold; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;">&nbsp;·&nbsp;</span>[[Template talk:{{PAGENAME:{{{name}}}}}|T]]<span style="font-weight: bold; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;">&nbsp;·&nbsp;</span>[https://dwarffortresswiki.org/index.php?title=Template:{{urlencode:{{PAGENAME:{{{name}}}}}|WIKI}}&action=edit E]</div>}}|}}<div style="font-size: 114%; margin: 0 6em;">
</tr>|}}<!--
+
{{{title}}}</div></th></tr>|}}<!--
  
  
  above -->
+
--- above ---
{{#if:{{{above|}}}|<tr>
+
  -->{{#if:{{{above|}}}|<!--
<td colspan="2" style="padding: 0.2em 0.5em; background: #cdcde5; text-align: center; {{{basestyle|}}}; {{{abovestyle|}}}">{{{above}}}</td>
+
--><tr><td colspan="2" style="background: #e6e6ff; padding: 0.25em 1em; text-align: center; {{{basestyle|}}}; {{{abovestyle|}}}">
</tr>|}}<!--
+
{{{above}}}</td></tr>|}}<!--
  
  
 +
--- 1st group/list ---
 +
-->{{#if:{{{list1|}}}|<!--
 +
--><tr>{{#if:{{{group1|}}}|<th style="background: #e6e6ff; padding: 0.25em 1em; text-align: right; white-space: nowrap; width: 1%; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group1style|}}}">{{{group1}}}</th>|}}<!--
 +
--><td {{#if:{{{group1|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group1|}}}|left|center}}; {{{liststyle|}}}; {{{list1style|}}}">
 +
{{{list1}}}</td></tr>|}}<!--
  
 +
--- 2nd group/list ---
 +
-->{{#if:{{{list2|}}}|<!--
 +
--><tr>{{#if:{{{group2|}}}|<th style="background: #e6e6ff; padding: 0.25em 1em; text-align: right; white-space: nowrap; width: 1%; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group2style|}}}">{{{group2}}}</th>|}}<!--
 +
--><td {{#if:{{{group2|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group2|}}}|left|center}}; {{{liststyle|}}}; {{{list2style|}}}">
 +
{{{list2}}}</td></tr>|}}<!--
  
  list1, group1 -->
+
--- 3rd group/list ---
{{#if:{{{list1|}}}|<tr>
+
  -->{{#if:{{{list3|}}}|<!--
{{#if:{{{group1|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group1style|}}}">{{{group1}}}</th>|}}
+
--><tr>{{#if:{{{group3|}}}|<th style="background: #e6e6ff; padding: 0.25em 1em; text-align: right; white-space: nowrap; width: 1%; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group3style|}}}">{{{group3}}}</th>|}}<!--
<td {{#if:{{{group1|}}}||colspan="2"}} style="text-align: {{#if:{{{group1|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list1style|}}}">{{{list1}}}</td>
+
--><td {{#if:{{{group3|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group3|}}}|left|center}}; {{{liststyle|}}}; {{{list3style|}}}">
</tr>|}}<!--
+
{{{list3}}}</td></tr>|}}<!--
  
  list2, group2 -->
+
--- 4th group/list ---
{{#if:{{{list2|}}}|<tr>
+
  -->{{#if:{{{list4|}}}|<!--
{{#if:{{{group2|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group2style|}}}">{{{group2}}}</th>|}}
+
--><tr>{{#if:{{{group4|}}}|<th style="background: #e6e6ff; padding: 0.25em 1em; text-align: right; white-space: nowrap; width: 1%; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group4style|}}}">{{{group4}}}</th>|}}<!--
<td {{#if:{{{group2|}}}||colspan="2"}} style="text-align: {{#if:{{{group2|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list2style|}}}">{{{list2}}}</td>
+
--><td {{#if:{{{group4|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group4|}}}|left|center}}; {{{liststyle|}}}; {{{list4style|}}}">
</tr>|}}<!--
+
{{{list4}}}</td></tr>|}}<!--
  
  list3, group3 -->
+
--- 5th group/list ---
{{#if:{{{list3|}}}|<tr>
+
  -->{{#if:{{{list5|}}}|<!--
{{#if:{{{group3|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group3style|}}}">{{{group3}}}</th>|}}
+
--><tr>{{#if:{{{group5|}}}|<th style="background: #e6e6ff; padding: 0.25em 1em; text-align: right; white-space: nowrap; width: 1%; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group5style|}}}">{{{group5}}}</th>|}}<!--
<td {{#if:{{{group3|}}}||colspan="2"}} style="text-align: {{#if:{{{group3|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list3style|}}}">{{{list3}}}</td>
+
--><td {{#if:{{{group5|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group5|}}}|left|center}}; {{{liststyle|}}}; {{{list5style|}}}">
</tr>|}}<!--
+
{{{list5}}}</td></tr>|}}<!--
  
  list4, group4 -->
+
--- 6th group/list ---
{{#if:{{{list4|}}}|<tr>
+
  -->{{#if:{{{list6|}}}|<!--
{{#if:{{{group4|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group4style|}}}">{{{group4}}}</th>|}}
+
--><tr>{{#if:{{{group6|}}}|<th style="background: #e6e6ff; padding: 0.25em 1em; text-align: right; white-space: nowrap; width: 1%; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group6style|}}}">{{{group6}}}</th>|}}<!--
<td {{#if:{{{group4|}}}||colspan="2"}} style="text-align: {{#if:{{{group4|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list4style|}}}">{{{list4}}}</td>
+
--><td {{#if:{{{group6|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group6|}}}|left|center}}; {{{liststyle|}}}; {{{list6style|}}}">
</tr>|}}<!--
+
{{{list6}}}</td></tr>|}}<!--
  
  list5, group5 -->
+
--- 7th group/list ---
{{#if:{{{list5|}}}|<tr>
+
  -->{{#if:{{{list7|}}}|<!--
{{#if:{{{group5|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group5style|}}}">{{{group5}}}</th>|}}
+
--><tr>{{#if:{{{group7|}}}|<th style="background: #e6e6ff; padding: 0.25em 1em; text-align: right; white-space: nowrap; width: 1%; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group7style|}}}">{{{group7}}}</th>|}}<!--
<td {{#if:{{{group5|}}}||colspan="2"}} style="text-align: {{#if:{{{group5|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list5style|}}}">{{{list5}}}</td>
+
--><td {{#if:{{{group7|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group7|}}}|left|center}}; {{{liststyle|}}}; {{{list7style|}}}">
</tr>|}}<!--
+
{{{list7}}}</td></tr>|}}<!--
  
  list6, group6 -->
+
--- 8th group/list ---
{{#if:{{{list6|}}}|<tr>
+
  -->{{#if:{{{list8|}}}|<!--
{{#if:{{{group6|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group6style|}}}">{{{group6}}}</th>|}}
+
--><tr>{{#if:{{{group8|}}}|<th style="background: #e6e6ff; padding: 0.25em 1em; text-align: right; white-space: nowrap; width: 1%; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group8style|}}}">{{{group8}}}</th>|}}<!--
<td {{#if:{{{group6|}}}||colspan="2"}} style="text-align: {{#if:{{{group6|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list6style|}}}">{{{list6}}}</td>
+
--><td {{#if:{{{group8|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group8|}}}|left|center}}; {{{liststyle|}}}; {{{list8style|}}}">
</tr>|}}<!--
+
{{{list8}}}</td></tr>|}}<!--
  
  list7, group7 -->
+
--- 9th group/list ---
{{#if:{{{list7|}}}|<tr>
+
  -->{{#if:{{{list9|}}}|<!--
{{#if:{{{group7|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group7style|}}}">{{{group7}}}</th>|}}
+
--><tr>{{#if:{{{group9|}}}|<th style="background: #e6e6ff; padding: 0.25em 1em; text-align: right; white-space: nowrap; width: 1%; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group9style|}}}">{{{group9}}}</th>|}}<!--
<td {{#if:{{{group7|}}}||colspan="2"}} style="text-align: {{#if:{{{group7|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list7style|}}}">{{{list7}}}</td>
+
--><td {{#if:{{{group9|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group9|}}}|left|center}}; {{{liststyle|}}}; {{{list9style|}}}">
</tr>|}}<!--
+
{{{list9}}}</td></tr>|}}<!--
  
  list8, group8 -->
+
--- 10th group/list ---
{{#if:{{{list8|}}}|<tr>
+
  -->{{#if:{{{list10|}}}|<!--
{{#if:{{{group8|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group8style|}}}">{{{group8}}}</th>|}}
+
--><tr>{{#if:{{{group10|}}}|<th style="background: #e6e6ff; padding: 0.25em 1em; text-align: right; white-space: nowrap; width: 1%; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group10style|}}}">{{{group10}}}</th>|}}<!--
<td {{#if:{{{group8|}}}||colspan="2"}} style="text-align: {{#if:{{{group8|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list8style|}}}">{{{list8}}}</td>
+
--><td {{#if:{{{group10|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group10|}}}|left|center}}; {{{liststyle|}}}; {{{list10style|}}}">
</tr>|}}<!--
+
{{{list10}}}</td></tr>|}}<!--
  
  list9, group9 -->
+
--- 11th group/list ---
{{#if:{{{list9|}}}|<tr>
+
  -->{{#if:{{{list11|}}}|<!--
{{#if:{{{group9|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group9style|}}}">{{{group9}}}</th>|}}
+
--><tr>{{#if:{{{group11|}}}|<th style="background: #e6e6ff; padding: 0.25em 1em; text-align: right; white-space: nowrap; width: 1%; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group11style|}}}">{{{group11}}}</th>|}}<!--
<td {{#if:{{{group9|}}}||colspan="2"}} style="text-align: {{#if:{{{group9|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list9style|}}}">{{{list9}}}</td>
+
--><td {{#if:{{{group11|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group11|}}}|left|center}}; {{{liststyle|}}}; {{{list11style|}}}">
</tr>|}}<!--
+
{{{list11}}}</td></tr>|}}<!--
  
  list10, group10 -->
+
--- 12th group/list ---
{{#if:{{{list10|}}}|<tr>
+
  -->{{#if:{{{list12|}}}|<!--
{{#if:{{{group10|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group10style|}}}">{{{group10}}}</th>|}}
+
--><tr>{{#if:{{{group12|}}}|<th style="background: #e6e6ff; padding: 0.25em 1em; text-align: right; white-space: nowrap; width: 1%; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group12style|}}}">{{{group12}}}</th>|}}<!--
<td {{#if:{{{group10|}}}||colspan="2"}} style="text-align: {{#if:{{{group10|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list10style|}}}">{{{list10}}}</td>
+
--><td {{#if:{{{group12|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group12|}}}|left|center}}; {{{liststyle|}}}; {{{list12style|}}}">
</tr>|}}<!--
+
{{{list12}}}</td></tr>|}}<!--
  
  list11, group11 -->
+
--- 13th group/list ---
{{#if:{{{list11|}}}|<tr>
+
  -->{{#if:{{{list13|}}}|<!--
{{#if:{{{group11|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group11style|}}}">{{{group11}}}</th>|}}
+
--><tr>{{#if:{{{group13|}}}|<th style="background: #e6e6ff; padding: 0.25em 1em; text-align: right; white-space: nowrap; width: 1%; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group13style|}}}">{{{group13}}}</th>|}}<!--
<td {{#if:{{{group11|}}}||colspan="2"}} style="text-align: {{#if:{{{group11|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list11style|}}}">{{{list11}}}</td>
+
--><td {{#if:{{{group13|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group13|}}}|left|center}}; {{{liststyle|}}}; {{{list13style|}}}">
</tr>|}}<!--
+
{{{list13}}}</td></tr>|}}<!--
  
  list12, group12 -->
+
--- 14th group/list ---
{{#if:{{{list12|}}}|<tr>
+
  -->{{#if:{{{list14|}}}|<!--
{{#if:{{{group12|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group12style|}}}">{{{group12}}}</th>|}}
+
--><tr>{{#if:{{{group14|}}}|<th style="background: #e6e6ff; padding: 0.25em 1em; text-align: right; white-space: nowrap; width: 1%; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group14style|}}}">{{{group14}}}</th>|}}<!--
<td {{#if:{{{group12|}}}||colspan="2"}} style="text-align: {{#if:{{{group12|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list12style|}}}">{{{list12}}}</td>
+
--><td {{#if:{{{group14|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group14|}}}|left|center}}; {{{liststyle|}}}; {{{list14style|}}}">
</tr>|}}<!--
+
{{{list14}}}</td></tr>|}}<!--
  
  list13, group13 -->
+
--- 15th group/list ---
{{#if:{{{list13|}}}|<tr>
+
  -->{{#if:{{{list15|}}}|<!--
{{#if:{{{group13|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group13style|}}}">{{{group13}}}</th>|}}
+
--><tr>{{#if:{{{group15|}}}|<th style="background: #e6e6ff; padding: 0.25em 1em; text-align: right; white-space: nowrap; width: 1%; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group15style|}}}">{{{group15}}}</th>|}}<!--
<td {{#if:{{{group13|}}}||colspan="2"}} style="text-align: {{#if:{{{group13|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list13style|}}}">{{{list13}}}</td>
+
--><td {{#if:{{{group15|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group15|}}}|left|center}}; {{{liststyle|}}}; {{{list15style|}}}">
</tr>|}}<!--
+
{{{list15}}}</td></tr>|}}<!--
  
  list14, group14 -->
+
--- 16th group/list ---
{{#if:{{{list14|}}}|<tr>
+
  -->{{#if:{{{list16|}}}|<!--
{{#if:{{{group14|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group14style|}}}">{{{group14}}}</th>|}}
+
--><tr>{{#if:{{{group16|}}}|<th style="background: #e6e6ff; padding: 0.25em 1em; text-align: right; white-space: nowrap; width: 1%; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group16style|}}}">{{{group16}}}</th>|}}<!--
<td {{#if:{{{group14|}}}||colspan="2"}} style="text-align: {{#if:{{{group14|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list14style|}}}">{{{list14}}}</td>
+
--><td {{#if:{{{group16|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group16|}}}|left|center}}; {{{liststyle|}}}; {{{list16style|}}}">
</tr>|}}<!--
+
{{{list16}}}</td></tr>|}}<!--
  
  list15, group15 -->
+
--- 17th group/list ---
{{#if:{{{list15|}}}|<tr>
+
  -->{{#if:{{{list17|}}}|<!--
{{#if:{{{group15|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group15style|}}}">{{{group15}}}</th>|}}
+
--><tr>{{#if:{{{group17|}}}|<th style="background: #e6e6ff; padding: 0.25em 1em; text-align: right; white-space: nowrap; width: 1%; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group17style|}}}">{{{group17}}}</th>|}}<!--
<td {{#if:{{{group15|}}}||colspan="2"}} style="text-align: {{#if:{{{group15|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list15style|}}}">{{{list15}}}</td>
+
--><td {{#if:{{{group17|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group17|}}}|left|center}}; {{{liststyle|}}}; {{{list17style|}}}">
</tr>|}}<!--
+
{{{list17}}}</td></tr>|}}<!--
  
  list16, group16 -->
+
--- 18th group/list ---
{{#if:{{{list16|}}}|<tr>
+
  -->{{#if:{{{list18|}}}|<!--
{{#if:{{{group16|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group16style|}}}">{{{group16}}}</th>|}}
+
--><tr>{{#if:{{{group18|}}}|<th style="background: #e6e6ff; padding: 0.25em 1em; text-align: right; white-space: nowrap; width: 1%; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group18style|}}}">{{{group18}}}</th>|}}<!--
<td {{#if:{{{group16|}}}||colspan="2"}} style="text-align: {{#if:{{{group16|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list16style|}}}">{{{list16}}}</td>
+
--><td {{#if:{{{group18|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group18|}}}|left|center}}; {{{liststyle|}}}; {{{list18style|}}}">
</tr>|}}<!--
+
{{{list18}}}</td></tr>|}}<!--
  
  list17, group17 -->
+
--- 19th group/list ---
{{#if:{{{list17|}}}|<tr>
+
  -->{{#if:{{{list19|}}}|<!--
{{#if:{{{group17|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group17style|}}}">{{{group17}}}</th>|}}
+
--><tr>{{#if:{{{group19|}}}|<th style="background: #e6e6ff; padding: 0.25em 1em; text-align: right; white-space: nowrap; width: 1%; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group19style|}}}">{{{group19}}}</th>|}}<!--
<td {{#if:{{{group17|}}}||colspan="2"}} style="text-align: {{#if:{{{group17|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list17style|}}}">{{{list17}}}</td>
+
--><td {{#if:{{{group19|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group19|}}}|left|center}}; {{{liststyle|}}}; {{{list19style|}}}">
</tr>|}}<!--
+
{{{list19}}}</td></tr>|}}<!--
  
  list18, group18 -->
+
--- 20th group/list ---
{{#if:{{{list18|}}}|<tr>
+
  -->{{#if:{{{list20|}}}|<!--
{{#if:{{{group18|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group18style|}}}">{{{group18}}}</th>|}}
+
--><tr>{{#if:{{{group20|}}}|<th style="background: #e6e6ff; padding: 0.25em 1em; text-align: right; white-space: nowrap; width: 1%; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group20style|}}}">{{{group20}}}</th>|}}<!--
<td {{#if:{{{group18|}}}||colspan="2"}} style="text-align: {{#if:{{{group18|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list18style|}}}">{{{list18}}}</td>
+
--><td {{#if:{{{group20|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group20|}}}|left|center}}; {{{liststyle|}}}; {{{list20style|}}}">
</tr>|}}<!--
+
{{{list20}}}</td></tr>|}}<!--
  
list19, group19 -->
 
{{#if:{{{list19|}}}|<tr>
 
{{#if:{{{group19|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group19style|}}}">{{{group19}}}</th>|}}
 
<td {{#if:{{{group19|}}}||colspan="2"}} style="text-align: {{#if:{{{group19|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list19style|}}}">{{{list19}}}</td>
 
</tr>|}}<!--
 
  
list20, group20 (add more if necessary) -->
+
--- below ---
{{#if:{{{list20|}}}|<tr>
+
-->{{#if:{{{below|}}}|<!--
{{#if:{{{group20|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group20style|}}}">{{{group20}}}</th>|}}
+
  --><tr><td colspan="2" style="background: #e6e6ff; padding: 0.25em 1em; text-align: center; {{{basestyle|}}}; {{{belowstyle|}}}">
<td {{#if:{{{group20|}}}||colspan="2"}} style="text-align: {{#if:{{{group20|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list20style|}}}">{{{list20}}}</td>
+
{{{below}}}</td></tr>|}}
</tr>|}}<!--
 
 
 
 
 
 
 
  below -->
 
{{#if:{{{below|}}}|<tr>
 
<td colspan="2" style="padding: 0.2em 0.5em; background: #cdcde5; text-align: center; {{{basestyle|}}}; {{{belowstyle|}}}">{{{below}}}</td>
 
</tr>|}}
 
 
</table></includeonly><noinclude>
 
</table></includeonly><noinclude>
  
{{Test|
+
{{Navbox|
| name = DF2014 soil
 
 
| state = expanded
 
| state = expanded
 +
| navbar = off
 
| title = title
 
| title = title
 
 
| above = above
 
| above = above
 +
| group1 = group 1
 +
| list1 = list 1
 +
| group2 = group 2
 +
| list2style = padding: 0;
 +
| list2 = {{Test|
 +
  | title =
 +
  | group1 = group 2.1
 +
  | list1 = list 2.1
 +
  | group2 = group 2.2
 +
  | list2 = list 2.2
 +
  | group3 = group 2.3
 +
  | list3 = list 2.3
 +
  }}
 +
| group3 = group 3
 +
| list3 = list 3
 +
| list4style = padding: 0;
 +
| list4 = {{Test|
 +
  | state = expanded
 +
  | title = section ''(list 4)''
 +
  | above = section above
 +
  | group1 = group 4.1
 +
  | list1 = list 4.1
 +
  | group2 = group 4.2
 +
  | list2 = list 4.2
 +
  | group3 = group 4.3
 +
  | list3 = list 4.3
 +
  | below = section below
 +
  }}
 
| below = below
 
| below = below
 
| group1 = group
 
| list1 = list
 
| group2 = group
 
| list2 = list
 
| group3 = group
 
| list3 = list
 
| group4 = group
 
| list4 = list
 
| group5 = group
 
| list5 = list
 
| group6 = group
 
| list6 = list
 
| group7 = group
 
| list7 = list
 
| group8 = group
 
| list8 = list
 
| group9 = group
 
| list9 = list
 
| group10 = group
 
| list10 = list
 
| group11 = group
 
| list11 = list
 
| group12 = group
 
| list12 = list
 
| group13 = group
 
| list13 = list
 
| group14 = group
 
| list14 = list
 
| group15 = group
 
| list15 = list
 
| group16 = group
 
| list16 = list
 
| group17 = group
 
| list17 = list
 
| group18 = group
 
| list18 = list
 
| group19 = group
 
| list19 = list
 
| group20 = group
 
| list20 = list
 
 
}}
 
}}
{{Test|
 
| name = DF2014 stones
 
| navbar = off
 
| title = title
 
  
| list1 = list
 
| group2 = group
 
| list2 = list
 
| list3 = list
 
| group4 = should not appear
 
| list15 = list
 
}}
 
 
</noinclude>
 
</noinclude>

Revision as of 03:17, 12 January 2022


title
above
group 1
list 1
group 2
group 2.1 list 2.1
group 2.2 list 2.2
group 2.3 list 2.3
group 3
list 3
section (list 4)
section above
group 4.1 list 4.1
group 4.2 list 4.2
group 4.3 list 4.3
section below
below