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
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>{{sandbox}}
+
<!--            Welcome to the sandbox!              *
</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|}}}"><!--
+
*            Please leave this part alone            *
 +
--><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 & navbar ---
+
| group2 =
-->{{#if:{{{title|}}}|<!--
+
| list2 =
  --><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;">
 
{{{title}}}</div></th></tr>|}}<!--
 
  
 +
| group3 =
 +
| list3  =
  
--- above ---
 
-->{{#if:{{{above|}}}|<!--
 
--><tr><td colspan="2" style="background: #e6e6ff; padding: 0.25em 1em; text-align: center; {{{basestyle|}}}; {{{abovestyle|}}}">
 
{{{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>|}}<!--
 
 
--- 3rd group/list ---
 
-->{{#if:{{{list3|}}}|<!--
 
--><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:{{{group3|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group3|}}}|left|center}}; {{{liststyle|}}}; {{{list3style|}}}">
 
{{{list3}}}</td></tr>|}}<!--
 
 
--- 4th group/list ---
 
-->{{#if:{{{list4|}}}|<!--
 
--><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:{{{group4|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group4|}}}|left|center}}; {{{liststyle|}}}; {{{list4style|}}}">
 
{{{list4}}}</td></tr>|}}<!--
 
 
--- 5th group/list ---
 
-->{{#if:{{{list5|}}}|<!--
 
--><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:{{{group5|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group5|}}}|left|center}}; {{{liststyle|}}}; {{{list5style|}}}">
 
{{{list5}}}</td></tr>|}}<!--
 
 
--- 6th group/list ---
 
-->{{#if:{{{list6|}}}|<!--
 
--><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:{{{group6|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group6|}}}|left|center}}; {{{liststyle|}}}; {{{list6style|}}}">
 
{{{list6}}}</td></tr>|}}<!--
 
 
--- 7th group/list ---
 
-->{{#if:{{{list7|}}}|<!--
 
--><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:{{{group7|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group7|}}}|left|center}}; {{{liststyle|}}}; {{{list7style|}}}">
 
{{{list7}}}</td></tr>|}}<!--
 
 
--- 8th group/list ---
 
-->{{#if:{{{list8|}}}|<!--
 
--><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:{{{group8|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group8|}}}|left|center}}; {{{liststyle|}}}; {{{list8style|}}}">
 
{{{list8}}}</td></tr>|}}<!--
 
 
--- 9th group/list ---
 
-->{{#if:{{{list9|}}}|<!--
 
--><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:{{{group9|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group9|}}}|left|center}}; {{{liststyle|}}}; {{{list9style|}}}">
 
{{{list9}}}</td></tr>|}}<!--
 
 
--- 10th group/list ---
 
-->{{#if:{{{list10|}}}|<!--
 
--><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:{{{group10|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group10|}}}|left|center}}; {{{liststyle|}}}; {{{list10style|}}}">
 
{{{list10}}}</td></tr>|}}<!--
 
 
--- 11th group/list ---
 
-->{{#if:{{{list11|}}}|<!--
 
--><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:{{{group11|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group11|}}}|left|center}}; {{{liststyle|}}}; {{{list11style|}}}">
 
{{{list11}}}</td></tr>|}}<!--
 
 
--- 12th group/list ---
 
-->{{#if:{{{list12|}}}|<!--
 
--><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:{{{group12|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group12|}}}|left|center}}; {{{liststyle|}}}; {{{list12style|}}}">
 
{{{list12}}}</td></tr>|}}<!--
 
 
--- 13th group/list ---
 
-->{{#if:{{{list13|}}}|<!--
 
--><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:{{{group13|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group13|}}}|left|center}}; {{{liststyle|}}}; {{{list13style|}}}">
 
{{{list13}}}</td></tr>|}}<!--
 
 
--- 14th group/list ---
 
-->{{#if:{{{list14|}}}|<!--
 
--><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:{{{group14|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group14|}}}|left|center}}; {{{liststyle|}}}; {{{list14style|}}}">
 
{{{list14}}}</td></tr>|}}<!--
 
 
--- 15th group/list ---
 
-->{{#if:{{{list15|}}}|<!--
 
--><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:{{{group15|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group15|}}}|left|center}}; {{{liststyle|}}}; {{{list15style|}}}">
 
{{{list15}}}</td></tr>|}}<!--
 
 
--- 16th group/list ---
 
-->{{#if:{{{list16|}}}|<!--
 
--><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:{{{group16|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group16|}}}|left|center}}; {{{liststyle|}}}; {{{list16style|}}}">
 
{{{list16}}}</td></tr>|}}<!--
 
 
--- 17th group/list ---
 
-->{{#if:{{{list17|}}}|<!--
 
--><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:{{{group17|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group17|}}}|left|center}}; {{{liststyle|}}}; {{{list17style|}}}">
 
{{{list17}}}</td></tr>|}}<!--
 
 
--- 18th group/list ---
 
-->{{#if:{{{list18|}}}|<!--
 
--><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:{{{group18|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group18|}}}|left|center}}; {{{liststyle|}}}; {{{list18style|}}}">
 
{{{list18}}}</td></tr>|}}<!--
 
 
--- 19th group/list ---
 
-->{{#if:{{{list19|}}}|<!--
 
--><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:{{{group19|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group19|}}}|left|center}}; {{{liststyle|}}}; {{{list19style|}}}">
 
{{{list19}}}</td></tr>|}}<!--
 
 
--- 20th group/list ---
 
-->{{#if:{{{list20|}}}|<!--
 
--><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:{{{group20|}}}||colspan="2"}} style="background: transparent; padding: 0 0.25em; text-align: {{#if:{{{group20|}}}|left|center}}; {{{liststyle|}}}; {{{list20style|}}}">
 
{{{list20}}}</td></tr>|}}<!--
 
 
 
--- below ---
 
-->{{#if:{{{below|}}}|<!--
 
--><tr><td colspan="2" style="background: #e6e6ff; padding: 0.25em 1em; text-align: center; {{{basestyle|}}}; {{{belowstyle|}}}">
 
{{{below}}}</td></tr>|}}
 
</table></includeonly><noinclude>
 
 
{{Navbox|
 
| state = expanded
 
| navbar = off
 
| title = title
 
| 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
 
 
}}
 
}}
 
</noinclude>
 

Latest revision as of 21:43, 12 January 2022

Tokens