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 "User talk:JoeClacks"
Jump to navigation
Jump to search
(+wikilink syntax) |
|||
Line 11: | Line 11: | ||
Wikicode includes a syntax shortcut for making plural links. You can use <nowiki>[[crop]]s instead of [[Crop|crops]]</nowiki>. The first letter of the link will automatically be capitalized, and any text directly after the link will be appended as part of the linked text (so <nowiki>[[crop]]land</nowiki> works too).--[[User:Loci|Loci]] ([[User talk:Loci|talk]]) 19:25, 11 July 2014 (UTC) | Wikicode includes a syntax shortcut for making plural links. You can use <nowiki>[[crop]]s instead of [[Crop|crops]]</nowiki>. The first letter of the link will automatically be capitalized, and any text directly after the link will be appended as part of the linked text (so <nowiki>[[crop]]land</nowiki> works too).--[[User:Loci|Loci]] ([[User talk:Loci|talk]]) 19:25, 11 July 2014 (UTC) | ||
+ | |||
+ | : Good to know, thank you [[User:JoeClacks|JoeClacks]] ([[User talk:JoeClacks|talk]]) 19:39, 11 July 2014 (UTC) |
Latest revision as of 19:39, 11 July 2014
Lookup/1[edit]
Just so you know, the existing lookup templates are named such that "/0" just does an automatic lookup based on the page name, so naming the new templates "/1" sort of breaks the convention. The proper solution would be to edit "plantlookup/0" and have it use a different version of "plantlookup/aux" for newer versions (as is done with creaturelookup/0). --Quietust (talk) 21:52, 10 July 2014 (UTC)
- Sorry, thought it was some sort of versioning and I wanted to avoid touching the old templates - how would you suggesting implementing this? JoeClacks (talk) 21:56, 10 July 2014 (UTC)
- It's not your fault. This undocumented "convention" is entirely unnecessary (the wiki code can do an automatic lookup by page name if no parameter is provided in a single template). When I was editing {{creaturelookup/0}} I consolidated the {{creaturelookup/aux}} template into the /0 template (I would've preferred to move the combined template to {{creaturelookup}}, but that would've required editing every creature page.) Dividing the function into multiple templates just makes things more confusing and results in excessive parameter passing. In my option, {{plantlookup}} is the proper name for a template that looks up plants.--Loci (talk) 23:04, 10 July 2014 (UTC)
Wikilink syntax[edit]
Wikicode includes a syntax shortcut for making plural links. You can use [[crop]]s instead of [[Crop|crops]]. The first letter of the link will automatically be capitalized, and any text directly after the link will be appended as part of the linked text (so [[crop]]land works too).--Loci (talk) 19:25, 11 July 2014 (UTC)