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:Navbox/doc
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 5: | Line 5: | ||
<pre style="overflow: auto;">{{Navbox | <pre style="overflow: auto;">{{Navbox | ||
− | | name = {{subst:PAGENAME}}{{subst: | + | | name = {{subst:PAGENAME}}{{subst:void|Don't change anything on this line. It will change itself when you save.}} |
| title = | | title = | ||
| state = {{{state|}}} | | state = {{{state|}}} | ||
Line 20: | Line 20: | ||
| list3 = | | list3 = | ||
− | <!-- ... (up to | + | <!-- ... (up to group20 & list20) --> |
| below = | | below = | ||
Line 27: | Line 27: | ||
==Parameters== | ==Parameters== | ||
+ | ''WIP'' | ||
===Setup parameters=== | ===Setup parameters=== | ||
− | : <code>name</code> | + | : <code>name</code> |
− | + | : <code>state</code> | |
− | : <code>state</code> | + | : <code>navbar</code> |
− | |||
− | |||
− | |||
− | : <code>navbar</code> | ||
− | |||
===Cells=== | ===Cells=== | ||
− | : <code>title</code> | + | : <code>title</code> |
− | : <code>above</code> | + | : <code>above</code> |
− | : <code>group<sub>n</sub></code> | + | : <code>group<sub>n</sub></code> |
− | : <code>list<sub>n</sub></code> | + | : <code>list<sub>n</sub></code> |
− | : <code>below</code> | + | : <code>below</code> |
===Style parameters=== | ===Style parameters=== | ||
− | + | : <code>bodystyle</code> | |
− | + | : <code>titlestyle</code> | |
− | : <code>bodystyle</code> | + | : <code>basestyle</code> |
− | : <code>titlestyle</code> | + | : <code>abovestyle</code> |
− | : <code>basestyle</code> | + | : <code>belowstyle</code> |
− | : <code>abovestyle</code> | + | : <code>groupstyle</code> |
− | : <code>belowstyle</code> | + | : <code>group<sub>n</sub>style</code> |
− | : <code>groupstyle</code> | + | : <code>liststyle</code> |
− | : <code>group<sub>n</sub>style</code> | + | : <code>list<sub>n</sub>style</code> |
− | : <code>liststyle</code> | + | : <code>listpadding</code> |
− | : <code>list<sub>n</sub>style</code> | ||
− | : <code>listpadding</code> | ||
====Default styles==== | ====Default styles==== | ||
<syntaxhighlight lang="css"> | <syntaxhighlight lang="css"> | ||
− | bodystyle = background: #fdfdfd; border: 1px solid #aaa; font-size: | + | bodystyle = background: #fdfdfd; border: 1px solid #aaa; font-size: 90%; margin: 0 auto -1px; padding: 1px; vertical-align: middle; width: 60%; |
− | titlestyle = background: #ccccff; border: 1px solid #aaa; padding: 0.25em 1em; text-align: center; | + | titlestyle = background: #ccccff; border: 1px solid #aaa; padding: 0.25em 1em; text-align: center; line-height: 1.5em; |
abovestyle = background: #ddddff; padding: 0.25em 1em; text-align: center; | abovestyle = background: #ddddff; padding: 0.25em 1em; text-align: center; | ||
belowstyle = background: #ddddff; padding: 0.25em 1em; text-align: center; | belowstyle = background: #ddddff; padding: 0.25em 1em; text-align: center; | ||
groupstyle = background: #ddddff; padding: 0.25em 1em; text-align: right; white-space: nowrap; width: 1%; | groupstyle = background: #ddddff; padding: 0.25em 1em; text-align: right; white-space: nowrap; width: 1%; | ||
− | liststyle = background: transparent | + | liststyle = background: transparent; text-align: left/center; |
</syntaxhighlight> | </syntaxhighlight> | ||
− | A list defaults to <code>text-align: left;</code> if it has a group, if not it defaults to <code>text-align: center;</code> | + | A list defaults to <code>text-align: left;</code> if it has a group, if not it defaults to <code>text-align: center;</code>. |
==Layout== | ==Layout== | ||
Line 116: | Line 110: | ||
| name = Navbox/doc | | name = Navbox/doc | ||
| title = [[Soil]] | | title = [[Soil]] | ||
− | | state = expanded | + | | state = {{{state|expanded}}} |
− | + | | titlestyle = background-color: #c0e1d1; | |
− | | titlestyle = background-color: # | + | | basestyle = background-color: #b0cabd; |
− | | basestyle = background-color: # | ||
| group1 = Topsoil | | group1 = Topsoil | ||
| list1 = [[Loam]] • [[Loamy sand]] • [[Peat]] • [[Sandy clay loam]] • [[Sandy loam]] • [[Silt]] • [[Silt loam]] • [[Silty clay loam]] | | list1 = [[Loam]] • [[Loamy sand]] • [[Peat]] • [[Sandy clay loam]] • [[Sandy loam]] • [[Silt]] • [[Silt loam]] • [[Silty clay loam]] | ||
− | |||
| group2 = Ocean floor | | group2 = Ocean floor | ||
| list2 = [[Calcareous ooze]] • [[Pelagic clay]] • [[Siliceous ooze]] | | list2 = [[Calcareous ooze]] • [[Pelagic clay]] • [[Siliceous ooze]] | ||
Line 132: | Line 124: | ||
| group4 = Clay | | group4 = Clay | ||
− | |||
| list4 = [[Clay]] • [[Clay loam]] • [[Fire clay]] • [[Sandy clay]] • [[Silty clay]] | | list4 = [[Clay]] • [[Clay loam]] • [[Fire clay]] • [[Sandy clay]] • [[Silty clay]] | ||
Line 142: | Line 133: | ||
| name = Navbox/doc | | name = Navbox/doc | ||
| title = [[Soil]] | | title = [[Soil]] | ||
− | | state = expanded | + | | state = {{{state|expanded}}} |
− | + | | titlestyle = background-color: #c0e1d1; | |
− | | titlestyle = background-color: # | + | | basestyle = background-color: #b0cabd; |
− | | basestyle = background-color: # | ||
| group1 = Topsoil | | group1 = Topsoil | ||
| list1 = [[Loam]] • [[Loamy sand]] • [[Peat]] • [[Sandy clay loam]] • [[Sandy loam]] • [[Silt]] • [[Silt loam]] • [[Silty clay loam]] | | list1 = [[Loam]] • [[Loamy sand]] • [[Peat]] • [[Sandy clay loam]] • [[Sandy loam]] • [[Silt]] • [[Silt loam]] • [[Silty clay loam]] | ||
− | |||
| group2 = Ocean floor | | group2 = Ocean floor | ||
| list2 = [[Calcareous ooze]] • [[Pelagic clay]] • [[Siliceous ooze]] | | list2 = [[Calcareous ooze]] • [[Pelagic clay]] • [[Siliceous ooze]] | ||
Line 158: | Line 147: | ||
| group4 = Clay | | group4 = Clay | ||
− | |||
| list4 = [[Clay]] • [[Clay loam]] • [[Fire clay]] • [[Sandy clay]] • [[Silty clay]] | | list4 = [[Clay]] • [[Clay loam]] • [[Fire clay]] • [[Sandy clay]] • [[Silty clay]] | ||
Line 165: | Line 153: | ||
==Child navboxes== | ==Child navboxes== | ||
− | + | ''TBD'' | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | <includeonly>[[Category:Navigation templates|*]]</includeonly> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<noinclude>[[Category:Template Documentation]]</noinclude> | <noinclude>[[Category:Template Documentation]]</noinclude> |