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
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>{{sandbox}}
+
<!--            Welcome to the sandbox!              *
</noinclude><includeonly>
+
*            Please leave this part alone            *
{| class="collapsible {{{state|autocollapse}}} infobox" style="margin: 0 auto -1px; border: 1px solid #aaa; font-size: 90%; padding: 2px; width: 60%; {{{bodystyle|}}}"<!--
+
--><noinclude>{{sandbox}}</noinclude><!--
 +
*            CAUTION: this is a TEMPLATE            *
 +
*      For a normal page, search up "Sandbox"      *
 +
*        The page might be cleared regularly        *
 +
*    Feel free to try your editing skills below    *
 +
******************************************************-->
 +
{{Navbox
 +
| name  = Test{{subst:void|Don't change anything on this line. It will change itself when you save.}}
 +
| title = [[Modding]]
 +
| state = {{{state|}}}
  
 +
| group1 = [[Token]]s
 +
| list1  = [[Ammo token|Ammo]] • [[Armor token|Armor]] • [[Biome token|Biome]] • [[Building token|Building]] • [[Body token|Body]] • [[Body detail plan token|Body detail plan]] • [[Bodygloss]] • [[Creature token|Creature]] • [[Creature variation token|Creature variation]] • [[Descriptor color token|Descriptor color]] • [[Descriptor pattern token|Descriptor pattern]] • [[Descriptor shape token|Descriptor shape]] • [[Entity token|Entity]] • [[Item token|Item]] • [[Item definition token|Item definition]] • [[Instrument token|Instrument]] • [[Interaction token|Interaction]] • [[Labor token|Labor]] • [[Language token|Language]] • [[Material token|Material]] • [[Material definition token|Material definition]] • [[Inorganic material definition token|Inorganic material definition]] • [[Plant token|Plant]] • [[Position token|Position]] • [[Skill token|Skill]] • [[Syndrome token|Syndrome]] • [[Tissue definition token|Tissue definition]] • [[Tool token|Tool]] • [[Trap component token|Trap component]] • [[Unit type token|Unit type]] • [[Weapon token|Weapon]] • [[World token|World]]
  
title -->
+
| group2 =
{{#if:{{{title|}}}|! 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>
+
| list2  =
{{!}}-|}}<!--
 
  
 +
| group3 =
 +
| list3  =
  
above -->
 
{{#if:{{{above|}}}|{{!}} colspan="2" style="border: 1px solid #aaa; padding: 0.2em 0.5em; background: #cdcde5; text-align: center; {{{basestyle|}}}; {{{abovestyle|}}}" {{!}} {{{above}}}
 
{{!}}-|}}<!--
 
 
 
 
 
list1, group1 -->
 
{{#if:{{{list1|}}}|
 
{{#if:{{{group1|}}}|! style="border: 1px solid #aaa; padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}" {{!}} {{{group1}}}|}}
 
{{!}}{{#if:{{{group1|}}}|| colspan="2"}} style="background:{{#switch:{{{evenodd}}}|swap=&#35;f7f7f7|off|#default=transparent}}; text-align: {{#if:{{{group1|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}" {{!}} {{{list1}}}
 
{{!}}-|}}<!--
 
 
list2, group2 -->
 
{{#if:{{{list2|}}}|
 
{{#if:{{{group2|}}}|! style="border: 1px solid #aaa; padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}" {{!}} {{{group2}}}|}}
 
{{!}}{{#if:{{{group2|}}}|| colspan="2"}} style="background:{{#switch:{{{evenodd}}}|off|swap=transparent|#default=&#35;f7f7f7}}; text-align: {{#if:{{{group2|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}" {{!}} {{{list2}}}
 
{{!}}-|}}<!--
 
 
list3, group3 -->
 
{{#if:{{{list3|}}}|
 
{{#if:{{{group3|}}}|! style="border: 1px solid #aaa; padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}" {{!}} {{{group3}}}|}}
 
{{!}}{{#if:{{{group3|}}}|| colspan="2"}} style="background:{{#switch:{{{evenodd}}}|swap=&#35;f7f7f7|off|#default=transparent}}; text-align: {{#if:{{{group3|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}" {{!}} {{{list3}}}
 
{{!}}-|}}<!--
 
 
list4, group4 -->
 
{{#if:{{{list4|}}}|
 
{{#if:{{{group4|}}}|! style="border: 1px solid #aaa; padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}" {{!}} {{{group4}}}|}}
 
{{!}}{{#if:{{{group4|}}}|| colspan="2"}} style="background:{{#switch:{{{evenodd}}}|off|swap=transparent|#default=&#35;f7f7f7}}; text-align: {{#if:{{{group4|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}" {{!}} {{{list4}}}
 
{{!}}-|}}<!--
 
 
list5, group5 -->
 
{{#if:{{{list5|}}}|
 
{{#if:{{{group5|}}}|! style="border: 1px solid #aaa; padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}" {{!}} {{{group5}}}|}}
 
{{!}}{{#if:{{{group5|}}}|| colspan="2"}} style="background:{{#switch:{{{evenodd}}}|swap=&#35;f7f7f7|off|#default=transparent}}; text-align: {{#if:{{{group5|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}" {{!}} {{{list5}}}
 
{{!}}-|}}<!--
 
 
list6, group6 -->
 
{{#if:{{{list6|}}}|
 
{{#if:{{{group6|}}}|! style="border: 1px solid #aaa; padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}" {{!}} {{{group6}}}|}}
 
{{!}}{{#if:{{{group6|}}}|| colspan="2"}} style="background:{{#switch:{{{evenodd}}}|off|swap=transparent|#default=&#35;f7f7f7}}; text-align: {{#if:{{{group6|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}" {{!}} {{{list6}}}
 
{{!}}-|}}<!--
 
 
list7, group7 -->
 
{{#if:{{{list7|}}}|
 
{{#if:{{{group7|}}}|! style="border: 1px solid #aaa; padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}" {{!}} {{{group7}}}|}}
 
{{!}}{{#if:{{{group7|}}}|| colspan="2"}} style="background:{{#switch:{{{evenodd}}}|swap=&#35;f7f7f7|off|#default=transparent}}; text-align: {{#if:{{{group7|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}" {{!}} {{{list7}}}
 
{{!}}-|}}<!--
 
 
list8, group8 -->
 
{{#if:{{{list8|}}}|
 
{{#if:{{{group8|}}}|! style="border: 1px solid #aaa; padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}" {{!}} {{{group8}}}|}}
 
{{!}}{{#if:{{{group8|}}}|| colspan="2"}} style="background:{{#switch:{{{evenodd}}}|off|swap=transparent|#default=&#35;f7f7f7}}; text-align: {{#if:{{{group8|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}" {{!}} {{{list8}}}
 
{{!}}-|}}<!--
 
 
list9, group9 -->
 
{{#if:{{{list9|}}}|
 
{{#if:{{{group9|}}}|! style="border: 1px solid #aaa; padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}" {{!}} {{{group9}}}|}}
 
{{!}}{{#if:{{{group9|}}}|| colspan="2"}} style="background:{{#switch:{{{evenodd}}}|swap=&#35;f7f7f7|off|#default=transparent}}; text-align: {{#if:{{{group9|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}" {{!}} {{{list9}}}
 
{{!}}-|}}<!--
 
 
list10, group10 -->
 
{{#if:{{{list10|}}}|
 
{{#if:{{{group10|}}}|! style="border: 1px solid #aaa; padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}" {{!}} {{{group10}}}|}}
 
{{!}}{{#if:{{{group10|}}}|| colspan="2"}} style="background:{{#switch:{{{evenodd}}}|off|swap=transparent|#default=&#35;f7f7f7}}; text-align: {{#if:{{{group10|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}" {{!}} {{{list10}}}
 
{{!}}-|}}<!--
 
 
list11, group11 -->
 
{{#if:{{{list11|}}}|
 
{{#if:{{{group11|}}}|! style="border: 1px solid #aaa; padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}" {{!}} {{{group11}}}|}}
 
{{!}}{{#if:{{{group11|}}}|| colspan="2"}} style="background:{{#switch:{{{evenodd}}}|swap=&#35;f7f7f7|off|#default=transparent}}; text-align: {{#if:{{{group11|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}" {{!}} {{{list11}}}
 
{{!}}-|}}<!--
 
 
list12, group12 -->
 
{{#if:{{{list12|}}}|
 
{{#if:{{{group12|}}}|! style="border: 1px solid #aaa; padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}" {{!}} {{{group12}}}|}}
 
{{!}}{{#if:{{{group12|}}}|| colspan="2"}} style="background:{{#switch:{{{evenodd}}}|off|swap=transparent|#default=&#35;f7f7f7}}; text-align: {{#if:{{{group12|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}" {{!}} {{{list12}}}
 
{{!}}-|}}<!--
 
 
list13, group13 -->
 
{{#if:{{{list13|}}}|
 
{{#if:{{{group13|}}}|! style="border: 1px solid #aaa; padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}" {{!}} {{{group13}}}|}}
 
{{!}}{{#if:{{{group13|}}}|| colspan="2"}} style="background:{{#switch:{{{evenodd}}}|swap=&#35;f7f7f7|off|#default=transparent}}; text-align: {{#if:{{{group13|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}" {{!}} {{{list13}}}
 
{{!}}-|}}<!--
 
 
list14, group14 -->
 
{{#if:{{{list14|}}}|
 
{{#if:{{{group14|}}}|! style="border: 1px solid #aaa; padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}" {{!}} {{{group14}}}|}}
 
{{!}}{{#if:{{{group14|}}}|| colspan="2"}} style="background:{{#switch:{{{evenodd}}}|off|swap=transparent|#default=&#35;f7f7f7}}; text-align: {{#if:{{{group14|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}" {{!}} {{{list14}}}
 
{{!}}-|}}<!--
 
 
list15, group15 -->
 
{{#if:{{{list15|}}}|
 
{{#if:{{{group15|}}}|! style="border: 1px solid #aaa; padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}" {{!}} {{{group15}}}|}}
 
{{!}}{{#if:{{{group15|}}}|| colspan="2"}} style="background:{{#switch:{{{evenodd}}}|swap=&#35;f7f7f7|off|#default=transparent}}; text-align: {{#if:{{{group15|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}" {{!}} {{{list15}}}
 
{{!}}-|}}<!--
 
 
list16, group16 -->
 
{{#if:{{{list16|}}}|
 
{{#if:{{{group16|}}}|! style="border: 1px solid #aaa; padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}" {{!}} {{{group16}}}|}}
 
{{!}}{{#if:{{{group16|}}}|| colspan="2"}} style="background:{{#switch:{{{evenodd}}}|off|swap=transparent|#default=&#35;f7f7f7}}; text-align: {{#if:{{{group16|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}" {{!}} {{{list16}}}
 
{{!}}-|}}<!--
 
 
list17, group17 -->
 
{{#if:{{{list17|}}}|
 
{{#if:{{{group17|}}}|! style="border: 1px solid #aaa; padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}" {{!}} {{{group17}}}|}}
 
{{!}}{{#if:{{{group17|}}}|| colspan="2"}} style="background:{{#switch:{{{evenodd}}}|swap=&#35;f7f7f7|off|#default=transparent}}; text-align: {{#if:{{{group17|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}" {{!}} {{{list17}}}
 
{{!}}-|}}<!--
 
 
list18, group18 -->
 
{{#if:{{{list18|}}}|
 
{{#if:{{{group18|}}}|! style="border: 1px solid #aaa; padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}" {{!}} {{{group18}}}|}}
 
{{!}}{{#if:{{{group18|}}}|| colspan="2"}} style="background:{{#switch:{{{evenodd}}}|off|swap=transparent|#default=&#35;f7f7f7}}; text-align: {{#if:{{{group18|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}" {{!}} {{{list18}}}
 
{{!}}-|}}<!--
 
 
list19, group19 -->
 
{{#if:{{{list19|}}}|
 
{{#if:{{{group19|}}}|! style="border: 1px solid #aaa; padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}" {{!}} {{{group19}}}|}}
 
{{!}}{{#if:{{{group19|}}}|| colspan="2"}} style="background:{{#switch:{{{evenodd}}}|swap=&#35;f7f7f7|off|#default=transparent}}; text-align: {{#if:{{{group19|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}" {{!}} {{{list19}}}
 
{{!}}-|}}<!--
 
 
list20, group20 (add more if necessary) -->
 
{{#if:{{{list20|}}}|
 
{{#if:{{{group20|}}}|! style="border: 1px solid #aaa; padding: 0.25em 1em; width: 1%; background: #cdcde5; white-space: nowrap; {{{basestyle|}}}; {{{groupstyle|}}}" {{!}} {{{group20}}}|}}
 
{{!}}{{#if:{{{group20|}}}|| colspan="2"}} style="background:{{#switch:{{{evenodd}}}|off|swap=transparent|#default=&#35;f7f7f7}}; text-align: {{#if:{{{group20|}}}|left|center}}; padding:0.2em 0.5em; {{{liststyle|}}}" {{!}} {{{list20}}}
 
{{!}}-|}}<!--
 
 
 
 
below -->
 
{{#if:{{{below|}}}|{{!}} colspan="2" style="border: 1px solid #aaa; padding: 0.2em 0.5em; background: #cdcde5; text-align: center; {{{basestyle|}}}; {{{belowstyle|}}}" {{!}} {{{below}}}|}}
 
|}</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>
 

Latest revision as of 21:43, 12 January 2022

Tokens