Difference between revisions of "Template talk:Data"

From TheKolWiki
Jump to: navigation, search
(New page: I got this working, but it required placing a single dummy parameter in the monster template itself (This is actually something I'd thought about doing anyway), and using the #switch funct...)
 
m (done)
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
 
I've tried using the <nowiki>{{!}}</nowiki>  for template-pipes trick before, but it never seems to work the way I want it to.  :( This way at least functions, but if it's possible to get the other way to work I'd  appreciate knowing how. :)  --[[User:Starwed|Starwed]] 13:08, 18 April 2007 (CDT)
 
I've tried using the <nowiki>{{!}}</nowiki>  for template-pipes trick before, but it never seems to work the way I want it to.  :( This way at least functions, but if it's possible to get the other way to work I'd  appreciate knowing how. :)  --[[User:Starwed|Starwed]] 13:08, 18 April 2007 (CDT)
 +
*This method works much better - I wish I'd thought of it earlier. I suppose we should probably update the existing location metadata pages to add the default parameter to the end, just so this template can be used to fetch individual fields from them. It'll probably take 20 minutes or so to throw together a script for my bot once I get home tonight. --{{User:Quietust/sig}} 13:18, 18 April 2007 (CDT)
 +
 +
==Steal Accordion‎==
 +
Could we get a parameter similar to ''bounty'' for the accordion‎s which Accordion Thieves can steal with [[Steal Accordion‎]], please? --[[User:Yatsufusa|Yatsufusa]] ([[User talk:Yatsufusa|talk]]) 00:34, 1 November 2013 (UTC)
 +
*Ok, done; specify something for the 'accordion' field in the data page to have it show up. Also, for future reference, it would be better to have such discussion on [[Template talk:INFOBOX Combat|this template talk page]]. --[[User:Fig bucket|Fig bucket]] ([[User talk:Fig bucket|talk]]) 00:55, 1 November 2013 (UTC)

Latest revision as of 00:55, 1 November 2013

I got this working, but it required placing a single dummy parameter in the monster template itself (This is actually something I'd thought about doing anyway), and using the #switch function as the format. Having two dummy fields in the Data template doesn't work right with the switch template, as it seems to only look at the last field to be the default.

I've tried using the {{!}} for template-pipes trick before, but it never seems to work the way I want it to.  :( This way at least functions, but if it's possible to get the other way to work I'd appreciate knowing how. :) --Starwed 13:08, 18 April 2007 (CDT)

  • This method works much better - I wish I'd thought of it earlier. I suppose we should probably update the existing location metadata pages to add the default parameter to the end, just so this template can be used to fetch individual fields from them. It'll probably take 20 minutes or so to throw together a script for my bot once I get home tonight. --Quietust (t|c) 13:18, 18 April 2007 (CDT)

Steal Accordion‎

Could we get a parameter similar to bounty for the accordion‎s which Accordion Thieves can steal with Steal Accordion‎, please? --Yatsufusa (talk) 00:34, 1 November 2013 (UTC)

  • Ok, done; specify something for the 'accordion' field in the data page to have it show up. Also, for future reference, it would be better to have such discussion on this template talk page. --Fig bucket (talk) 00:55, 1 November 2013 (UTC)