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

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (whoops - still include the text itself)
m (Protected "Template:Gamedata": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(29 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<center>
+
{{#ifeq:{{{noclear}}}|no||{{clear}}}}
{| {{listboxformat}}
+
<table class="collapsible collapsed infobox gamedata" style="background: #fdfdfd; border: 1px solid #aaa; font-size: 88%; margin: 0 auto -1px; vertical-align: middle; width: 100%; max-width: 100em; table-layout: fixed; {{{bodystyle|}}}">
! colspan="2" style="border: 1px solid #72A329; font-weight:bold; background-color: #bd8; padding-left: 1em; padding-right: 1em; width:100%; display:table-cell" | {{#if:{{{1|}}}|Raws|[[{{NAMESPACE}}:{{PAGENAME}}/raw|Raws]]}}
+
<tr style="line-height: 1.5em;"><th scope="col" style="background: #cce6b3; padding: 0.25em 1em; text-align: center; display: table-cell; {{{basestyle|}}}; {{{titlestyle|}}}"><div style="font-size: 114%; margin: 0 9em;">{{#if:{{{1|}}}|{{{title|Raws}}}|[[{{NAMESPACE}}:{{PAGENAME}}/raw|{{{title|Raws}}}]]}}</div></th></tr>
|- style="text-align: left; display:table-cell; "
+
<tr style="line-height: 1.5em; text-align: left; display: table-cell;"><td><div style="overflow: auto;"><span class="gamedata-content" style="font-family: monospace; font-size:1.25em; white-space:{{{whitespace|pre}}};">{{#if:{{{1|}}}|{{#tag:nowiki|{{{1}}}}}|{{#ifexist:{{NAMESPACE}}:{{PAGENAME}}/raw|{{#tag:nowiki|{{{{#if:{{NAMESPACE}}|:}}{{NAMESPACE}}:{{PAGENAME}}/raw|1}}}}|{{edit|{{NAMESPACE}}:{{PAGENAME}}/raw|Edit}}{{Category|Missing raws}}}}}}</span></div></td></tr></table><noinclude>{{documentation}}[[Category:Templates]]</noinclude>
| <div style="overflow:auto; max-width:800px"><span style="font-family: monospace; font-size:1.25em; white-space:pre;">{{#if:{{{1|}}}|{{#tag:nowiki|{{{1}}}}}|{{#ifexist:{{NAMESPACE}}:{{PAGENAME}}/raw|{{#tag:nowiki|{{:{{NAMESPACE}}:{{PAGENAME}}/raw}}}}|{{edit|{{NAMESPACE}}:{{PAGENAME}}/raw|Edit}}}}}}</span></div>
 
|-
 
|}</center><noinclude>[[Category:Templates]]</noinclude>
 

Latest revision as of 22:28, 28 November 2023