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"
Jump to navigation
Jump to search
m (test) |
|||
Line 3: | Line 3: | ||
<nowiki>{{CreatureCurrent table row|</nowiki><br> | <nowiki>{{CreatureCurrent table row|</nowiki><br> | ||
<nowiki> | <nowiki> | ||
− | name=[[</nowiki>{{lc:{{#df_tagvalue | + | name=[[</nowiki>{{lc:{{#df_tagvalue:{{{1}}}|CREATURE|N/A}}}}<nowiki>]]</nowiki><br><nowiki> |
− | |symbol=</nowiki>{{#df_tagvalue | + | |symbol=</nowiki>{{#df_tagvalue:{{{1}}}|CREATURE_TILE|?}}<br><nowiki> |
|color=</nowiki>7:0:1<br><nowiki> | |color=</nowiki>7:0:1<br><nowiki> | ||
− | |hostile=</nowiki>{{#if:{{#df_tag | + | |hostile=</nowiki>{{#if:{{#df_tag:{{{1}}}|LARGE_PREDATOR}}|<nowiki>{{Cgr|Y}}</nowiki>|<nowiki>{{Cgr|N}}</nowiki>}}<br><nowiki> |
|food=N/A</nowiki><br><nowiki> | |food=N/A</nowiki><br><nowiki> | ||
− | |swims=</nowiki>{{#if:{{#df_tag | + | |swims=</nowiki>{{#if:{{#df_tag:{{{1}}}|SWIMS_INNATE}}|<nowiki>{{Cgr|Y}}</nowiki>|<nowiki>{{Cgr|N}}</nowiki>}}<br><nowiki> |
− | |flies=</nowiki>{{#if:{{#df_tag | + | |flies=</nowiki>{{#if:{{#df_tag:{{{1}}}|FLIER}}|<nowiki>{{Cgr|Y}}</nowiki>|<nowiki>{{Cgr|N}}</nowiki>}}<br><nowiki> |
− | |magmasafe=</nowiki>{{#iferror: {{#ifexpr: ({{#df_tagvalue | + | |magmasafe=</nowiki>{{#iferror: {{#ifexpr: ({{#df_tagvalue:{{{1}}}|IF_EXISTS_SET_MELTING_POINT|0}}) > 12000 |<nowiki>{{Cgr|Y}}</nowiki>|<nowiki>{{Cgr|N}}</nowiki>}}|<nowiki>{{Cgr|N}}</nowiki>}}<br><nowiki> |
− | |tamable=</nowiki>{{#if:{{#df_tag | + | |tamable=</nowiki>{{#if:{{#df_tag:{{{1}}}|PETVALUE}}|<nowiki>{{Cgr|Y}}</nowiki>|<nowiki>{{Cgr|N}}</nowiki>}}<br><nowiki> |
− | |trainable=</nowiki>{{#if:{{#df_tag | + | |trainable=</nowiki>{{#if:{{#df_tag:{{{1}}}|TRAINABLE}}|<nowiki>{{Cgr|Y}}</nowiki>|<nowiki>{{Cgr|N}}</nowiki>}}<br><nowiki> |
− | |biome=</nowiki>{{#df_foreachtag | + | |biome=</nowiki>{{#df_foreachtag:{{{1}}}|BIOME|<nowiki>{{bIcon|/2}}</nowiki>}} {{#iferror: {{#ifexpr: ({{#df_tag:{{{1}}}|COMMON_DOMESTIC}}) = 1 |<nowiki>{{bIcon|DOMESTIC}}</nowiki>}}|}}<br><nowiki> |
|size=N/A</nowiki><br><nowiki> | |size=N/A</nowiki><br><nowiki> | ||
− | |value={{PVm|</nowiki>{{#df_tagvalue | + | |value={{PVm|</nowiki>{{#df_tagvalue:{{{1}}}|PETVALUE|0}}<nowiki>}}}}</nowiki>}} |
{| 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;" | ||
Line 31: | Line 31: | ||
!style="border:1px #AAA solid;padding:0.2em;" colspan="2"|Pet Value | !style="border:1px #AAA solid;padding:0.2em;" colspan="2"|Pet Value | ||
|- | |- | ||
− | |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 | + | |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 | + | |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 | + | |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 | ||
− | |style="border:1px #AAA solid;padding:0.2em;text-align:center;"|{{#if:{{#df_tag | + | |style="border:1px #AAA solid;padding:0.2em;text-align:center;"|{{#if:{{#df_tag:{{{1}}}|SWIMS_INNATE}}|{{Cgr|Y}}|{{Cgr|N}}}} |
− | |style="border:1px #AAA solid;padding:0.2em;text-align:center;"|{{#if:{{#df_tag | + | |style="border:1px #AAA solid;padding:0.2em;text-align:center;"|{{#if:{{#df_tag:{{{1}}}|FLIER}}|{{Cgr|Y}}|{{Cgr|N}}}} |
− | |style="border:1px #AAA solid;padding:0.2em;text-align:center;"|{{#iferror: {{#ifexpr: ({{#df_tagvalue | + | |style="border:1px #AAA solid;padding:0.2em;text-align:center;"|{{#iferror: {{#ifexpr: ({{#df_tagvalue:{{{1}}}|IF_EXISTS_SET_MELTING_POINT|0}}) > 12000 |{{Cgr|Y}}|{{Cgr|N}}}}|{{Cgr|N}}}} |
− | |style="border:1px #AAA solid;padding:0.2em;text-align:center;"|{{#if:{{#df_tag | + | |style="border:1px #AAA solid;padding:0.2em;text-align:center;"|{{#if:{{#df_tag:{{{1}}}|PETVALUE}}|{{Cgr|Y}}|{{Cgr|N}}}} |
− | |style="border:1px #AAA solid;padding:0.2em;text-align:center;"|{{#if:{{#df_tag | + | |style="border:1px #AAA solid;padding:0.2em;text-align:center;"|{{#if:{{#df_tag:{{{1}}}|TRAINABLE}}|{{Cgr|Y}}|{{Cgr|N}}}} |
− | |style="border:1px #AAA solid;padding:0.2em;font-size: 100%;background: black;color:{{fgcolor|{{{color|2:0:0}}}}};text-align:center;"|{{#df_foreachtag | + | |style="border:1px #AAA solid;padding:0.2em;font-size: 100%;background: black;color:{{fgcolor|{{{color|2:0:0}}}}};text-align:center;"|{{#df_foreachtag:{{{1}}}|BIOME|{{bIcon|/2}}}} {{#iferror: {{#ifexpr: ({{#df_tag:{{{1}}}|COMMON_DOMESTIC}}) = 1 |{{bIcon|DOMESTIC}}}}|}} |
|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 | ||
− | |style="border:1px #AAA solid;padding:0.2em;text-align:center;"|{{#df_tagvalue | + | |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 | + | |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> | ||
Usage:<br> | Usage:<br> | ||
<pre> | <pre> | ||
− | {{RawToTable| <creature raw file | + | {{RawToTable|<single creature raw file>}}</pre> |
Ex: | Ex: | ||
− | + | '''Walrus''' | |
---- | ---- | ||
Line 83: | Line 83: | ||
[MAXAGE:20:30] | [MAXAGE:20:30] | ||
[HOMEOTHERM:10067] | [HOMEOTHERM:10067] | ||
− | [SWIMS_INNATE][SWIM_SPEED:2500] | + | [SWIMS_INNATE][SWIM_SPEED:2500]}} |
Revision as of 08:45, 10 April 2011
Usage:
{{RawToTable|<single creature raw file>}}
Ex:
Walrus
RawToTable Wizard - Copying the text below will yield the table as a result | |
{{CreatureCurrent table row| |
Symbol | Name | Hostile? | Food? | Swims? | Flies? | Magma-safe? | Tamable? | Trainable? | Biome | Adult mass (g) | Pet Value | |
---|---|---|---|---|---|---|---|---|---|---|---|---|
[[]] | N/A | ?
|
N/A | 400 |
|