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.
Editing User talk:Kaos
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 27: | Line 27: | ||
just that the template doesn't seem to accept the nested table for some reason... any ideas? | just that the template doesn't seem to accept the nested table for some reason... any ideas? | ||
− | you were right i didn't need 18 columns in the template... i was confused about how the template worked... I edited it back to 1 colors column and I have made what I want to do for the dwarves in the | + | you were right i didn't need 18 columns in the template... i was confused about how the template worked... I edited it back to 1 colors column and I have made what I want to do for the dwarves in the {{L|creature}} page, |
:I've just created a template you might find useful - {{tl|rgb|COLOR_NAME}}. --[[User:Quietust|Quietust]] 00:05, 29 March 2011 (UTC) | :I've just created a template you might find useful - {{tl|rgb|COLOR_NAME}}. --[[User:Quietust|Quietust]] 00:05, 29 March 2011 (UTC) | ||
− | + | =You read my mind!= | |
− | I got it working with nested tables as you can see in the | + | I got it working with nested tables as you can see in the {{L|creature}} page, basically I did this: |
<nowiki>{{CreatureCurrent table head}} | <nowiki>{{CreatureCurrent table head}} | ||
− | {{CreatureCurrent table row|name= | + | {{CreatureCurrent table row|name={{L|Dwarf}}|symbol=☺|color=3:0:0|hostile=No|food=No|size=60,000|value=Not tameable|biome=Fortresses|note=Trading race|colors=<span></span> |
{{{!}} | {{{!}} | ||
{{!}}- | {{!}}- | ||
Line 41: | Line 41: | ||
{{!}}} | {{!}}} | ||
}} | }} | ||
− | {{CreatureCurrent table row|name= | + | {{CreatureCurrent table row|name={{L|Elf}}|symbol=e|color=3:0:0|hostile=Variable<sup>1</sup>|food=No|size=60,000|value=Not tameable|biome=Forest retreats|note=Trading race}} |
− | {{CreatureCurrent table row|name= | + | {{CreatureCurrent table row|name={{L|Goblin}}|symbol=g|color=7:0:0|hostile=Variable<sup>1</sup>|food=No|size=60,000|value=Not tameable|biome=Dark fortresses|note=Trading race}} |
− | {{CreatureCurrent table row|name= | + | {{CreatureCurrent table row|name={{L|Human}}|symbol=U|color=3:0:0|hostile=Variable<sup>1</sup>|food=No|size=70,000|value=Not tameable|biome=Towns and cities|note=Trading race}} |
− | {{CreatureCurrent table row|name= | + | {{CreatureCurrent table row|name={{L|Kobold}}|symbol=k|color=6:0:0|hostile=Variable<sup>1</sup>|food=No|size=20,000|value=Not tameable|biome=Caves|note=Skulking race}} |
|}</nowiki> | |}</nowiki> | ||
I was thinking of making a Template with the nested table before I found how to work around the pipe selector problem I had changing "<nowiki>|</nowiki>" for "<nowiki>{{!}}</nowiki>" and adding "<nowiki><span></span></nowiki>" so it recognizes the table starting in a new line... | I was thinking of making a Template with the nested table before I found how to work around the pipe selector problem I had changing "<nowiki>|</nowiki>" for "<nowiki>{{!}}</nowiki>" and adding "<nowiki><span></span></nowiki>" so it recognizes the table starting in a new line... | ||
− | That's why I tried creating this page | + | That's why I tried creating this page {{L|Template:CreatureCurrent_table_cell_colors}} but it seems you got a better way using the descriptor file.... just that I don't seem to get it to work.... |
I tried <nowiki>{{rgb|brown}}</nowiki> and <nowiki>{{rgb|BROWN}}</nowiki> and I get this result | I tried <nowiki>{{rgb|brown}}</nowiki> and <nowiki>{{rgb|BROWN}}</nowiki> and I get this result | ||
{{rgb|brown}} | {{rgb|brown}} | ||
Line 80: | Line 80: | ||
I've reverted your recent change to Template:CreatureCurrent table row in order to make the Creatures page actually possible to load. Adding 18 {{tl|rgb}} calls to every single row was more than enough to completely overload the wiki - even with the current implementation of the rgb template, using it more than 33 times consumes the regex limit for the entire page, causing everything else to stop working. --[[User:Quietust|Quietust]] 16:57, 29 March 2011 (UTC) | I've reverted your recent change to Template:CreatureCurrent table row in order to make the Creatures page actually possible to load. Adding 18 {{tl|rgb}} calls to every single row was more than enough to completely overload the wiki - even with the current implementation of the rgb template, using it more than 33 times consumes the regex limit for the entire page, causing everything else to stop working. --[[User:Quietust|Quietust]] 16:57, 29 March 2011 (UTC) | ||
:Some further testing on a partial mirror of this wiki (running on my own web server) reveals that even if we switch to a custom extension designed solely for parsing Dwarf Fortress raws, there's simply too much information on the Creature page - after auto-populating the creature colors for the main races and animal peoples, the wiki itself '''stops parsing templates altogether''' because there are too many on the page. --[[User:Quietust|Quietust]] 18:03, 29 March 2011 (UTC) | :Some further testing on a partial mirror of this wiki (running on my own web server) reveals that even if we switch to a custom extension designed solely for parsing Dwarf Fortress raws, there's simply too much information on the Creature page - after auto-populating the creature colors for the main races and animal peoples, the wiki itself '''stops parsing templates altogether''' because there are too many on the page. --[[User:Quietust|Quietust]] 18:03, 29 March 2011 (UTC) | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |