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
(reducing blue a bit - I think that looks better on my end)
(get rid of max-width - only introduces a horizontal scrollbar for content, sometimes unnecessarily)
Line 3: Line 3:
 
! colspan="2" style="border: 1px solid #88a87f; font-weight:bold; background-color: #a7cc82; padding-left: 1em; padding-right: 1em; width:100%; display:table-cell" | {{#if:{{{1|}}}|{{{title|Raws}}}|[[{{NAMESPACE}}:{{PAGENAME}}/raw|{{{title|Raws}}}]]}}
 
! colspan="2" style="border: 1px solid #88a87f; font-weight:bold; background-color: #a7cc82; padding-left: 1em; padding-right: 1em; width:100%; display:table-cell" | {{#if:{{{1|}}}|{{{title|Raws}}}|[[{{NAMESPACE}}:{{PAGENAME}}/raw|{{{title|Raws}}}]]}}
 
|- style="text-align: left; display:table-cell; "
 
|- style="text-align: left; display:table-cell; "
| <div style="overflow:auto; max-width:800px"><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>
+
| <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>
 
|-
 
|-
 
|}</center><noinclude>{{documentation}}[[Category:Templates]]</noinclude>
 
|}</center><noinclude>{{documentation}}[[Category:Templates]]</noinclude>

Revision as of 02:22, 23 July 2020