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 talk:Plantlookup/aux"
Jump to navigation
Jump to search
(update) |
(→Wiki links: upd) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
::::First pass includes details on fruit. Plants with edible leaves and seeds are not yet indicated as such. I added this functionality to [[Template:Plantlookup/DF2014]] instead of this template to avoid changing prior versions.--[[User:Loci|Loci]] ([[User talk:Loci|talk]]) 21:33, 2 February 2015 (UTC) | ::::First pass includes details on fruit. Plants with edible leaves and seeds are not yet indicated as such. I added this functionality to [[Template:Plantlookup/DF2014]] instead of this template to avoid changing prior versions.--[[User:Loci|Loci]] ([[User talk:Loci|talk]]) 21:33, 2 February 2015 (UTC) | ||
+ | :::::Updated for leaves, flowers, pods & seeds. I think that's all the current plant growths.--[[User:Loci|Loci]] ([[User talk:Loci|talk]]) 21:37, 3 February 2015 (UTC) | ||
+ | |||
+ | == Wiki links == | ||
+ | |||
+ | Grasslookup and Treelookup templates are linking to Wikipedia's articles correctly, but other plants aren't, even though it ''looks'' like they should. Any thoughts? --[[User:Button|Button]] ([[User talk:Button|talk]]) 23:00, 12 February 2015 (UTC) | ||
+ | |||
+ | :I assume you're referring to the fact wikilinks aren't automatically included by the plantlookup template. For a bit of history, back in v0.34 Toady added "man" and "giant" versions of most of the creatures. That meant roughly 2 of every 3 creatures didn't exist in wikipedia. I [http://dwarffortresswiki.org/index.php?title=Template:CreatureInfo_v0.34&diff=179905&oldid=179904 inverted the wikipedia logic] so that only pages with a positive wikipedia parameter would show the link. That code [http://dwarffortresswiki.org/index.php?title=Template:Crop&diff=211187&oldid=208404 got copied over for plants]. The plantlookup template does supply a wikipedia link if given the appropriate parameter (see [[cotton]] for instance). That being said, since plants are now predominantly real-world and I've separated the plantlookup code for the new version, the logic really should be inverted back to automatically add the links for plants (like trees and grasses do), with all the imaginary plants edited to exclude the wikilink.--[[User:Loci|Loci]] ([[User talk:Loci|talk]]) 21:30, 13 February 2015 (UTC) | ||
+ | ::Done.--[[User:Loci|Loci]] ([[User talk:Loci|talk]]) 21:36, 16 February 2015 (UTC) |
Latest revision as of 21:36, 16 February 2015
Does this template need to be updated? it doesn't seem to be handling the new aboveground crops with fruit properly. see Eggplant, which is being listed as "Edible: No". MisterB777 (talk) 19:03, 24 January 2015 (UTC)
- I assume that "Edible: No" refers to the plant, rather than the fruit (i.e. what's present in the raws). —Lethosor (talk) 23:30, 24 January 2015 (UTC)
- I would assume so as well. However, that's not terribly useful now that the majority of plants' raws aren't structured in a way where the edible bits are the whole plant. I guess what I'm saying is the template no longer represents useful information because it is ignoring the new plant structures. No one really cares if the entire plant is edible if there are multiple parts that are and, instead, it just seems to indicate that nothing about the plant is edible (which is untrue). Unfortunately, I'm no good at templates, or i might try to make it clearer. MisterB777 (talk) 07:57, 25 January 2015 (UTC)
- First pass includes details on fruit. Plants with edible leaves and seeds are not yet indicated as such. I added this functionality to Template:Plantlookup/DF2014 instead of this template to avoid changing prior versions.--Loci (talk) 21:33, 2 February 2015 (UTC)
Wiki links[edit]
Grasslookup and Treelookup templates are linking to Wikipedia's articles correctly, but other plants aren't, even though it looks like they should. Any thoughts? --Button (talk) 23:00, 12 February 2015 (UTC)
- I assume you're referring to the fact wikilinks aren't automatically included by the plantlookup template. For a bit of history, back in v0.34 Toady added "man" and "giant" versions of most of the creatures. That meant roughly 2 of every 3 creatures didn't exist in wikipedia. I inverted the wikipedia logic so that only pages with a positive wikipedia parameter would show the link. That code got copied over for plants. The plantlookup template does supply a wikipedia link if given the appropriate parameter (see cotton for instance). That being said, since plants are now predominantly real-world and I've separated the plantlookup code for the new version, the logic really should be inverted back to automatically add the links for plants (like trees and grasses do), with all the imaginary plants edited to exclude the wikilink.--Loci (talk) 21:30, 13 February 2015 (UTC)