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 Template talk:Creaturelookup/0

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 35: Line 35:
 
:I added the interwiki template to the {{tl|creaturedesc}} template instead--the interwiki links should still automatically appear on creature pages, and this template is already excessively complex.--[[User:Loci|Loci]] ([[User talk:Loci|talk]]) 20:28, 22 January 2014 (UTC)
 
:I added the interwiki template to the {{tl|creaturedesc}} template instead--the interwiki links should still automatically appear on creature pages, and this template is already excessively complex.--[[User:Loci|Loci]] ([[User talk:Loci|talk]]) 20:28, 22 January 2014 (UTC)
 
::Thanks! --[[User:Aklad|Aklad]] ([[User talk:Aklad|talk]]) 07:11, 23 January 2014 (UTC)
 
::Thanks! --[[User:Aklad|Aklad]] ([[User talk:Aklad|talk]]) 07:11, 23 January 2014 (UTC)
 
== Masterwork mod ==
 
 
Hi there,
 
I've been trying to add data to animal pages from the mod. Since the mod changed the butchered items (no spleen, sweetbread, lungs etc - but wool, pelt etc added), I was wondering whether it is possible to alter the template to adjust to those changes. I tried simply adding/deleting certain categories but the preview still shows the old ones. Any ideas?--[[User:Afghani84|Afghani84]] ([[User talk:Afghani84|talk]]) 09:40, 5 February 2014 (UTC)
 
 
:Seems to work for me. Note that the same template is used across all the pages; you should not remove things from the template itself. Simply add the necessary items to the template invocation on the specific masterwork creature page, like so:
 
 
::<nowiki>{{Creaturelookup/0
 
|fat=20-32
 
|eye=2
 
|lung=6-8
 
|heart=1-2
 
|intestine=9-13
 
|kidney=2-4
 
|brain=3-4
 
|meat=45-156
 
|tooth=1
 
|horn=2
 
|bone=40-48
 
|skin=hide
 
|skull=1
 
|contrib=yes
 
|wiki=yes
 
}}</nowiki>
 
 
:Removing those items which don't exist, and adding any other items. The results should appear correctly when you preview the creature's page. If there's a specific creature you're having trouble with, go ahead and edit it so I can see what's going wrong.--[[User:Loci|Loci]] ([[User talk:Loci|talk]]) 20:26, 5 February 2014 (UTC)
 
 
::I believe Afghani84 was looking for a way to add additional parameters. It can be done in this template (it's probably best to just pass additional parameters to {{tl|CreatureInfo Masterwork}}). I'm not sure how {{{pelt}}} and {{{wool}}} would work - it would be easiest to treat them the same way as {{{scale}}} (by passing them to {{{skin}}}), but that means they could also be used on vanilla pages where they shouldn't exist. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 20:44, 5 February 2014 (UTC)
 
 
:::Wool should already be supported--see [[sheep]]. Pelt would probably make sense as a value for skin, but I'm not familiar with the masterwork mod. It could also just be added as a separate value; it simply wouldn't be used in vanilla. --[[User:Loci|Loci]] ([[User talk:Loci|talk]]) 21:21, 5 February 2014 (UTC)
 
 
 
== Strange behavior ==
 
 
* [[Masterwork:Moose]] does not render. Possibly other pages as well?
 
 
* Masterwork creature pages have a purple background behind the creature name. (ex: [[Masterwork:Black piranha]]). Verminlookup does not have this problem (and verminlookup is the template being used for [[Masterwork:Dwarf]] for some reason. [[User:VengefulDonut|VengefulDonut]] ([[User talk:VengefulDonut|talk]]) 20:37, 25 July 2014 (UTC)
 
 
:*Since so many of the masterwork creature pages are missing anyway, I'll just assume nobody cares about getting this to work over there. [[User:VengefulDonut|VengefulDonut]] ([[User talk:VengefulDonut|talk]]) 21:37, 25 July 2014 (UTC)
 

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Please sign comments with ~~~~

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)

Templates used on this page: