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

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 +
<pre>{{CreatureCurrent table row|</pre><br><pre>
 +
name=[[</pre>{{lc:{{#df_tagvalue:{{{1}}}|CREATURE|N/A}}}}<pre>]]</pre><br><pre>
 +
|symbol=</pre>{{#df_tagvalue:{{{1}}}|CREATURE_TILE|?}}<br><pre>
 +
|color=</pre>7:0:1<br><pre>
 +
|hostile=</pre>{{#if:{{#df_tag:{{{1}}}|LARGE_PREDATOR}}|<pre>{{Cgr|Y}}</pre>|<pre>{{Cgr|N}}</pre>}}<br><pre>
 +
|food=N/A</pre><br><pre>
 +
|swims=</pre>{{#if:{{#df_tag:{{{1}}}|SWIMS_INNATE}}|<pre>{{Cgr|Y}}</pre>|<pre>{{Cgr|N}}</pre>}}<br><pre>
 +
|flies=</pre>{{#if:{{#df_tag:{{{1}}}|FLIER}}|<pre>{{Cgr|Y}}</pre>|<pre>{{Cgr|N}}</pre>}}<br><pre>
 +
|magmasafe=</pre>{{#iferror: {{#ifexpr: ({{#df_tagvalue:{{{1}}}|IF_EXISTS_SET_MELTING_POINT|0}}) > 12000 |<pre>{{Cgr|Y}}</pre>|<pre>{{Cgr|N}}</pre>}}|<pre>{{Cgr|N}}</pre>}}<br><pre>
 +
|tamable=</pre>{{#if:{{#df_tag:{{{1}}}|PETVALUE}}|<pre>{{Cgr|Y}}</pre>|<pre>{{Cgr|N}}</pre>}}<br><pre>
 +
|trainable=</pre>{{#if:{{#df_tag:{{{1}}}|TRAINABLE}}|<pre>{{Cgr|Y}}</pre>|<pre>{{Cgr|N}}</pre>}}<br><pre>
 +
|biome=</pre>{{#df_foreachtag:{{{1}}}|BIOME|<pre>{{bIcon|/2}}</pre>}} {{#iferror: {{#ifexpr: ({{#df_tag:{{{1}}}|COMMON_DOMESTIC}}) = 1 |<pre>{{bIcon|DOMESTIC}}</pre>}}|}}<br><pre>
 +
|size=N/A</pre><br><pre>
 +
|value=</pre>{{PVm|{{#df_tagvalue:{{{1}}}|PETVALUE|0}}}}<br><pre>
 +
}}</pre>
 +
 +
 
{| style="margin:1em 1em 1em 0;background:#F9F9F9;border:1px #AAA solid;border-collapse:collapse;" class="wikitable sortable"
 
{| style="margin:1em 1em 1em 0;background:#F9F9F9;border:1px #AAA solid;border-collapse:collapse;" class="wikitable sortable"
 
|- style="background:#F2F2F2;text-align:center;"
 
|- style="background:#F2F2F2;text-align:center;"
!style="border:1px #AAA solid;padding:0.2em;" class="unsortable"|Symbol?
+
!style="border:1px #AAA solid;padding:0.2em;" class="unsortable"|Symbol
 
!style="border:1px #AAA solid;padding:0.2em;"|Name
 
!style="border:1px #AAA solid;padding:0.2em;"|Name
 
!style="border:1px #AAA solid;padding:0.2em;"|<small>Hostile?</small>
 
!style="border:1px #AAA solid;padding:0.2em;"|<small>Hostile?</small>
Line 16: Line 33:
 
|-
 
|-
 
|style="border:1px #AAA solid;padding:0.2em;font-size: 175%;font-weight: bold; font-family: 'Century', monospace; background: black;color:{{fgcolor|{{{color|{{#df_tagvalue:{{{1}}}|COLOR|7:0:1}}}}}}};text-align:center;"|{{#df_tagvalue:{{{1}}}|CREATURE_TILE|?}}
 
|style="border:1px #AAA solid;padding:0.2em;font-size: 175%;font-weight: bold; font-family: 'Century', monospace; background: black;color:{{fgcolor|{{{color|{{#df_tagvalue:{{{1}}}|COLOR|7:0:1}}}}}}};text-align:center;"|{{#df_tagvalue:{{{1}}}|CREATURE_TILE|?}}
|style="border:1px #AAA solid;padding:0.2em;text-align:center;"|{{lc:{{#df_tagvalue:{{{1}}}|CREATURE|N/A}}}}
+
|style="border:1px #AAA solid;padding:0.2em;text-align:center;"|[[{{lc:{{#df_tagvalue:{{{1}}}|CREATURE|N/A}}}}]]
 
|style="border:1px #AAA solid;padding:0.2em;text-align:center;"|{{#if:{{#df_tag:{{{1}}}|LARGE_PREDATOR}}|{{Cgr|Y}}|{{Cgr|N}}}}
 
|style="border:1px #AAA solid;padding:0.2em;text-align:center;"|{{#if:{{#df_tag:{{{1}}}|LARGE_PREDATOR}}|{{Cgr|Y}}|{{Cgr|N}}}}
 
|style="border:1px #AAA solid;padding:0.2em;text-align:center;"|N/A
 
|style="border:1px #AAA solid;padding:0.2em;text-align:center;"|N/A
Line 28: Line 45:
 
|style="border:1px #AAA solid;padding:0.2em;text-align:center;"|{{#df_tagvalue:{{{1}}}|PETVALUE|0}}
 
|style="border:1px #AAA solid;padding:0.2em;text-align:center;"|{{#df_tagvalue:{{{1}}}|PETVALUE|0}}
 
|style="border:1px #AAA solid;padding:0em;font-size: 50%;font-family: 'Century', monospace; background: black;text-align:center;"|{{PVm|{{#df_tagvalue:{{{1}}}|PETVALUE|0}}}}
 
|style="border:1px #AAA solid;padding:0em;font-size: 50%;font-family: 'Century', monospace; background: black;text-align:center;"|{{PVm|{{#df_tagvalue:{{{1}}}|PETVALUE|0}}}}
|}
+
|}</includeonly><noinclude>
</includeonly><noinclude><nowiki>{{#df_tagvalue:{{{1}}}|CREATURE_TILE|?}}
+
<nowiki>{{#df_tagvalue:{{{1}}}|CREATURE_TILE|?}}
 
{{#df_tagvalue:{{{1}}}|COLOR|7:0:1}}
 
{{#df_tagvalue:{{{1}}}|COLOR|7:0:1}}
 
{{#ifexpr: {{#df_tag:{{{1}}}|LARGE_PREDATOR}} = 1|{{Cgr|Y}|{{Cgr|N}}}}
 
{{#ifexpr: {{#df_tag:{{{1}}}|LARGE_PREDATOR}} = 1|{{Cgr|Y}|{{Cgr|N}}}}

Revision as of 08:04, 10 April 2011

{{#df_tagvalue:{{{1}}}|CREATURE_TILE|?}} {{#df_tagvalue:{{{1}}}|COLOR|7:0:1}} {{#ifexpr: {{#df_tag:{{{1}}}|LARGE_PREDATOR}} = 1|{{Cgr|Y}|{{Cgr|N}}}} {{#ifexpr: {{#df_tag:{{{1}}}|SWIMS_INNATE}} = 1|{{Cgr|Y}|{{Cgr|N}}}} {{#ifexpr: {{#df_tag:{{{1}}}|FLIER}} = 1|{{Cgr|Y}|{{Cgr|N}}}} {{#ifexpr: ({{#df_tagvalue:{{{1}}}|IF_EXISTS_SET_MELTING_POINT|0}}) > 12000|{{Cgr|Y}|{{Cgr|N}}}} {{#ifexpr: {{#df_tag:{{{1}}}|PETVALUE}} = 1|{{Cgr|Y}|{{Cgr|N}}}} {{#ifexpr: {{#df_tag:{{{1}}}|TRAINABLE}} = 1|{{Cgr|Y}|{{Cgr|N}}}} {{#df_foreachtag:{{{1}}}|BIOME|{{bIcon|/2}} {{bIcon|/3}} {{bIcon|/4}} {{bIcon|/5}} {{bIcon|/6}} {{bIcon|/7}}}} {{#ifexpr: {{#df_tag:{{{1}}}|COMMON_DOMESTIC}} = 1|{{bIcon|DOMESTIC}}}} {{#df_tag:{{{1}}}|COMMON_DOMESTIC}} {{#df_tagvalue:{{{1}}}|PETVALUE|0}} {{PVm|{{#df_tagvalue:{{{1}}}|PETVALUE|0}}}}