Difference between revisions of "Template:Gamedata"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(restore original color but darken a bit)
(less ugly green.)
 
Line 1: Line 1:
 
{{#ifeq:{{{noclear}}}|no||{{clear}}}}<center>
 
{{#ifeq:{{{noclear}}}|no||{{clear}}}}<center>
 
{| {{listboxformat|class=gamedata}}
 
{| {{listboxformat|class=gamedata}}
! colspan="2" style="border: 1px solid #72A329; font-weight:bold; background-color: #ad8; 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 #72A329; font-weight:bold; background-color: #b9ccad; 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; 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>
 
|-
 
|-
 
|}</center><noinclude>{{documentation}}[[Category:Templates]]</noinclude>
 
|}</center><noinclude>{{documentation}}[[Category:Templates]]</noinclude>

Latest revision as of 07:20, 1 December 2019