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.
Editing Template:Test
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | + | <noinclude>{{sandbox}} | |
− | + | </noinclude><includeonly> | |
− | + | <table class="collapsible {{{state|autocollapse}}} infobox" style="margin: 0 auto -1px; border: 1px solid #aaa; font-size: 90%; padding: 2px; width: 60%; {{{bodystyle|}}}"><!-- | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | + | title --> |
− | | | + | {{#if:{{{title|}}}|<tr> |
+ | <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;"> · </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;"> · </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>|}}<!-- | ||
− | |||
− | |||
+ | above --> | ||
+ | {{#if:{{{above|}}}|<tr> | ||
+ | <td colspan="2" style="padding: 0.2em 0.5em; background: #cdcde5; text-align: center; {{{basestyle|}}}; {{{abovestyle|}}}">{{{above}}}</td> | ||
+ | </tr>|}}<!-- | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | list1, group1 --> | ||
+ | {{#if:{{{list1|}}}|<tr> | ||
+ | {{#if:{{{group1|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group1style|}}}">{{{group1}}}</th>|}} | ||
+ | <td {{#if:{{{group1|}}}||colspan="2"}} style="background:{{#switch:{{{evenodd}}}|swap=#f7f7f7|off|#default=transparent}}; text-align: {{#if:{{{group1|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list1style|}}}">{{{list1}}}</td> | ||
+ | </tr>|}}<!-- | ||
+ | |||
+ | list2, group2 --> | ||
+ | {{#if:{{{list2|}}}|<tr> | ||
+ | {{#if:{{{group2|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group2style|}}}">{{{group2}}}</th>|}} | ||
+ | <td {{#if:{{{group2|}}}||colspan="2"}} style="background:{{#switch:{{{evenodd}}}|off|swap=transparent|#default=#f7f7f7}}; text-align: {{#if:{{{group2|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list2style|}}}">{{{list2}}}</td> | ||
+ | </tr>|}}<!-- | ||
+ | |||
+ | list3, group3 --> | ||
+ | {{#if:{{{list3|}}}|<tr> | ||
+ | {{#if:{{{group3|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group3style|}}}">{{{group3}}}</th>|}} | ||
+ | <td {{#if:{{{group3|}}}||colspan="2"}} style="background:{{#switch:{{{evenodd}}}|swap=#f7f7f7|off|#default=transparent}}; text-align: {{#if:{{{group3|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list3style|}}}">{{{list3}}}</td> | ||
+ | </tr>|}}<!-- | ||
+ | |||
+ | list4, group4 --> | ||
+ | {{#if:{{{list4|}}}|<tr> | ||
+ | {{#if:{{{group4|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group4style|}}}">{{{group4}}}</th>|}} | ||
+ | <td {{#if:{{{group4|}}}||colspan="2"}} style="background:{{#switch:{{{evenodd}}}|off|swap=transparent|#default=#f7f7f7}}; text-align: {{#if:{{{group4|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list4style|}}}">{{{list4}}}</td> | ||
+ | </tr>|}}<!-- | ||
+ | |||
+ | list5, group5 --> | ||
+ | {{#if:{{{list5|}}}|<tr> | ||
+ | {{#if:{{{group5|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group5style|}}}">{{{group5}}}</th>|}} | ||
+ | <td {{#if:{{{group5|}}}||colspan="2"}} style="background:{{#switch:{{{evenodd}}}|swap=#f7f7f7|off|#default=transparent}}; text-align: {{#if:{{{group5|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list5style|}}}">{{{list5}}}</td> | ||
+ | </tr>|}}<!-- | ||
+ | |||
+ | list6, group6 --> | ||
+ | {{#if:{{{list6|}}}|<tr> | ||
+ | {{#if:{{{group6|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group6style|}}}">{{{group6}}}</th>|}} | ||
+ | <td {{#if:{{{group6|}}}||colspan="2"}} style="background:{{#switch:{{{evenodd}}}|off|swap=transparent|#default=#f7f7f7}}; text-align: {{#if:{{{group6|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list6style|}}}">{{{list6}}}</td> | ||
+ | </tr>|}}<!-- | ||
+ | |||
+ | list7, group7 --> | ||
+ | {{#if:{{{list7|}}}|<tr> | ||
+ | {{#if:{{{group7|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group7style|}}}">{{{group7}}}</th>|}} | ||
+ | <td {{#if:{{{group7|}}}||colspan="2"}} style="background:{{#switch:{{{evenodd}}}|swap=#f7f7f7|off|#default=transparent}}; text-align: {{#if:{{{group7|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list7style|}}}">{{{list7}}}</td> | ||
+ | </tr>|}}<!-- | ||
+ | |||
+ | list8, group8 --> | ||
+ | {{#if:{{{list8|}}}|<tr> | ||
+ | {{#if:{{{group8|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group8style|}}}">{{{group8}}}</th>|}} | ||
+ | <td {{#if:{{{group8|}}}||colspan="2"}} style="background:{{#switch:{{{evenodd}}}|off|swap=transparent|#default=#f7f7f7}}; text-align: {{#if:{{{group8|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list8style|}}}">{{{list8}}}</td> | ||
+ | </tr>|}}<!-- | ||
+ | |||
+ | list9, group9 --> | ||
+ | {{#if:{{{list9|}}}|<tr> | ||
+ | {{#if:{{{group9|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group9style|}}}">{{{group9}}}</th>|}} | ||
+ | <td {{#if:{{{group9|}}}||colspan="2"}} style="background:{{#switch:{{{evenodd}}}|swap=#f7f7f7|off|#default=transparent}}; text-align: {{#if:{{{group9|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list9style|}}}">{{{list9}}}</td> | ||
+ | </tr>|}}<!-- | ||
+ | |||
+ | list10, group10 --> | ||
+ | {{#if:{{{list10|}}}|<tr> | ||
+ | {{#if:{{{group10|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group10style|}}}">{{{group10}}}</th>|}} | ||
+ | <td {{#if:{{{group10|}}}||colspan="2"}} style="background:{{#switch:{{{evenodd}}}|off|swap=transparent|#default=#f7f7f7}}; text-align: {{#if:{{{group10|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list10style|}}}">{{{list10}}}</td> | ||
+ | </tr>|}}<!-- | ||
+ | |||
+ | list11, group11 --> | ||
+ | {{#if:{{{list11|}}}|<tr> | ||
+ | {{#if:{{{group11|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group11style|}}}">{{{group11}}}</th>|}} | ||
+ | <td {{#if:{{{group11|}}}||colspan="2"}} style="background:{{#switch:{{{evenodd}}}|swap=#f7f7f7|off|#default=transparent}}; text-align: {{#if:{{{group11|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list11style|}}}">{{{list11}}}</td> | ||
+ | </tr>|}}<!-- | ||
+ | |||
+ | list12, group12 --> | ||
+ | {{#if:{{{list12|}}}|<tr> | ||
+ | {{#if:{{{group12|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group12style|}}}">{{{group12}}}</th>|}} | ||
+ | <td {{#if:{{{group12|}}}||colspan="2"}} style="background:{{#switch:{{{evenodd}}}|off|swap=transparent|#default=#f7f7f7}}; text-align: {{#if:{{{group12|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list12style|}}}">{{{list12}}}</td> | ||
+ | </tr>|}}<!-- | ||
+ | |||
+ | list13, group13 --> | ||
+ | {{#if:{{{list13|}}}|<tr> | ||
+ | {{#if:{{{group13|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group13style|}}}">{{{group13}}}</th>|}} | ||
+ | <td {{#if:{{{group13|}}}||colspan="2"}} style="background:{{#switch:{{{evenodd}}}|swap=#f7f7f7|off|#default=transparent}}; text-align: {{#if:{{{group13|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list13style|}}}">{{{list13}}}</td> | ||
+ | </tr>|}}<!-- | ||
+ | |||
+ | list14, group14 --> | ||
+ | {{#if:{{{list14|}}}|<tr> | ||
+ | {{#if:{{{group14|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group14style|}}}">{{{group14}}}</th>|}} | ||
+ | <td {{#if:{{{group14|}}}||colspan="2"}} style="background:{{#switch:{{{evenodd}}}|off|swap=transparent|#default=#f7f7f7}}; text-align: {{#if:{{{group14|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list14style|}}}">{{{list14}}}</td> | ||
+ | </tr>|}}<!-- | ||
+ | |||
+ | list15, group15 --> | ||
+ | {{#if:{{{list15|}}}|<tr> | ||
+ | {{#if:{{{group15|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group15style|}}}">{{{group15}}}</th>|}} | ||
+ | <td {{#if:{{{group15|}}}||colspan="2"}} style="background:{{#switch:{{{evenodd}}}|swap=#f7f7f7|off|#default=transparent}}; text-align: {{#if:{{{group15|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list15style|}}}">{{{list15}}}</td> | ||
+ | </tr>|}}<!-- | ||
+ | |||
+ | list16, group16 --> | ||
+ | {{#if:{{{list16|}}}|<tr> | ||
+ | {{#if:{{{group16|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group16style|}}}">{{{group16}}}</th>|}} | ||
+ | <td {{#if:{{{group16|}}}||colspan="2"}} style="background:{{#switch:{{{evenodd}}}|off|swap=transparent|#default=#f7f7f7}}; text-align: {{#if:{{{group16|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list16style|}}}">{{{list16}}}</td> | ||
+ | </tr>|}}<!-- | ||
+ | |||
+ | list17, group17 --> | ||
+ | {{#if:{{{list17|}}}|<tr> | ||
+ | {{#if:{{{group17|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group17style|}}}">{{{group17}}}</th>|}} | ||
+ | <td {{#if:{{{group17|}}}||colspan="2"}} style="background:{{#switch:{{{evenodd}}}|swap=#f7f7f7|off|#default=transparent}}; text-align: {{#if:{{{group17|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list17style|}}}">{{{list17}}}</td> | ||
+ | </tr>|}}<!-- | ||
+ | |||
+ | list18, group18 --> | ||
+ | {{#if:{{{list18|}}}|<tr> | ||
+ | {{#if:{{{group18|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group18style|}}}">{{{group18}}}</th>|}} | ||
+ | <td {{#if:{{{group18|}}}||colspan="2"}} style="background:{{#switch:{{{evenodd}}}|off|swap=transparent|#default=#f7f7f7}}; text-align: {{#if:{{{group18|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list18style|}}}">{{{list18}}}</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="background:{{#switch:{{{evenodd}}}|swap=#f7f7f7|off|#default=transparent}}; text-align: {{#if:{{{group19|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list19style|}}}">{{{list19}}}</td> | ||
+ | </tr>|}}<!-- | ||
+ | |||
+ | list20, group20 (add more if necessary) --> | ||
+ | {{#if:{{{list20|}}}|<tr> | ||
+ | {{#if:{{{group20|}}}|<th style="padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}; {{{group20style|}}}">{{{group20}}}</th>|}} | ||
+ | <td {{#if:{{{group20|}}}||colspan="2"}} style="background:{{#switch:{{{evenodd}}}|off|swap=transparent|#default=#f7f7f7}}; text-align: {{#if:{{{group20|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}; {{{list20style|}}}">{{{list20}}}</td> | ||
+ | </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> | ||
+ | |||
+ | {{Test| | ||
+ | | name = DF2014 soil | ||
+ | | state = expanded | ||
+ | | title = title | ||
+ | |||
+ | | above = above | ||
+ | | 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> |